moved section to components.css
This commit is contained in:
parent
cf82daf9a7
commit
d3cf01e938
3 changed files with 6 additions and 7 deletions
|
|
@ -36,4 +36,9 @@ h2{
|
||||||
p {
|
p {
|
||||||
color: var(--on-background);
|
color: var(--on-background);
|
||||||
line-height: 1.5rem;
|
line-height: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
padding: 1rem 2rem;
|
||||||
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
<meta name="description" content="" />
|
<meta name="description" content="" />
|
||||||
<link href="normalize.css" rel="stylesheet">
|
<link href="normalize.css" rel="stylesheet">
|
||||||
<link href="style.css" rel="stylesheet" />
|
<link href="style.css" rel="stylesheet" />
|
||||||
<link rel="icon" href="srcaped/174394.png">
|
<link rel="icon" href="scraped/174394.png">
|
||||||
<script src="https://livejs.com/live.js" defer></script>
|
<script src="https://livejs.com/live.js" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
/* positioning and look */
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 50;
|
z-index: 50;
|
||||||
|
|
@ -55,11 +54,6 @@ nav > div {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
section {
|
|
||||||
padding: 1rem 2rem;
|
|
||||||
margin: 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
max-width: var(--max-content-width);
|
max-width: var(--max-content-width);
|
||||||
height: calc(100vh - var(--nav-height) - 2rem);
|
height: calc(100vh - var(--nav-height) - 2rem);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue