Skip to content

Instantly share code, notes, and snippets.

@flymke
Last active November 28, 2020 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flymke/829326e37c33f3c95517e02af6a2054e to your computer and use it in GitHub Desktop.
Save flymke/829326e37c33f3c95517e02af6a2054e to your computer and use it in GitHub Desktop.
SantaPress - Custom CSS - https://santapress.halloecho.de
/* disable Santa hat */
.santapress-post.modal:before { display:none; }
/* disable snow */
.santapress-post.modal:after { display:none; }
/* make 4 doors in a row */
@media only screen and (min-width: 768px) {
.santapress-container .santapress-door {
width: 25% !important;
flex: 1 0 25% !important;
}
}
/* make 4 doors in a row without stretching the last element */
@media only screen and (min-width: 768px) {
.santapress-container .santapress-door {
width: 25% !important;
flex: none !important;
}
}
/* make 2 doors in a row */
@media only screen and (min-width: 768px) {
.santapress-container .santapress-door {
width: 50% !important;
flex: 1 0 50% !important;
}
}
/* change background and remove border from modal */
.santapress-post.modal {
background:green !important;
border: 0 !importan;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment