Commit c5bba80e authored by ludi's avatar ludi
Browse files

css print nth-child(5n+1):nth-child(even)

parent 47260947
......@@ -141,10 +141,10 @@ article#art7 {
background-size: contain;
}
article#art8 {
/*article#art8 {
background-color:var(--color-blue);
color:var(--color-white);
}
}*/
article#art29 {
border: none;
......@@ -157,11 +157,6 @@ article#art28 h1 {
margin:21px 0px 0px 35px;
}
/*article h1:parent {
background-color:var(--color-blue);
}*/
article#art32 {
border: none;
background-image: url("../img/phylactery-02.svg");
......@@ -229,12 +224,22 @@ img[alt=bottom]{
.row {
page-break-inside: avoid;
display: flex;
}
}
.row:nth-of-type(2n) article:first-of-type{
flex-grow: 1;
flex-shrink: 5;
flex-basis:10%;
/*background-color:var(--color-blue);
color:var(--color-white);*/
}
article {
.row:nth-child(5n+1):nth-child(even) article:nth-of-type(2){
background-color:var(--color-pink);
/*color:var(--color-white);*/
flex-grow: 1;
flex-shrink: 2;
flex-basis:60%;
}
/* article { */
/* page-break-before: always; */
/* } */
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment