pub.solar wiki:Main Page/services.css: Difference between revisions
Appearance
Piscimisty (talk | contribs) rudimentary CSS for the services |
Piscimisty (talk | contribs) m remove flex-grow |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
list-style: none; | list-style: none; | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | |||
} | } | ||
#mainpage-services li { | #mainpage-services li { | ||
width: 25%; | width: 25%; | ||
min-width: 15em; | |||
max-width: 20em; | |||
display: flex; | display: flex; | ||
padding: 0.5em; | padding: 0.5em; | ||
background-color: #eee; | background-color: #eee; | ||
margin: 0.5em; | margin: 0.5em; | ||
} | } | ||
#mainpage-services li > div:first-child { | #mainpage-services li > div:first-child { | ||
Latest revision as of 15:37, 9 January 2024
#mainpage-services {
list-style: none;
display: flex;
flex-wrap: wrap;
}
#mainpage-services li {
width: 25%;
min-width: 15em;
max-width: 20em;
display: flex;
padding: 0.5em;
background-color: #eee;
margin: 0.5em;
}
#mainpage-services li > div:first-child {
font-size: 2em;
margin-right: 1em;
}
#mainpage-services a {
font-weight: bold;
}