Kawiarnia header
This commit is contained in:
parent
e72c601be0
commit
24c4c89557
8 changed files with 229 additions and 26 deletions
18
base.css
18
base.css
|
|
@ -14,6 +14,7 @@
|
|||
--on-secondary-container: #4c5e3e;
|
||||
--on-surface: #363227;
|
||||
--outline-variant: #b9b1a3;
|
||||
--on-surface-variant: #645f52;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
@ -23,35 +24,36 @@ body {
|
|||
}
|
||||
|
||||
|
||||
h1, h2, h3, h4{
|
||||
h1, h2, h3, h4 {
|
||||
margin: 0;
|
||||
font-family: serif;
|
||||
font-family: serif;
|
||||
color: var(--on-background);
|
||||
|
||||
& > span {
|
||||
font-style: italic;
|
||||
color: var(--primary);
|
||||
}
|
||||
}
|
||||
|
||||
h1{
|
||||
h1 {
|
||||
font-size: 4rem;
|
||||
line-height: 3.5rem;
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
h2{
|
||||
h2 {
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
h3{
|
||||
h3 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
h4{
|
||||
h4 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
h5{
|
||||
h5 {
|
||||
font-size: 0.8rem;
|
||||
|
||||
}
|
||||
|
|
@ -64,7 +66,7 @@ p {
|
|||
section, nav, footer {
|
||||
padding: 8rem 2rem;
|
||||
|
||||
& > div:only-child, &:not(:has(>div:only-child)){
|
||||
& > div:only-child, &:not(:has(>div:only-child)) {
|
||||
max-width: var(--max-content-width);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue