mirror of
https://github.com/mgrove36/bbc-young-reporter.git
synced 2026-03-03 03:17:07 +00:00
Add list group for each year of articles on the navbar
This commit is contained in:
@@ -18,6 +18,11 @@ a {
|
||||
color: var(--mdc-theme-secondary);
|
||||
}
|
||||
|
||||
.mdc-list-group h3 {
|
||||
margin: 20px 16px auto 16px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.mdc-drawer-app-content {
|
||||
flex: auto;
|
||||
overflow: auto;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
clear:left;
|
||||
width: 49%;
|
||||
}
|
||||
.main-content .mdc-card:nth-of-type(4n){
|
||||
.main-content .mdc-card:nth-of-type(even){
|
||||
float:right;
|
||||
clear:right;
|
||||
}
|
||||
@@ -23,3 +23,8 @@
|
||||
clear: none;
|
||||
width: auto;
|
||||
}
|
||||
.main-content .mdc-card:nth-of-type(odd) ~ .mdc-card:last-of-type {
|
||||
float: none;
|
||||
clear: both;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user