Edit general style
This commit is contained in:
parent
e5f5b543c6
commit
35351bc709
3 changed files with 35 additions and 45 deletions
|
@ -12,7 +12,7 @@
|
|||
body {
|
||||
font-family: var(--text-font-family);
|
||||
font-size: var(--text-font-size);
|
||||
line-height: normal;
|
||||
line-height: var(--text-line-height);
|
||||
color: var(--black);
|
||||
background-color: var(--white);
|
||||
}
|
||||
|
@ -20,17 +20,20 @@ body {
|
|||
h1 {
|
||||
font-family: var(--title-font-family);
|
||||
font-size: var(--h1-font-size);
|
||||
line-height: var(--h1-line-height);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-family: var(--text-font-family);
|
||||
font-size: var(--h2-font-size);
|
||||
line-height: var(--h2-line-height);
|
||||
margin: 0 0 4rem 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-family: var(--text-font-family);
|
||||
font-size: var(--h3-font-size);
|
||||
line-height: var(--h3-line-height);
|
||||
margin: 2rem 0 1rem 0;
|
||||
}
|
||||
|
||||
|
@ -84,46 +87,34 @@ body {
|
|||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
max-width: calc(15vw + var(--header-bar-horizontal-padding) * 2);
|
||||
padding: var(--header-bar-vertical-padding) var(--header-bar-horizontal-padding);
|
||||
overflow-y: auto;
|
||||
background-color: transparent;
|
||||
transition:
|
||||
max-width 400ms ease-in-out,
|
||||
background-color 400ms ease-in-out;
|
||||
transition: background-color 400ms ease-in-out;
|
||||
|
||||
.header-bar__nav {
|
||||
|
||||
.header-bar__nav-item {
|
||||
|
||||
+ .header-bar__nav-item {
|
||||
margin-top: 0.5rem;
|
||||
margin: 0.75rem 0 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
width: 15vw;
|
||||
overflow-x: hidden;
|
||||
color: var(--transparent-black);
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
transition:
|
||||
width 400ms ease-in-out,
|
||||
color 400ms ease-in-out;
|
||||
transition: color 400ms ease-in-out;
|
||||
}
|
||||
}
|
||||
|
||||
.header-bar__social {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 2rem;
|
||||
margin: 1rem 0 0 0;
|
||||
|
||||
a {
|
||||
width: var(--icon-size);
|
||||
height: var(--icon-size);
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -143,12 +134,10 @@ body {
|
|||
|
||||
&:hover {
|
||||
background-color: var(--transparent-white);
|
||||
max-width: 100vw;
|
||||
|
||||
.header-bar__nav {
|
||||
|
||||
a {
|
||||
/*width: 100%;*/
|
||||
color: var(--black);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue