Skip to content

abola.pt by jah

Screenshot of abola.pt

Details

Authorjah

LicenseCC

Categoryabola.pt

Created

Updated

Size93 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

site d'a bola em dark mode, para monitores 1440p, com algumas alterações em termos de tipografia p se ler melhor e estar mais parecido ao jornal impresso. eu n leio todas as secções portanto é capaz de haver alguns módulos incompletos.

Notes

Userstyle doesn't have notes.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name         abola.pt
@version      20241130.20.59
@namespace    https://userstyles.world/user/jah
@description  site d'a bola em dark mode, para monitores 1440p, com algumas alterações em termos de tipografia p se ler melhor e estar mais parecido ao jornal impresso. eu n leio todas as secções portanto é capaz de haver alguns módulos incompletos.M
@author       jah
@license      MIT
==/UserStyle== */

@-moz-document domain("abola.pt"), domain("platform.twitter.com") {
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Martel:wght@200;300;400;600;700;800;900&display=swap');

:root {
    /* grey scale */
    --w: #fff;
    --wAlpha: 0, 0%, 100%;
    --grey10: hsl(0, 0%, 86%);
    --grey15: hsl(0, 0%, 78%);
    --grey20: hsl(0, 0%, 69%);
    --grey25: hsl(0, 0%, 61%);
    --grey30: hsl(0, 0%, 53%);
    --grey40: hsl(0, 0%, 39%);
    --grey50: hsl(0, 0%, 28%);
    --grey60: hsl(0, 0%, 20%);
    --grey70: hsl(0, 0%, 13%);
    --grey80: hsl(0, 0%, 9%);
    --grey90: hsl(0, 0%, 7%);
    --grey100: hsl(0, 0%, 5%);
    
    /* colours */
    --brand: hsl(356, 95%, 45%);
    --brandAlpha: 356, 95%, 45%;
    --gold: #fc0;
    --modalidades: #ff8a5e;
    --internacional: #9b73e1;
    --clubesSportingLisbon: #008057;
    --clubesFCPorto: #2452b5;
    --clubesSLBenfica: #e20613;
    
    /* spacers */
    --spacer0: .5rem;
    --spacer10: 1rem;
    --spacer20: 1.5rem;
    --spacer30: 2rem;
    --spacer40: 2.5rem;
    --spacer50: 3.5rem;
    
    --maxW: 80vw;
    --colW: 20vw;
    --colGap: 32px;
    
    /* fonts */
    --fontSans: 'Roboto', sans-serif;
    /*--fontRusso: 'Source Sans Pro', sans-serif;*/
    --fontRusso: Russo One, sans-serif;
    --fontRoboto: 'Merriweather', sans-serif;
    --fontSlab: 'Roboto Slab', sans-serif;
    --fontSerif: 'Martel', serif;
    
    /* misc */
    --trans: all .2s ease; /* rights are human rights */
    
    /**/
    --brand10: hsl(356deg, 67%, 94%);
    --brand15: hsl(356deg, 69%, 68%);
    --brand20: hsl(356deg, 69%, 54%);
    --brand25: hsl(356deg, 100%, 39%);
    --brand30: hsl(356deg, 100%, 33%);
    --brand40: hsl(356deg, 100%, 28%);
    --brand50: hsl(356deg, 100%, 25%);
    --brand60: hsl(356deg, 100%, 21%);
    --brand70: hsl(356deg, 100%, 18%);
    --brand80: hsl(356deg, 100%, 15%);
    --brand90: hsl(356deg, 100%, 11%);
    --brand100: hsl(356deg, 100%, 7%);
    
    --colors-tabRowBackgroundColor: var(--grey80);
    --colors-highLighted: var(--brand90);
    --colors-oddsContainerPrimaryBgColor: var(--grey80);
    --colors-orange500: var(--brand20);
    --colors-multiSportBgColor: var(--grey90);
    --colors-multiSportTextColor: var(--grey10);
    --colors-borderMultiSportColor: var(--grey60);
    --colors-countryLogoBorderColor: var(--grey60);
    --fonts-primaryFontFamily: var(--fontSans);
    --colors-multiSportCommonColor: var(--grey25);
    --space-0: .2rem;
    --space-1: .4rem;
    --space-2: .8rem;
    --space-3: 1.6rem;
    --space-4: 2rem;
    --space-5: 2.4rem;
    --space-6: 3.2rem;
    --space-7: 4.8rem;
    --space-8: 6.4rem;
    --space-9: 8rem;
    --space-2_5: 1.2rem;
    --space-6_5: 4rem;
    --sizes-1: .4rem;
    --sizes-2: .8rem;
    --sizes-3: 1.6rem;
    --sizes-4: 2rem;
    --sizes-5: 2.4rem;
    --sizes-6: 3.4rem;
    --sizes-7: 4.8rem;
    --sizes-8: 6.4rem;
    --sizes-9: 8rem;
    --sizes-10: 1.1rem;
    --sizes-2_5: 1.2rem;
    --sizes-5_5: 3.2rem;
    --sizes-6_5: 4.2rem;
    --sizes-7_5: 5.6rem;
    --fontSizes-1: .9rem;
    --fontSizes-2: 1.1rem;
    --fontSizes-2_5: 1.2rem;
    --fontSizes-3: 1.4rem;
    --fontSizes-4: 1.6rem;
    --fontSizes-5: 2rem;
    --fontSizes-6: 2.4rem;
    --fontSizes-7: 2.8rem;
    --fontSizes-8: 3.2rem;
    --fontSizes-9: 3.6rem;
    
    --colors-matchCenterPrimaryBackgroundColor: var(--grey100);
    --colors-lineupsPrimaryBackgroundColor: var(--grey100);
    --colors-collapsibleBgColor: var(--grey80);
    --colors-lineupsRowEvenBgColor: var(--grey100);
    --colors-lineupsRowOddBgColor: var(--grey90);
    --colors-lineupsHeaderContainerBgColor: var(--grey90);
    --colors-timelineTabBackgroundColor: var(--grey80);
    --colors-tabTextColor: var(--grey10);
    --colors-tabBackgroundColor: var(--grey80);
    --colors-tabMenuBorderColor: var(--grey60);
    --colors-timelineBackgroundColor: var(--grey80);
    --colors-subHeaderBgColor: var(--grey90);
    --colors-mobileTabsSelectedBgColor: var(--brand80);
    --colors-gray6: var(--grey25);
    --colors-surfaceBackgroundColor: var(--grey100);
}

*, html * {
    box-sizing: border-box;
}

html, body {
    background: var(--grey90);
    color: var(--grey10);
    font-size: 16px;
    line-height: 1.618;
    line-height: calc(1ex / 0.32);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 62.5%;
    scrollbar-color: var(--grey50) var(--grey70);
}

body {
    font-family: var(--fontSerif);
    -webkit-touch-callout: unset;
    -webkit-user-select: unset;
    -moz-user-select: unset;
    -ms-user-select: unset;
    user-select: unset;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fontSlab);
}

