forked from rDrama/rDrama
1
0
Fork 0

make event folder

master
Aevann 2023-04-25 17:47:46 +02:00
parent a201096a5a
commit 28d74b5c7d
12 changed files with 27 additions and 27 deletions

View File

@ -1,7 +1,7 @@
/* text */ /* text */
@font-face{ @font-face{
font-family: "Plakat-Fraktur"; 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) { @media (max-width: 767.98px) {

View File

@ -3,9 +3,9 @@
/* Fonts */ /* Fonts */
@font-face { @font-face {
font-family: "Burbank Small Medium"; font-family: "Burbank Small Medium";
src: url("/assets/fistmas/fonts/Burbank-Small-Medium.woff2") format("woff2"), src: url("/assets/events/fistmas/fonts/Burbank-Small-Medium.woff2") format("woff2"),
url("/assets/fistmas/fonts/Burbank-Small-Medium.woff") format("woff"), url("/assets/events/fistmas/fonts/Burbank-Small-Medium.woff") format("woff"),
url("/assets/fistmas/fonts/Burbank-Small-Medium.ttf") format("truetype"); url("/assets/events/fistmas/fonts/Burbank-Small-Medium.ttf") format("truetype");
} }
:root { :root {
@ -34,7 +34,7 @@
body { body {
font-family: 'Burbank Small Medium', sans-serif; font-family: 'Burbank Small Medium', sans-serif;
background-color: rgb(var(--background)) !important; 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; overflow-x: hidden;
} }
@ -136,15 +136,15 @@ color: #7a7a7a !important;
} }
body { 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] { 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 { .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"} .fa-moon-over-sun:before{content:"\f74a"}
@ -170,7 +170,7 @@ textarea, input[type=textbox], input[type=search] {
left: 0; left: 0;
height: 57px; height: 57px;
width: 100%; 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); animation: lights 1s infinite steps(2);
pointer-events: none; pointer-events: none;
} }
@ -195,7 +195,7 @@ textarea, input[type=textbox], input[type=search] {
.btn::after, .snow-cap::after { .btn::after, .snow-cap::after {
content: ''; content: '';
pointer-events: none; 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; background-size: contain;
position: absolute; position: absolute;
bottom: -18px; bottom: -18px;

View File

@ -5,7 +5,7 @@
left: 0; left: 0;
height: 57px; height: 57px;
width: 100%; 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); animation: lights 1s infinite steps(2);
pointer-events: none; pointer-events: none;
z-index: 1; z-index: 1;

View File

@ -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 (SITE_NAME == 'WPD' and not v) and not (v and v.poor) and not (sub and sub.name == 'music') %}
{% if not song %} {% if not song %}
{% set path = "assets/DKD/music" %} {% set path = "assets/events/DKD/music" %}
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=1' %} {% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=1' %}
<input hidden id="DKD-song" value="{{song}}"> <input hidden id="DKD-song" value="{{song}}">
{% endif %} {% endif %}

View File

@ -8,9 +8,9 @@
{% include 'fistmas/banner.html' %} {% include 'fistmas/banner.html' %}
{% else %} {% else %}
{% if IS_BIRTHGAY() and not sub %} {% 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 %} {% 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' %} {% elif err and SITE_NAME == 'rDrama' %}
{% set src = "banner_error.webp" | asset_siteimg %} {% set src = "banner_error.webp" | asset_siteimg %}
{% elif sub and sub.has_banners %} {% elif sub and sub.has_banners %}

View File

@ -2,7 +2,7 @@
{% set gingerbread_count = p.award_count("gingerbread", v) * 2 if p.award_count("gingerbread", v) <= 10 else 20 %} {% set gingerbread_count = p.award_count("gingerbread", v) * 2 if p.award_count("gingerbread", v) <= 10 else 20 %}
{% for i in range(gingerbread_count) %} {% for i in range(gingerbread_count) %}
<div class="fall-snowflake"> <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> </div>
{% endfor %} {% endfor %}

View File

@ -4,7 +4,7 @@
<a rel="nofollow noopener noreferrer" href="https://www.youtube.com/watch?v=BuKft9LpL_0" style="text-decoration: none !important"> <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 %} {% 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 %} {% else %}
<link rel="stylesheet" href="{{'fistmas/css/banner.css' | asset}}"> <link rel="stylesheet" href="{{'fistmas/css/banner.css' | asset}}">
{% if SITE_NAME == 'rDrama' %} {% if SITE_NAME == 'rDrama' %}

View File

@ -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 (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 %} {% if not song %}
{% set path = "assets/fistmas/music" %} {% set path = "assets/events/fistmas/music" %}
{% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=1' %} {% set song = "/" ~ path ~ "/" ~ listdir('files/' ~ path)|random() ~ '?x=1' %}
<input hidden id="fistmas-song" value="{{song}}"> <input hidden id="fistmas-song" value="{{song}}">
{% endif %} {% endif %}

View File

@ -66,9 +66,9 @@
<div class="container-fluid" style="padding:0;"> <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 %}"> <a href="/" class="navbar-brand mr-auto {% if not has_logo and not sub %}flex-grow-1{% endif %}">
{% if IS_DKD() %} {% 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() %} {% 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 %} {% else %}
{% set icon_url = 'headericon.webp' | asset_siteimg %} {% set icon_url = 'headericon.webp' | asset_siteimg %}
{% endif %} {% endif %}
@ -81,9 +81,9 @@
<div id="logo-container" class="flex-grow-1 logo-container"> <div id="logo-container" class="flex-grow-1 logo-container">
<a href="/"> <a href="/">
{% if IS_DKD() %} {% if IS_DKD() %}
{% set logo_url = 'assets/DKD/images/logo.webp' %} {% set logo_url = 'assets/events/DKD/images/logo.webp' %}
{% elif IS_FISTMAS() %} {% elif IS_FISTMAS() %}
{% set logo_url = 'assets/fistmas/images/logo/' ~ SITE_NAME %} {% set logo_url = 'assets/events/fistmas/images/logo/' ~ SITE_NAME %}
{% else %} {% else %}
{% set logo_url = 'logo.webp' | asset_siteimg %} {% set logo_url = 'logo.webp' | asset_siteimg %}
{% endif %} {% endif %}

View File

@ -7,7 +7,7 @@
</a> </a>
{%- if IS_BIRTHGAY() -%} {%- 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 -%} {%- elif v -%}
{%- set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") -%} {%- set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") -%}
{%- else -%} {%- else -%}

View File

@ -9,11 +9,11 @@
{% if sub %} {% if sub %}
{% set image=sub.sidebar_url %} {% set image=sub.sidebar_url %}
{% elif IS_BIRTHGAY() %} {% 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() %} {% 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() %} {% elif IS_FISTMAS() %}
{% set image = macros.random_image("assets/fistmas/images/sidebar") %} {% set image = macros.random_image("assets/events/fistmas/images/sidebar") %}
{% else %} {% else %}
{% set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") %} {% set image = macros.random_image("assets/images/" ~ SITE_NAME ~ "/sidebar") %}
{% endif %} {% endif %}

View File

@ -63,9 +63,9 @@
{% endif %} {% endif %}
{% if IS_DKD() %} {% 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() %} {% 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 %} {% else %}
{% set favicon_url = '/icon.webp?x=1' %} {% set favicon_url = '/icon.webp?x=1' %}
{% endif %} {% endif %}