Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
/*
Theme name: Instruments of Mercy
*/
@import url('https://fonts.googleapis.com/css?family=Slabo+27px|Josefin+Slab');
$color: burlywood;
$srotateY: 357; /* .gd-slides {$gd_slider_srotateY="357,0,360,1,deg"} */
$srotateZ: 4; /* .gd-slides {$gd_slider_srotateZ="4,0,360,1,deg"} */
$eqrotateY: 358; /* .gd-slides {$gd_slider_eqrotateY="358,0,360,1,deg"} */
$eqrotateZ: 1; /* .gd-slides {$gd_slider_eqrotateZ="1,0,360,1,deg"} */
.gd-slides #custom .section {
margin: auto;
transform: scale(1) translateX(-60px) translateY(-30px) perspective(400px) rotateX(19deg) rotateY($srotateYdeg) rotateZ($srotateZdeg);
}
#gd-beatdown .eq {
transform: scale(1) translateX(0px) translateY(0px) perspective(600px) rotateX(-19deg) rotateY($eqrotateYdeg) rotateZ($eqrotateZdeg);
}
html, body, #wrapper, .container, .inner {
overflow: hidden;
}
#custom a {
text-decoration: none;
}
/*
#gd-beatdown .section .content {
padding-bottom: 0.3em;
border-bottom: 1px solid;
} */
#gd-beatdown .section h3 {
font-size: 2em;
}
#gd-beatdown .section .content img {
max-width: 20.5%;
}
#gd-beatdown .section strong {
font-size: 2em;
}
#custom .inner {
font-size: 250%;
}
#custom h1,
#custom h2,
#custom h3,
#custom h4,
#custom h5,
#custom h6 {
font-size: 1.25em;
color: black;
font-weight: 100;
font-family: 'Slabo 27px', serif;
}
* {
font-family: 'Josefin Slab', serif;
color: rgba(0,0,0,0.65);
text-align: center;
letter-spacing: 0.15em;
}
#custom .inner::before {
pointer-events: none;
content: "";
position: fixed;
top: 50px;
bottom: 50px;
left: 50px;
right: 50px;
z-index: 2;
mix-blend-mode: color-burn;
border-width: 30px;
border-image: url(https://ugotsta.github.io/gitdown/assets/svg/Border49-A4--Arvin61r58.svg) 90;
border-style: outset;
}
#custom .inner {
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
width: 100%;
background: url(https://ugotsta.github.io/gitdown/assets/fine-parchment.jpg);
background-size: 100px;
box-shadow: none;
background-blend-mode: luminosity;
overflow: hidden;
background-color: $color;
}
#custom .inner::after {
pointer-events: none;
content: "";
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 33%,rgba(0,0,0,0.05) 77%,rgba(0,0,0,0.25) 100%);
mix-blend-mode: multiply;
box-shadow: inset 0 0 100px black;
}
#custom .section {
position: fixed;
max-width: unset;
min-width: unset;
max-height: unset;
min-height: unset;
top: 40%;
bottom: 0;
left: 0;
right: 0;
padding: 0;
margin: auto;
width: 85vw;
height: 30%;
overflow: hidden;
background: none;
border: none;
box-shadow: none;
mix-blend-mode: normal;
}
#custom .eq {
position: absolute;
max-width: unset;
min-width: unset;
max-height: unset;
min-height: unset;
top: 0;
bottom: 35%;
left: 0;
right: 0;
padding: 0;
margin: auto;
width: 85vw;
height: 40vh;
background: none;
mix-blend-mode: darken;
opacity: 1;
z-index: 1;
padding-bottom: 8px;
border-bottom: 1px solid;
}
#custom .eq::before {
pointer-events: none;
content: "";
position: fixed;
top: -10px;
left: 0;
bottom: 0;
right: 0;
background: url(https://upload.wikimedia.org/wikipedia/en/b/be/Instruments_of_Mercy.jpg);
background-repeat: no-repeat;
background-position: center;
background-clip: padding-box;
height: 150px;
width: 294px;
margin: 0 auto;
}
#custom .eq::after {
position: absolute;
pointer-events: none;
content: "";
top: 0;
bottom: -5px;
left: 0;
right: 0;
border-bottom: 1px solid black;
}
#gd-beatdown .handle-heading {
display: none;
}
span#gd-track-title a, span#gd-track-user a {
text-decoration: none;
text-transform: uppercase;
color: white;
font-weight: 100;
font-size: 1.2em;
}
span#gd-track-title a {
font-weight: 900;
font-size: 1.5em;
}
#custom .eq .band {
background: black;
border: 1px solid black;
margin-right: 1em;
}
#custom .eq .band::after {
position: absolute;
pointer-events: none;
content: "";
transform: rotate(270deg);
font-size: 0.5em;
top: -1.6em;
left: -0.53em;
}
.section.old,
.section.old.lo,
.section.old.hi,
.section.current,
.section.current.lo,
.section.current.hi {
animation-duration: 2s;
}
.section.current,
.section.current.hi {
z-index: 1;
}
@keyframes in {
0% { clip-path: inset(0 100% 0 0); }
100% { clip-path: inset(0 0 0 0); }
}
@keyframes out {
0% { clip-path: inset(0 0 0 0); }
100% { clip-path: inset(0 100% 0 0); }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.