pub.solar wiki:Main Page/services.css: Difference between revisions

From pub.solar wiki
fix narrow screen
m remove flex-grow
 
Line 12: Line 12:
   background-color: #eee;
   background-color: #eee;
   margin: 0.5em;
   margin: 0.5em;
}
#mainpage-services div {
  flex-grow: 1;
}
}
#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;
}