From bd3d9adfabb45a8c37ac93319179f6fe79dc581f Mon Sep 17 00:00:00 2001 From: Thomas JUND Date: Wed, 13 Jan 2021 12:34:56 +0100 Subject: [PATCH] templates: introduce .column instead #left & #right (#48515) --- static/rouen/_custom.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/rouen/_custom.scss b/static/rouen/_custom.scss index 6066dd2..b4af543 100644 --- a/static/rouen/_custom.scss +++ b/static/rouen/_custom.scss @@ -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;