mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-08-10 04:52:44 +02:00
adjust brand styles; adjust homepage structure
This commit is contained in:
parent
2587e4bb28
commit
d77a621536
7 changed files with 35 additions and 64 deletions
assets/scss
|
@ -4,23 +4,15 @@ header.brand {
|
|||
|
||||
/* Main brand title */
|
||||
header.brand h1 {
|
||||
margin: 0;
|
||||
margin: 0 0 0.5em 0;
|
||||
font-weight: 400;
|
||||
color: rgba(65, 70, 75, 1);
|
||||
font-size: 3em;
|
||||
}
|
||||
|
||||
header.brand h2 {
|
||||
margin: 0;
|
||||
padding-top: 0rem;
|
||||
/*font-style: normal;*/
|
||||
/*font-weight: 200;*/
|
||||
color: rgba(100, 105, 110, 1);
|
||||
margin: 1rem 0;
|
||||
}
|
||||
|
||||
header.brand hr {
|
||||
text-align: left;
|
||||
margin-left: 0;
|
||||
width: 75%;
|
||||
border-color: rgba(250, 250, 250, 0.25);
|
||||
// border-color: rgb(152, 152, 146);
|
||||
}
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
nav.menu {
|
||||
margin: 1.4rem 0;
|
||||
}
|
||||
|
||||
nav.menu ul {
|
||||
list-style: none;
|
||||
display: block;
|
||||
/*text-align:center;*/
|
||||
margin-top: 0.75rem;
|
||||
padding: 0;
|
||||
max-width: 45rem;
|
||||
/* Width is the same as tufte.css body */
|
||||
font-size: 0.9rem;
|
||||
font-size: 1.2rem;
|
||||
width: 87.5%;
|
||||
}
|
||||
|
||||
|
@ -18,8 +19,6 @@ nav.menu li {
|
|||
|
||||
nav.menu li a {
|
||||
text-decoration: none;
|
||||
background: transparent;
|
||||
color: rgba(65, 70, 75, 1);
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
@ -27,6 +26,5 @@ nav.menu li a {
|
|||
nav.menu li a:hover,
|
||||
nav.menu li a:active,
|
||||
nav.menu li a:focus {
|
||||
background: inherit;
|
||||
color: darkgray;
|
||||
}
|
||||
// background: inherit;
|
||||
}
|
||||
|
|
4
assets/scss/vendor/tufte.scss
vendored
4
assets/scss/vendor/tufte.scss
vendored
|
@ -130,6 +130,10 @@ section {
|
|||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
section.page-list .content-title:first-child {
|
||||
margin-top: 1.4rem;
|
||||
}
|
||||
|
||||
p,
|
||||
ol,
|
||||
ul {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue