Skip to content

Instantly share code, notes, and snippets.

@quietcactus
Last active June 13, 2025 15:35
Show Gist options
  • Select an option

  • Save quietcactus/368e721cbcd42dba7a5918d6d3080b43 to your computer and use it in GitHub Desktop.

Select an option

Save quietcactus/368e721cbcd42dba7a5918d6d3080b43 to your computer and use it in GitHub Desktop.
Utility Classes
*:focus-visible {
outline: auto;
}
img {
height: auto;
max-width: 100%;
display: block;
}
.lazy-img {
height: auto;
max-width: 100%;
}
.lazy-bg {
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
.no-repeat {
background-repeat: no-repeat;
}
.background-cover {
background-position: cover;
}
.center-mobile {
text-align: center;
}
.block {
display: block;
}
.inline-block {
display: inline-block;
}
.home .content {
padding: 0;
margin: 0;
width: auto;
}
@media screen and (min-width: 1025px) {
.flexed {
display: -webkit-flex;
display: -moz-flex;
display: -o-flex;
display: flex;
grid-gap: 70px;
gap: 70px;
}
}
.row::before,
.row::after {
display: none !important;
}
.italic {
font-style: italic;
}
ul.has-before li,
.content li {
font-size: 1rem;
color: var(--color-body-text);
padding: 0 0 0 20px;
position: relative;
}
.content ul li::before,
ul.has-before li::before {
position: absolute;
left: 0;
content: "\f105";
color: var(--color-secondary);
}
ul.has-before li::before,
.content ul li::before,
.sidebar section ul li::before {
font-family: "Font Awesome 6 Pro";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment