More actions
mNo edit summary |
m Add space to wrapped lines |
||
(26 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
#container { | #container { | ||
display: flex; | display: flex; | ||
justify-content: | justify-content: center; | ||
flex-wrap: wrap; | |||
} | } | ||
.item { | |||
background-color: | background-color: #191A24; | ||
border: 2px #252736 solid; | |||
border-radius: 0.68rem; | border-radius: 0.68rem; | ||
padding: 1rem; | width: 12rem; | ||
text-align: center; | |||
padding-top: 1rem; | |||
padding-bottom: 1rem; | |||
margin-left: 0.32rem; | |||
margin-right: 0.32rem; | |||
margin-top: 0.68rem; | |||
background-size: cover !important; | |||
background-position: 50% 50% !important; | |||
min-width: 10rem; | |||
} | } | ||
.heading { | |||
margin-top: 0rem; /* Once again overwriting the top margin on headings */ | margin-top: 0rem; /* Once again overwriting the top margin on headings */ | ||
color: black; | |||
} | } | ||
/* Maybe... | |||
#map { | |||
background: url("https://tonexum.org/wiki/images/7/7c/background-map.png"); | |||
} | |||
#pol { | |||
background: url("https://tonexum.org/wiki/images/0/0e/background-politics.jpg"); | |||
} | |||
#eco { | |||
background: url("https://tonexum.org/wiki/images/a/a4/background-economy.jpg"); | |||
} | |||
#hist { | |||
background: url("https://tonexum.org/wiki/images/9/91/background-history.jpg"); | |||
} | |||
#lands { | |||
background: url("https://tonexum.org/wiki/images/f/f6/background-lands.jpg"); | |||
} | |||
*/ |
Latest revision as of 20:00, 8 April 2025
#container {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.item {
background-color: #191A24;
border: 2px #252736 solid;
border-radius: 0.68rem;
width: 12rem;
text-align: center;
padding-top: 1rem;
padding-bottom: 1rem;
margin-left: 0.32rem;
margin-right: 0.32rem;
margin-top: 0.68rem;
background-size: cover !important;
background-position: 50% 50% !important;
min-width: 10rem;
}
.heading {
margin-top: 0rem; /* Once again overwriting the top margin on headings */
color: black;
}
/* Maybe...
#map {
background: url("https://tonexum.org/wiki/images/7/7c/background-map.png");
}
#pol {
background: url("https://tonexum.org/wiki/images/0/0e/background-politics.jpg");
}
#eco {
background: url("https://tonexum.org/wiki/images/a/a4/background-economy.jpg");
}
#hist {
background: url("https://tonexum.org/wiki/images/9/91/background-history.jpg");
}
#lands {
background: url("https://tonexum.org/wiki/images/f/f6/background-lands.jpg");
}
*/