1
0
Fork 0
forked from mirrors/hugo-tufte

adjust subtitle html; remove redundant style

This commit is contained in:
loikein 2023-04-23 19:55:52 +01:00
commit 95a0068d52
9 changed files with 52 additions and 74 deletions
assets/scss/components

View file

@ -0,0 +1,4 @@
.brand {
padding-top: 1rem;
padding-bottom: 1rem;
}

View file

@ -1,18 +0,0 @@
header.brand {
margin-top: 0.5em;
}
/* Main brand title */
header.brand h1 {
margin: 0 0 0.5em 0;
font-weight: 400;
font-size: 3em;
}
header.brand h2 {
margin: 1rem 0;
}
header.brand hr {
// border-color: rgb(152, 152, 146);
}

View file

@ -1,8 +1,8 @@
nav.menu {
.menu {
margin: 1.4rem 0;
}
nav.menu ul {
.menu ul {
list-style: none;
display: block;
padding: 0;
@ -12,19 +12,13 @@ nav.menu ul {
width: 87.5%;
}
nav.menu li {
.menu li {
display: inline-block;
margin-right: 1rem;
}
nav.menu li a {
.menu li a {
text-decoration: none;
letter-spacing: 0.05em;
text-transform: uppercase;
}
nav.menu li a:hover,
nav.menu li a:active,
nav.menu li a:focus {
// background: inherit;
}