css: Use SCSS nesting for `.screen .top`.

This commit is contained in:
SiddharthVarshney 2020-07-13 07:28:53 +05:30 committed by Tim Abbott
parent 2d8391608f
commit 605431d187
1 changed files with 16 additions and 14 deletions

View File

@ -1083,24 +1083,26 @@ nav {
}
}
.screen .top .avatar {
display: inline-block;
vertical-align: top;
.screen .top {
.avatar {
display: inline-block;
vertical-align: top;
width: 20px;
height: 20px;
background-color: hsl(0, 0%, 73%);
border-radius: 4px;
}
width: 20px;
height: 20px;
background-color: hsl(0, 0%, 73%);
border-radius: 4px;
}
.screen .top .top-line {
display: inline-block;
vertical-align: top;
.top-line {
display: inline-block;
vertical-align: top;
width: 50px;
margin-top: 0px;
width: 50px;
margin-top: 0px;
background-color: hsl(0, 0%, 73%);
background-color: hsl(0, 0%, 73%);
}
}
.screen .navbar {