Difference between revisions of "Main Page/styles.css"

From Forge Community Wiki
m (Protected "Main Page/styles.css": High traffic page ([Edit=Allow only moderators and administrators] (indefinite) [Move=Allow only moderators and administrators] (indefinite)))
(make links in boxes more visually separate, pt. 1)
Line 44: Line 44:
 
.box h1, .box h2, .box h3 {
 
.box h1, .box h2, .box h3 {
 
   margin-top: 0
 
   margin-top: 0
 +
}
 +
 +
.box ul {
 +
  list-style-type: none;
 +
  margin-left: 0;
 +
}
 +
 +
.box ul li {
 +
  line-height: 1.3em;
 +
  margin-top: 0.45em;
 
}
 
}

Revision as of 12:19, 24 December 2020

.center {
  text-align: center;
}

.title {
  font-weight: 900;
  font-size: 3em;
  line-height: 1.2em;
  color: #e0a969;
}

.round_warning {
  font-weight: 700;
  width: 60%;
  border-radius: 1em;
  margin: auto;
  margin-top: 1em;
  background-color: #fefefe;
  color: #222;
  height: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25em;
}

.round_warning p {
  margin-top: 0;
}

.box_container {
  display: flex;
  flex-flow: row wrap;
}

.box {
  flex: 1 1 12em;
  padding: 1em;
  border: solid;
  border-radius: 1em;
  margin: 0.5em;
}

.box h1, .box h2, .box h3 {
  margin-top: 0
}

.box ul {
  list-style-type: none;
  margin-left: 0;
}

.box ul li {
  line-height: 1.3em;
  margin-top: 0.45em;
}