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