rDrama/files/events/assets/css/blizzard.css

381 lines
8.0 KiB
CSS

@charset "UTF-8";
/* Fonts */
@font-face {
font-family: "Burbank Small Medium";
src: url("/assets/fonts/event/Burbank-Small-Medium.woff2") format("woff2"),
url("/assets/fonts/event/Burbank-Small-Medium.woff") format("woff"),
url("/assets/fonts/event/Burbank-Small-Medium.ttf") format("truetype");
}
:root {
--primary: #9b161a;
--secondary: #c7c7c7;
--dark: #c7c7c7;
--muted: #131512;
--gray: #c7c7c7;
--white: #131512;
--black: #131512;
--background: #c1f3ff;
--gray-100: #131512;
--gray-200: #131512;
--gray-400: #e6faff;
--gray-500: #e6faff;
--gray-600: #e6faff;
--gray-700: #e6faff;
--gray-800: #e6faff;
--gray-900: #e6faff;
}
#frontpage .posts .card, #userpage .posts .card, #search .posts .card {
border-color: #a7e5fb;
}
body {
font-family: 'Burbank Small Medium', sans-serif;
background-color: var(--background) !important;
background-image: url('/i/event/pattern.png') !important;
overflow-x: hidden;
}
* {
border-color: var(--primary);
}
.border {
border-color: var(--primary) !important;
}
.form-control {
background: transparent;
border-color: var(--primary) !important;
}
.btn {
background: var(--primary) !important;
border-color: var(--primary) !important;
border-width: 2px;
color: #fff !important;
}
.btn .fas {
color: #fff !important;
}
.form-control:disabled, .form-control[readonly] {
background: transparent;
border-color: var(--primary) !important;
}
.btn-success {
border-color: #38A169 !important;
}
.btn-danger {
border-color: #E53E3E !important;
}
#frontpage .pseudo-submit-form.card .card-body .form-control {
border-color: transparent !important;
}
.btn-lg {
border-color: transparent !important;
}
pre {
color: #CFCFCF;
}
.transparent {
background: None !important;
}
#frontpage .post-title a:visited {
color: #7a7a7a !important;
}
.post-title a, h1.post-title {
font-family: 'Burbank Small Medium', cursive;
font-size: 1.25rem;
}
.arrow-up::before, .arrow-down::before {
content: '\f7dc';
width: 20px;
}
.arrow-down::before {
display: inline-block;
transform: rotate(180deg);
}
.arrow-up.active::before, .arrow-down.active::before {
content: '\f7db';
}
/* Blood Effect */
.blood::before {
content: '';
position: absolute;
background-image: url('/assets/images/event/blood-anim.webp');
width: 100%;
height: 55px;
background-repeat: repeat-x;
top: 0;
left: 0;
}
.blood {
position: relative;
}
.blood .comment-text {
color: #dc3545 !important;
font-family: 'DoubleFeature';
}
.sketch {
z-index: 10000;
position: fixed;
top: 0;
left: 0;
pointer-events: none;
}
/* Eyes */
.eye {
position: relative;
width: 26px;
height: 26px;
}
/* Trick or Treat */
#trick-or-treat {
font-family: Jo_wrote_a_lovesong;
font-size: 2rem;
letter-spacing: 0.5rem;
border-color: var(--primary) !important;
}
#trick-or-treat::before {
content:"";
background-image:url('/e/marseyface.webp'); ;
background-size: cover;
height:28px;
width:32px;
display:inline-block;
}
#trick-or-treat::after {
content:"";
background-image:url('/e/marseytrickortreat.webp'); ;
background-size: cover;
height:28px;
width:32px;
display:inline-block;
}
/* progressbar */
.progress {
background-color: #1d9bf0;
background-image: linear-gradient(0deg, #1d9bf0 0%, #59b1ec 100%);
width: 270px;
height: 24px;
border-radius: 4px;
box-shadow: inset 0px 12px 2px #ffffff10;
backdrop-filter: blur(2px) brightness(101%);
margin-bottom: 40px;
}
.progress::before {
content: "\f48e";
font-family: "Font Awesome 6 Pro";
position: absolute;
left: 6px;
top: 2px;
font-size: 13px;
color: #fff;
}
.progress::after {
content: "\f780";
font-family: "Font Awesome 6 Pro";
position: absolute;
right: 6px;
top: 2px;
font-size: 13px;
color: #fff;
}
.progress > .legend {
display: flex;
justify-content: space-between;
margin-top: 6px;
padding: 0 6px;
color: #dc3545;
font-family: -apple-system,BlinkMacSystemFont,segoe ui,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol;
font-size: 12px;
font-weight: bold;
}
.progress > .legend span:nth-child(1) {
color: #d3bc00;
}
.bar-left {
display: inline-block;
width: var(--width);
height: 24px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
background-color: #d3bc00;
background-image: linear-gradient(180deg, #d3bc00 50%, #877800 100%);
box-shadow: inset 0px 12px 2px #ffffff20;
color: white;
text-align: center;
}
.bar-right {
display: inline-block;
width: var(--width);
height: 24px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
background-color: #dc3545;
background-image: linear-gradient(180deg, #dc3545 50%, #9e1b32 100%);
box-shadow: inset 2px 12px 0px #ffffff20;
color: white;
text-align: center;
position: absolute;
right: 0;
}
body {
cursor: url(/assets/images/event/cursor.png?v=1), auto !important;
}
textarea, input[type=textbox], input[type=search] {
cursor: url(/assets/images/event/text.png?v=1), auto !important;
}
.btn, input[type=button], button, a, img {
cursor: url(/assets/images/event/pointer.png?v=1), auto !important;
}
/* lights */
.navbar::after, .lights::after {
content: "";
position: absolute;
top: 0;
left: 0;
height: 57px;
width: 100%;
background: url('/i/event/lights.png?v=1');
animation: lights 1s infinite steps(2);
pointer-events: none;
}
@keyframes lights {
0% {
/*Two zeros, not one !!*/
/*[0] is equivalent to [0 50%] and will create a different animation */
background-position: 0 0;
}
100% {
background-position: 0 -138px;
}
}
/* snowcaps */
.btn, .snow-cap {
position: relative;
}
.btn::after, .snow-cap::after {
content: '';
pointer-events: none;
background: url("/i/event/snowcap.png?v=1") repeat-x;
background-size: contain;
position: absolute;
bottom: -18px;
left: 0;
right: 0;
height: 23px;
border: none;
border-radius: 9999px;
}
/* snow effect */
body {
background-color: #1f1f1f;
}
.color {
width: 20%;
height: 100%;
float: left
}
.color p {
position: relative;
z-index: 1231231;
text-align: center;
line-height: 90vh;
}
.color:nth-child(1){
background-color: #F5624D;
}
.color:nth-child(2){
background-color: #CC231E;
}
.color:nth-child(3){
background-color: #34A65F;
}
.color:nth-child(4){
background-color: #0F8A5F;
}
.color:nth-child(5){
background-color: #235E6F;
}
#snow {
height: 100%;
color: #FFF;
display: block;
}
/* candy cane */
.candy-cane {
appearance: none;
height: 125px;
width: 125px;
position: fixed;
right: 0;
bottom: -9px;
transform: rotate(15deg);
transition: 200ms ease-out;
background-image: url("data:image/svg+xml,%3Csvg version='1.1' class='candy-cane' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' enable-background='new 0 0 100 100' xml:space='preserve'%3E%3Cg%3E%3Cpath fill='%23E0E0E0' d='M63.7,97.7c-3.7,0-6.8-3-6.8-6.8V27.1c0-0.3,0-0.6,0.1-0.9c0,0,0,0,0,0c0,0,0.2-2.8-1.2-4.3 c-1.3-1.4-3.9-2.4-5.8-2.4c-2.8,0-4.8,1.3-6,2.5c-1.6,1.8-1.5,4.9-1.5,4.9c0.4,3.7-2.4,7.1-6.1,7.4c-3.7,0.4-7.1-2.4-7.4-6.1 c-0.1-0.9-0.7-9.1,4.9-15.4c2.6-2.9,7.5-6.3,16-6.3c8.7,0,13.5,3.5,16.1,6.4c4.8,5.5,4.6,12.4,4.5,14.5v63.5 C70.5,94.7,67.4,97.7,63.7,97.7z'%3E%3C/path%3E%3C/g%3E%3Cg%3E%3Cpath fill='%23E9646A' d='M29,28.2c0.1,1.1,0.5,2.1,1.1,3L54.6,7c-1.4-0.2-3-0.4-4.7-0.4c-2.5,0-4.6,0.3-6.5,0.8L29.6,21 C28.7,24.7,28.9,27.7,29,28.2z'%3E%3C/path%3E%3Cpolygon fill='%23E9646A' points='56.9,75.9 70.5,62.5 70.5,51.9 56.9,65.3 '%3E%3C/polygon%3E%3Cpath fill='%23E9646A' d='M56.9,90.9c0,2.4,1.2,4.5,3.1,5.7l10.5-10.4V75.6L56.9,89.1V90.9z'%3E%3C/path%3E%3Cpolygon fill='%23E9646A' points='56.9,52.2 70.5,38.7 70.5,28.1 56.9,41.5 '%3E%3C/polygon%3E%3Cpath fill='%23E9646A' d='M55.8,21.9c1.4,1.6,1.2,4.3,1.2,4.3c0,0,0,0,0,0c0,0.3-0.1,0.6-0.1,0.9v1.3l11.7-11.6 c-0.6-1.3-1.5-2.6-2.6-3.9c-0.6-0.7-1.3-1.4-2.2-2.1l-9.9,9.8C54.7,21,55.3,21.3,55.8,21.9z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
background-repeat: no-repeat;
background-size: contain;
}
.candy-cane:hover {
transform: translateY(4px) rotate(17deg);
}
/* award replacements */
/* train awards */