mirror of
https://github.com/janishutz/fundamentals-of-webengineering.git
synced 2025-11-25 13:54:25 +00:00
Add scaffold of first assignment
This commit is contained in:
46
task_1_html_css/src/layout.css
Normal file
46
task_1_html_css/src/layout.css
Normal file
@@ -0,0 +1,46 @@
|
||||
:root {
|
||||
}
|
||||
|
||||
body {
|
||||
overflow: hidden;
|
||||
color: black;
|
||||
}
|
||||
|
||||
body > section {
|
||||
border-right: 1px solid var(--border-color);
|
||||
|
||||
& ul {
|
||||
list-style-type: none;
|
||||
padding-inline-start: 0;
|
||||
|
||||
& li > a {
|
||||
color: #999;
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
}
|
||||
& li > a:hover {
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body > header {
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
|
||||
& h1 {
|
||||
font-size: 1.75rem;
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
}
|
||||
}
|
||||
|
||||
body > main {
|
||||
grid-area: main;
|
||||
height: calc(100vh - 100px);
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
body > footer {
|
||||
border-top: 1px solid var(--border-color);
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
Reference in New Issue
Block a user