Jump to content

Template:Emotes.css: Difference between revisions

From Joepedia
No edit summary
No edit summary
Line 1: Line 1:
.emotes {
.emotes {
   font-size: 1.5em;
   font-size: 1.5em;
  line-height: 1.8em;
   columns: 3;
   columns: 3;
   list-style: none;
   list-style: none;
Line 9: Line 8:
   grid-template-columns: repeat(auto-fill, 9em);
   grid-template-columns: repeat(auto-fill, 9em);
   justify-content: center;
   justify-content: center;
  gap: 0.5em;
}
.emotes > li {
background-color: #ccc1;
}
}



Revision as of 20:31, 14 February 2025

.emotes {
  font-size: 1.5em;
  columns: 3;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, 9em);
  justify-content: center;
  gap: 0.5em;
}

.emotes > li {
	background-color: #ccc1;
}

@media (max-width: 30em) {
	.emotes {
	  font-size: 1em;
	}
}

@media (min-width: 60em) {
	.emotes {
	  font-size: 1.75em;
	}
}