Template
News header/styles.css
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
p { | p { | ||
margin: 1rem 15%; | |||
/*display:grid; | /*display:grid; | ||
grid-template-columns: 1fr 1fr;*/ | grid-template-columns: 1fr 1fr;*/ | ||
Line 15: | Line 15: | ||
text-align: justify; | text-align: justify; | ||
column-count: 2; | column-count: 2; | ||
} | |||
div.tleft, div.floatleft { | |||
margin: 0 0 0 15%; | |||
} | |||
div.tright, div.floatright { | |||
margin: 0 15% 0 0; | |||
} | } | ||
Line 34: | Line 42: | ||
@media screen and (max-width: 450px) { | @media screen and (max-width: 450px) { | ||
p { | p { | ||
margin: 1rem 0; | |||
} | } | ||
h1,h2,h3,h4 { | h1,h2,h3,h4 { |
Revision as of 15:11, 25 January 2024
p {
margin: 1rem 15%;
/*display:grid;
grid-template-columns: 1fr 1fr;*/
column-gap: 1rem;
text-align: justify;
column-count: 2;
}
div:not([class*="thumb"]):not([class*="float"]):not([class="center"]) {
margin: 1rem 15%;
/*display:grid;
grid-template-columns: 1fr 1fr;*/
column-gap: 1rem;
text-align: justify;
column-count: 2;
}
div.tleft, div.floatleft {
margin: 0 0 0 15%;
}
div.tright, div.floatright {
margin: 0 15% 0 0;
}
h1,h2,h3,h4 {
padding: 1rem 15%;
text-align: center;
}
hr {
margin: 0 15%;
}
@media screen and (max-width: 1000px) {
p {
column-count: 1;
}
}
@media screen and (max-width: 450px) {
p {
margin: 1rem 0;
}
h1,h2,h3,h4 {
padding: 1rem 0;
}
hr {
margin: 0;
}
}
This page was last modified on 25 January 2024, at 15:11. (9 months ago)