h1 {
    font-size: 2.5em;
    line-height: calc(1ex / 0.42);
}

h2 {
    font-size: 2em;
    line-height: calc(1ex / 0.42);
}

h3 {
    font-size: 1.75em;
    line-height: calc(1ex / 0.38);
}

h4 {
    font-size: 1.5em;
    line-height: calc(1ex / 0.37);
}

p {
    font-size: 2.2rem;
    line-height: calc(1ex / 0.32);
    margin: calc(1ex / 0.32) 0;
    max-width: 60ch;
}

a {
    color: var(--brand);
    transition: all .25s ease;
}

a:hover {
    color: var(--brand15);
}

.btn {
    padding: 8px 16px;
    font-size: 1.1rem;
    font-weight: normal;
    line-height: 1.2;
    border-radius: 4px;
}

.btn-default {
    color: var(--w);
    background-color: var(--brand50);
    border-color: var(--brand50);
}

.btn-default:hover {
    color: var(--w);
    background-color: var(--brand);
    border-color: var(--brand);
}

.bg-vermelho    { background: var(--brand); }
.preto          { color: var(--w); }

.russo-one {
    font-family: var(--fontSlab);
}

/*
    new layout
*/
ol, ul {
    margin-bottom: .8rem;
}

.container {
    padding-right: .8rem;
    padding-left: .8rem;
}
@media (min-width: 1206px) {
    .container {
        width: var(--maxW);
    }
}

#topo > div:first-child {
    height: 7.2rem;
    background-color: var(--grey100);
}

.navbar {
    height: 7.2rem;
    padding-top: .8rem;
    padding-left: .8rem;
    padding-right: .8rem;
}

@media (min-width: 1206px) {
    .navbar {
        height: 7.2rem;
        margin: 0 auto 0;
        border-top: .3rem solid var(--brand);
        border-bottom: .3rem solid var(--brand);
    }
}
.navbar-default {
    background-color: var(--grey90);
}
.cabeca {
    height: 7.2rem;
    max-width: var(--maxW);
    margin: calc(0px - .8rem - .3rem) auto 0;
    border: none;
    background: unset;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cabeca div[id="cabeca_Menus_pnlMenuPrincipal sidebar-menu-wrapper"] {
    width: auto;
    flex: 0 0 5.6rem;
    height: 100%;
}
#menu-home {
    width: auto;
    height: calc(100% - .5rem);
    display: flex;
    align-items: center;
}
#menu-home .menu-icon {
    color: var(--brand);
    position: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
}
.menu-icon i {
    display: block;
    margin: 0;
    width: 3.2rem;
    height: 3.2rem;
    font-size: 3.2rem;
    text-align: center;
}
.cabeca .abola-img {
    width: auto;
    margin-left: 0;
    flex: 1;
    height: 100%;
}
.logo-abola > span {
    overflow: visible !important;
}
.cabeca .abola-img a img {
    height: 4rem !important;
    width: auto !important;
    margin-top: 0rem !important;
}
.height50 {
    height: 5.4rem;
}
.list-inline {
    margin-left: -.8rem;
}
#menutopo .list-inline {
    margin-top: 1.6rem;
}
#menuTopoLista li, #menutopo li {
    line-height: 1.2rem;
}
#menutopo li {
    padding: 0 .8rem;
}

.menu-texto {
    font-family: var(--fontSans);
    font-weight: 600;
    font-size: 1.4rem;
    border-left: .1rem solid var(--grey25);
    padding-left: 1.6rem;
}

.cinza {
    color: var(--grey25);
}

#menuTopoLista li:hover>a .menu-topo-texto, #menutopo li:hover>a .menu-topo-texto {
    text-decoration: unset;
    color: var(--w);
}

.menu-topo-item:first-child .menu-texto {
    padding-left: .8rem;
}
.ponto-login {
    color: var(--brand);
}
.cabeca .capas-pesquisa-social {
    width: unset;
    order: 4;
    height: calc(100% - .6rem);
    display: flex;
    align-items: flex-end;
    gap: .8rem;
}
.capas-jornal {
    top: 0;
    max-height: calc(7.2rem - .6rem);
    position: relative;
}
.capas-jornal img {
    width: 8rem;
    margin-left: .8rem;
    margin-top: .8rem;
}
.pesquisa {
    width: 3.2rem;
    height: 3.2rem;
    margin-right: 0;
    padding-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pesquisa svg {
    width: 2.4rem;
    height: 2.4rem;
}

.pesquisa .caixa-pesquisa {
    right: 4rem;
    width: 24rem;
}

.cabeca .capas-pesquisa-social .cinza {
    align-self: center;
    display: flex;
    align-items: center;
    gap: .8rem;
}
.cinza .pull-left.social div.dual {
    padding-top: .4rem;
}
.cinza .pull-left.social div a {
    margin: 0 .4rem;
    min-width: 1.6rem;
}
.cinza .pull-left.social div.dual a, .cinza .pull-left.social div.dual svg {
    width: 2rem;
    height: 2rem;
}
#corpo {
    background-color: unset;
}
.mainBody#corpo {
    margin-top: 1.6rem !important;
}
#destaques-hp {
    margin-top: 0;
}
.item-destaque {
    background-position: top;
...

Reviews

No reviews yet.