templates: introduce .column instead #left & #right (#48515)
parent
97e7505829
commit
bd3d9adfab
|
@ -547,7 +547,7 @@ body.page-index #columns {
|
|||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
#left, #right {
|
||||
.column {
|
||||
float: none;
|
||||
width: inherit;
|
||||
}
|
||||
|
@ -564,7 +564,7 @@ body.page-index #columns {
|
|||
|
||||
.description, .intro { display: none; }
|
||||
|
||||
#left .cell:nth-child(2n), #right .cell:nth-child(2n+1) {
|
||||
.column:first-child .cell:nth-child(2n), .column:last-child .cell:nth-child(2n+1) {
|
||||
h2 { background-color: #F4A7AA; }
|
||||
a {
|
||||
background-color: #FCE4E5;
|
||||
|
@ -573,7 +573,7 @@ body.page-index #columns {
|
|||
li.required-authentication a::after { color: #c64a59; }
|
||||
}
|
||||
|
||||
#left .cell:nth-child(2n+1), #right .cell:nth-child(2n) {
|
||||
.column:first-child .cell:nth-child(2n+1), .column:last-child .cell:nth-child(2n) {
|
||||
h2 { background-color: #82cebb; }
|
||||
a {
|
||||
background-color: #D8F0EA;
|
||||
|
|
Reference in New Issue