Skip to content

Racò Premium by rdvdev2

Details

Authorrdvdev2

LicenseNo License

Categoryraco.fib.upc.edu

Created

Updated

Code size5.2 kB

Code checksum3e0823f5

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Should have never happened

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Racò Premium
@namespace      github.com/rdvdev2/raco-premium
@version        1.1.0
@description    Should have never happened
@author         Nara Díaz Viñolas
@preprocessor   stylus

@var    checkbox    sidebars           "Shorts in sidebars"                1
@var    checkbox    avisosTiktok       "Avisos TikTok style"               1
@var    checkbox    perfilMinecraft    "Parkour de Minecraft com a perfil" 1
@var    checkbox    calendariMinecraft "Calendari amb blocs de Minecraft"  1
==/UserStyle== */
@-moz-document domain("raco.fib.upc.edu") {

    if sidebars {
        #page {
            background-image: url("https://media0.giphy.com/media/v1.Y2lkPTc5MGI3NjExdXVmb3lqd3FkNm9oZWphdGJwMGRjc3doOXl4NHEwNWxpaDRtdHJiOSZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/Fr5LA2RCQbnVp74CxH/giphy.webp"), url("https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fvignette.wikia.nocookie.net%2Ffark%2Fimages%2F5%2F59%2F056_family_guy_dance.gif%2Frevision%2Flatest%3Fcb%3D20160314030910&f=1&nofb=1&ipt=baedd7eb0324ba3547562cf99beb48825ed366e125f5c53455516f45532f569f&ipo=images");
            background-repeat: repeat-y, repeat-y;
            background-position: top left, top right;
            background-size: calc(calc(100vw - 62.5em) / 2);
        }

        #page_centered {
            background: url("https://raco.fib.upc.edu/forum/racoEstatic/img/degradat_blau.png") repeat-x;
        }
    }

    if avisosTiktok {
        div.text.avisos {
            overflow-y: scroll;
            height: 60vh;
            scroll-snap-type: y mandatory;
        }

        div.text.avisos > ul > li,
        div.text.avisos > a,
        div.text.avisos > h4 {
            scroll-snap-align: center;
            height: 63vh;
            width: 100%;
            padding: 0;
            background: url("https://media1.giphy.com/media/v1.Y2lkPTc5MGI3NjExc2Z5YXZiZ2VoaTVsdml2YXNrZzRiNHF0YnloOHRyNzNveTZrY3A5NiZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/U3rive8V39QioDjmNF/giphy.webp"), linear-gradient(white, darkgray 100%);
            background-repeat: no-repeat;
            background-position: bottom right;
            background-size: 30%, cover;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;
            font-size: 2em;
            text-align: center;
        }

        div.text.avisos > ul {
            margin: 0;
        }
    }
    
    if perfilMinecraft {
        .usuari img.foto {
            display: block;
            height: 0;
            padding-bottom: 97.233px;
            padding-right: 80px;
            background-image: url("https://i.makeagif.com/media/7-02-2023/4DRkyD.gif");
            background-position: center;
            background-size: cover;
        }
    }
    
    if calendariMinecraft {
        .calendari td {
            background-image: url("https://static.wikia.nocookie.net/minecraft_gamepedia/images/d/dc/Stone_(texture)_JE5_BE3.png");
            background-size: cover;
            color: white;
            text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
            height: 1.6em;
        }
        
        .calendari td.calendariNomMes {
            background-image: url("https://www.lyncconf.com/wp-content/uploads/2018/12/Clouds.png");
            background-size: 100% 100%;
            color: white;
            text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
        }
        
        .calendari a.anterior, .calendari a.seguent {
            color: white;
            text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
        }
        
        .calendari td.calendariDiaSetmana {
            background-image: url("https://static.wikia.nocookie.net/minecraft_gamepedia/images/3/3b/Grass_Block_(side_texture)_JE2_BE2.png");
            background-size: cover;
            height: 1.6em;
            padding: 0.8em;
            color: white;
            font-weight: 900;
            font-style: italic;
        }
        
        .calendari td.calendariDies {
            color: transparent;
            background-image: url("https://static.wikia.nocookie.net/minecraft_gamepedia/images/3/3d/Dirt_(texture)_JE2_BE2.png");
            background-size: cover;
        }
        
        .calendari td.festa:not(.avui) {
            background-image: url("https://static.wikia.nocookie.net/minecraft_gamepedia/images/c/c0/Diamond_Ore_(texture)_JE5_BE5.png");
        }
        
        .calendari td.avui {
            background-image: url("https://static.wikia.nocookie.net/minecraft_gamepedia/images/5/5a/Target_(top_texture)_JE1_BE1.png");
        }
        
        .calendari td.coses a:link {
            color: aquamarine;
            text-decoration: underline;
        }
        
        .calendari td.calendariDies {
            text-shadow: none;
        }
    }
    
    #footer::before {
        display: block;
        padding-bottom: 0.5em;
        text-align: center;
        content: "El Racó Premium ha estat creat per la Nara Díaz. Si vols suportar-me pots comprar-me un cafè a [https://ko-fi.com/rdvdev2], o no si no vols :)";
    }
}

Reviews

No reviews yet.