Fix title and menu styling
Menus were not properly aligned after the shift in line-height, and titles would get really small.
This commit is contained in:
@@ -18,6 +18,7 @@ article > .title {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
letter-spacing: 0.05ch;
|
letter-spacing: 0.05ch;
|
||||||
|
line-height: 1.25em;
|
||||||
background: $theme-article-title-background;
|
background: $theme-article-title-background;
|
||||||
color: $theme-article-title-color;
|
color: $theme-article-title-color;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,6 +73,8 @@ body {
|
|||||||
|
|
||||||
// Font
|
// Font
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
line-height: 1.5em;
|
||||||
|
word-spacing: 0.05em;
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: "Roboto", sans-serif;
|
||||||
text-rendering: optimizelegibility;
|
text-rendering: optimizelegibility;
|
||||||
color: $theme-content-color;
|
color: $theme-content-color;
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
text-align: start;
|
text-align: start;
|
||||||
line-height: 1.5em;
|
|
||||||
word-spacing: 0.05em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.block + .block {
|
.block + .block {
|
||||||
|
|||||||
+4
-2
@@ -178,6 +178,7 @@
|
|||||||
|
|
||||||
#navigation .menu > .entry {
|
#navigation .menu > .entry {
|
||||||
/* Menu - Entry Style */
|
/* Menu - Entry Style */
|
||||||
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -230,7 +231,8 @@
|
|||||||
#navigation .has-menu > .menu > .has-menu > .menu {
|
#navigation .has-menu > .menu > .has-menu > .menu {
|
||||||
/* Menu - Sub-Menu in Sub-Menu */
|
/* Menu - Sub-Menu in Sub-Menu */
|
||||||
left: calc(100% - .5em);
|
left: calc(100% - .5em);
|
||||||
margin-top: -2.75em;
|
top: 0;
|
||||||
|
margin-top: -.25em;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -254,7 +256,7 @@
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
#navigation > .menu > .has-menu > .menu {
|
#navigation > .menu > .has-menu > .menu {
|
||||||
top: 2.0em;
|
top: 3.0em;
|
||||||
}
|
}
|
||||||
#navigation > .menu > .entry > .item {
|
#navigation > .menu > .entry > .item {
|
||||||
padding: .5em .25em;
|
padding: .5em .25em;
|
||||||
|
|||||||
Reference in New Issue
Block a user