forked from rDrama/rDrama
make event folder
parent
a201096a5a
commit
28d74b5c7d
|
@ -1,7 +1,7 @@
|
|||
/* text */
|
||||
@font-face{
|
||||
font-family: "Plakat-Fraktur";
|
||||
src: url("/assets/fistmas/fonts/Plakat-Fraktur-Black.woff") format("woff");
|
||||
src: url("/assets/events/fistmas/fonts/Plakat-Fraktur-Black.woff") format("woff");
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
/* Fonts */
|
||||
@font-face {
|
||||
font-family: "Burbank Small Medium";
|
||||
src: url("/assets/fistmas/fonts/Burbank-Small-Medium.woff2") format("woff2"),
|
||||
url("/assets/fistmas/fonts/Burbank-Small-Medium.woff") format("woff"),
|
||||
url("/assets/fistmas/fonts/Burbank-Small-Medium.ttf") format("truetype");
|
||||
src: url("/assets/events/fistmas/fonts/Burbank-Small-Medium.woff2") format("woff2"),
|
||||
url("/assets/events/fistmas/fonts/Burbank-Small-Medium.woff") format("woff"),
|
||||
url("/assets/events/fistmas/fonts/Burbank-Small-Medium.ttf") format("truetype");
|
||||
}
|
||||
|
||||
:root {
|
||||
|
@ -34,7 +34,7 @@
|
|||
body {
|
||||
font-family: 'Burbank Small Medium', sans-serif;
|
||||
background-color: rgb(var(--background)) !important;
|
||||
background-image: url('/assets/fistmas/images/pattern.webp') !important;
|
||||
background-image: url('/assets/events/fistmas/images/pattern.webp') !important;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
|
@ -136,15 +136,15 @@ color: #7a7a7a !important;
|
|||
}
|
||||
|
||||
body {
|
||||
cursor: url(/assets/fistmas/images/cursor.webp?x=1), auto !important;
|
||||
cursor: url(/assets/events/fistmas/images/cursor.webp?x=1), auto !important;
|
||||
}
|
||||
|
||||
textarea, input[type=textbox], input[type=search] {
|
||||
cursor: url(/assets/fistmas/images/text.webp?x=1) 9 14, auto !important;
|
||||
cursor: url(/assets/events/fistmas/images/text.webp?x=1) 9 14, auto !important;
|
||||
}
|
||||
|
||||
.btn, input[type=button], button, a {
|
||||
cursor: url(/assets/fistmas/images/pointer.webp?x=1), auto !important;
|
||||
cursor: url(/assets/events/fistmas/images/pointer.webp?x=1), auto !important;
|
||||
}
|
||||
|
||||
.fa-moon-over-sun:before{content:"\f74a"}
|
||||
|
@ -170,7 +170,7 @@ textarea, input[type=textbox], input[type=search] {
|
|||
left: 0;
|
||||
height: 57px;
|
||||
width: 100%;
|
||||
background: url('/assets/fistmas/images/lights.webp?x=1');
|
||||
background: url('/assets/events/fistmas/images/lights.webp?x=1');
|
||||
animation: lights 1s infinite steps(2);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
@ -195,7 +195,7 @@ textarea, input[type=textbox], input[type=search] {
|
|||
.btn::after, .snow-cap::after {
|
||||
content: '';
|
||||
pointer-events: none;
|
||||
background: url("/assets/fistmas/images/snowcap.webp?x=1") repeat-x;
|
||||
background: url("/assets/events/fistmas/images/snowcap.webp?x=1") repeat-x;
|
||||
background-size: contain;
|
||||
position: absolute;
|
||||
bottom: -18px;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
left: 0;
|
||||
height: 57px;
|
||||
width: 100%;
|
||||
background: url('/assets/fistmas/images/lights.webp?x=1');
|
||||
background: url('/assets/events/fistmas/images/lights.webp?x=1');
|
||||
animation: lights 1s infinite steps(2);
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% if not (SITE_NAME == 'WPD' and not v) and not (v and v.poor) and not (sub and sub.name == 'music') %}
|
||||
{% if not song %}
|
||||
{% set path = "assets/DKD/music" %}
|
||||
{% set path = "assets/events/DKD/music" %}
|
||||
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=1' %}
|
||||
<input hidden id="DKD-song" value="{{song}}">
|
||||
{% endif %}
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
{% include 'fistmas/banner.html' %}
|
||||
{% else %}
|
||||
{% if IS_BIRTHGAY() and not sub %}
|
||||
{% set src = macros.random_image("assets/birthgay/images/banners/" ~ SITE_NAME) %}
|
||||
{% set src = macros.random_image("assets/events/birthgay/images/banners/" ~ SITE_NAME) %}
|
||||
{% elif IS_DKD() and not sub %}
|
||||
{% set src = macros.random_image("assets/DKD/images/banners") %}
|
||||
{% set src = macros.random_image("assets/events/DKD/images/banners") %}
|
||||
{% elif err and SITE_NAME == 'rDrama' %}
|
||||
{% set src = "banner_error.webp" | asset_siteimg %}
|
||||
{% elif sub and sub.has_banners %}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{% set gingerbread_count = p.award_count("gingerbread", v) * 2 if p.award_count("gingerbread", v) <= 10 else 20 %}
|
||||
{% for i in range(gingerbread_count) %}
|
||||
<div class="fall-snowflake">
|
||||
<img loading="lazy" src="/assets/fistmas/images/awards/gingerbread.webp?x=1" class="animate-spin object-contain" style="width: 40px; height: 40px;" alt="animate marsey gingerbread icon" />
|
||||
<img loading="lazy" src="/assets/events/fistmas/images/awards/gingerbread.webp?x=1" class="animate-spin object-contain" style="width: 40px; height: 40px;" alt="animate marsey gingerbread icon" />
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important">
|
||||
{% if SITE_NAME == 'rDrama' and range(1, 20)|random() == 1 %}
|
||||
<img loading="lazy" src="/assets/fistmas/images/banner_new.webp" style="width:100%" />
|
||||
<img loading="lazy" src="/assets/events/fistmas/images/banner_new.webp" style="width:100%" />
|
||||
{% else %}
|
||||
<link rel="stylesheet" href="{{'fistmas/css/banner.css' | asset}}">
|
||||
{% if SITE_NAME == 'rDrama' %}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% if not (SITE_NAME == 'WPD' and not v) and not (v and v.poor) and (not v or v.event_music) and not (sub and sub.name == 'music') %}
|
||||
{% if not song %}
|
||||
{% set path = "assets/fistmas/music" %}
|
||||
{% set path = "assets/events/fistmas/music" %}
|
||||
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=1' %}
|
||||
<input hidden id="fistmas-song" value="{{song}}">
|
||||
{% endif %}
|
||||
|
|
|
@ -66,9 +66,9 @@
|
|||
<div class="container-fluid" style="padding:0;">
|
||||
<a href="/" class="navbar-brand mr-auto {% if not has_logo and not sub %}flex-grow-1{% endif %}">
|
||||
{% if IS_DKD() %}
|
||||
{% set icon_url = macros.random_image('assets/DKD/images/icon') %}
|
||||
{% set icon_url = macros.random_image('assets/events/DKD/images/icon') %}
|
||||
{% elif IS_FISTMAS() %}
|
||||
{% set icon_url = macros.random_image('assets/fistmas/images/icon/' ~ SITE_NAME) %}
|
||||
{% set icon_url = macros.random_image('assets/events/fistmas/images/icon/' ~ SITE_NAME) %}
|
||||
{% else %}
|
||||
{% set icon_url = 'headericon.webp' | asset_siteimg %}
|
||||
{% endif %}
|
||||
|
@ -81,9 +81,9 @@
|
|||
<div id="logo-container" class="flex-grow-1 logo-container">
|
||||
<a href="/">
|
||||
{% if IS_DKD() %}
|
||||
{% set logo_url = 'assets/DKD/images/logo.webp' %}
|
||||
{% set logo_url = 'assets/events/DKD/images/logo.webp' %}
|
||||
{% elif IS_FISTMAS() %}
|
||||
{% set logo_url = 'assets/fistmas/images/logo/' ~ SITE_NAME %}
|
||||
{% set logo_url = 'assets/events/fistmas/images/logo/' ~ SITE_NAME %}
|
||||
{% else %}
|
||||
{% set logo_url = 'logo.webp' | asset_siteimg %}
|
||||
{% endif %}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
</a>
|
||||
|
||||
{%- if IS_BIRTHGAY() -%}
|
||||
{% set image = macros.random_image("assets/birthgay/images/sidebar/" ~ SITE_NAME) %}
|
||||
{% set image = macros.random_image("assets/events/birthgay/images/sidebar/" ~ SITE_NAME) %}
|
||||
{%- elif v -%}
|
||||
{%- set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") -%}
|
||||
{%- else -%}
|
||||
|
|
|
@ -9,11 +9,11 @@
|
|||
{% if sub %}
|
||||
{% set image=sub.sidebar_url %}
|
||||
{% elif IS_BIRTHGAY() %}
|
||||
{% set image = macros.random_image("assets/birthgay/images/sidebar/" ~ SITE_NAME) %}
|
||||
{% set image = macros.random_image("assets/events/birthgay/images/sidebar/" ~ SITE_NAME) %}
|
||||
{% elif IS_DKD() %}
|
||||
{% set image = macros.random_image("assets/DKD/images/sidebar") %}
|
||||
{% set image = macros.random_image("assets/events/DKD/images/sidebar") %}
|
||||
{% elif IS_FISTMAS() %}
|
||||
{% set image = macros.random_image("assets/fistmas/images/sidebar") %}
|
||||
{% set image = macros.random_image("assets/events/fistmas/images/sidebar") %}
|
||||
{% else %}
|
||||
{% set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") %}
|
||||
{% endif %}
|
||||
|
|
|
@ -63,9 +63,9 @@
|
|||
{% endif %}
|
||||
|
||||
{% if IS_DKD() %}
|
||||
{% set favicon_url = macros.random_image('assets/DKD/images/favicon') %}
|
||||
{% set favicon_url = macros.random_image('assets/events/DKD/images/favicon') %}
|
||||
{% elif IS_FISTMAS() %}
|
||||
{% set favicon_url = macros.random_image('assets/fistmas/images/favicon/' ~ SITE_NAME) %}
|
||||
{% set favicon_url = macros.random_image('assets/events/fistmas/images/favicon/' ~ SITE_NAME) %}
|
||||
{% else %}
|
||||
{% set favicon_url = '/icon.webp?x=1' %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue