mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
css: Use SCSS nesting for .help .sidebar h1.
This commit is contained in:
committed by
Tim Abbott
parent
42956cde19
commit
e609561ed4
@@ -168,19 +168,17 @@ html {
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
border-bottom: 1px solid hsla(0, 0, 100%, .6);
|
border-bottom: 1px solid hsla(0, 0, 100%, .6);
|
||||||
}
|
|
||||||
|
|
||||||
.help .sidebar h1:not(:first-of-type) {
|
&:not(:first-of-type) {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help .sidebar h1:first-of-type,
|
&:first-of-type,
|
||||||
.help .sidebar h1.home-link {
|
&.home-link {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.home-link {
|
||||||
.help .sidebar h1.home-link {
|
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
margin-bottom: 17px;
|
margin-bottom: 17px;
|
||||||
|
|
||||||
@@ -194,6 +192,12 @@ html {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: inherit;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.help .sidebar h2 {
|
.help .sidebar h2 {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
@@ -238,8 +242,7 @@ html {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help .sidebar li a,
|
.help .sidebar li a {
|
||||||
.help .sidebar h1 a {
|
|
||||||
color: inherit;
|
color: inherit;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user