praiadeseselle/site/templates/css/style.css

1321 lines
No EOL
18 KiB
CSS

*, *::before, *::after
{
box-sizing: border-box;
}
body
{
color: rgb(var(--cor_10));
font-family: 'Source Sans Pro', sans-serif;
font-size: 1rem;
}
a
{
color: rgba(var(--cor_30), var(--bs-link-opacity, 1));
text-decoration-line: underline;
text-decoration-style: dotted;
}
h1, h2, h3, h4, h5, h6
{
color: rgb(var(--cor_30));
font-family: 'Josefin Sans', serif;
}
img
{
width: 100%;
}
dl
{
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10%;
max-width: 18.75rem;
margin: 0;
}
dt
{
width: 10%;
}
dt::after
{
content: ": ";
}
dd
{
width: 80%;
margin: 0;
padding: 0;
}
figure
{
margin: 0;
}
figure figcaption
{
padding: 10px 40px 20px;
color: rgb(var(--cor_30));
font-family: 'Source Sans Pro', sans-serif;
font-weight: normal;
font-size: 1rem;
text-align: center;
}
figure img
{
display: block;
width: 100%;
height: auto;
object-fit: contain;
background-color: rgb(var(--cor_60));
}
figure.effect-ming
{
background: #030c17;
position: relative;
float: left;
overflow: hidden;
margin: 10px 1%;
padding: 0;
min-width: 320px;
max-width: 480px;
max-height: 360px;
width: 100%;
height: auto;
background: rgb(var(--cor_30));
text-align: center;
cursor: pointer;
}
figure.effect-ming img
{
position: relative;
display: block;
min-height: 100%;
max-width: 100%;
opacity: 0.9;
transition: opacity 0.35s;
}
figure.effect-ming:hover img
{
opacity: 0.4;
}
figure.effect-ming figcaption
{
padding: 2em;
color: #fff;
text-transform: uppercase;
font-size: 1.25em;
backface-visibility: hidden;
}
figure.effect-ming figcaption > a
{
z-index: 1000;
text-indent: 200%;
white-space: nowrap;
font-size: 0;
opacity: 0;
}
figure.effect-ming figcaption,
figure.effect-ming figcaption > a
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
figure.effect-ming h3
{
margin: 20% 0 10px 0;
word-spacing: -0.15em;
font-weight: 700;
transition: transform 0.35s;
background: rgba(255,255,255,0.5);
color: rgb(var(--cor_30));
}
figure.effect-ming:hover h3
{
transform: scale(0.9);
}
figure.effect-ming p
{
padding: 1em;
opacity: 0;
letter-spacing: 1px;
font-size: 68.5%;
transition: opacity 0.35s, transform 0.35s;
transform: scale(1.5);
}
figure.effect-ming figcaption::before
{
position: absolute;
top: 30px;
right: 30px;
bottom: 30px;
left: 30px;
border: 2px solid #fff;
box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
content: '';
opacity: 0;
transition: opacity 0.35s, transform 0.35s;
transform: scale3d(1.4,1.4,1);
}
figure.effect-ming:hover figcaption::before,
figure.effect-ming:hover p
{
opacity: 1;
transform: scale3d(1,1,1);
}
figure.effect-ming figcaption::before, figure.effect-ming figcaption::after
{
pointer-events: none;
}
time
{
display: block;
position: relative;
height: 5rem;
overflow: hidden;
width: 5rem;
border-radius: 0.6em;
box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
font-size: 0.75rem;
background-color: #fff;
}
time *
{
display: block;
width: 100%;
font-size: 0.8rem;
font-style: normal;
font-weight: bold;
text-align: center;
}
time em
{
position: absolute;
bottom: 0;
color: rgb(var(--cor_30));
}
time strong
{
position: absolute;
top: 0;
padding: 0.3rem 0;
box-shadow: 0 2px 0 rgb(var(--cor_30));
color: white;
background-color: rgb(var(--cor_30));
}
time span
{
padding-top: 1.4rem;
color: black;
font-size: 2rem;
letter-spacing: -0.05rem;
}
.btn-primary
{
--bs-btn-bg: rgb(var(--cor_30));
--bs-btn-border-color: rgb(var(--cor_30));
--bs-btn-hover-bg: rgb(var(--cor_30));
--bs-btn-hover-border-color: rgb(var(--cor_30));
--bs-btn-active-bg: rgb(var(--cor_30));
--bs-btn-active-border-color: rgb(var(--cor_30));
--bs-btn-disabled-bg: rgb(var(--cor_30));
--bs-btn-disabled-border-color: rgb(var(--cor_30));
}
.breadcrumb-item + .breadcrumb-item::before
{
padding-right: unset;
}
.form-floating > .form-control,
.form-floating > .form-control-plaintext,
.form-floating > .form-select
{
height: calc(2.25rem + 2px);
line-height: 1.25;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-select ~ label
{
height: unset;
width: unset;
padding: 0 !important;
background-color: #fff;
opacity: unset;
transform: scale(0.85) translateY(-0.8rem) translateX(0.15rem);
}
.nav-link.active,
.nav-link:hover
{
text-decoration-line: underline;
text-decoration-style: dotted;
}
.swiper
{
width: 100%;
height: auto;
margin-left: auto;
margin-right: auto;
}
.galeria .swiper-slide
{
display: flex;
justify-content: center;
align-items: center;
padding: 10px;
text-align: center;
font-size: 18px;
background: #fff;
}
.swiper-button-prev,
.swiper-button-next
{
bottom: 15px;
top: unset;
color: rgb(var(--cor_10));
}
.swiper-pagination-bullet-active
{
background: rgb(var(--cor_30));
}
.reixa-item
{
cursor: pointer;
}
.feature-icon
{
width: 3rem;
height: 3rem;
border-radius: .75rem;
}
a.collapse-head::before
{
font-family: 'icomoon';
content: "\e917";
float: right;
transition: all 0.5s;
}
a.collapse-head.active:before
{
transform: rotate(180deg);
}
.text-bg-primary
{
background-color: rgba(var(--cor_30), var(--bs-bg-opacity, 1)) !important;
}
.text-bg-secondary
{
background-color: rgba(var(--cor_10), var(--bs-bg-opacity, 1)) !important;
}
.bg-primary
{
background-color: rgba(var(--cor_30), var(--bs-bg-opacity)) !important;
}
@media (min-width: 1024px)
{
dl
{
gap: 0;
}
dt
{
width: 60%;
}
dd
{
width: 40%;
}
}
.visually-hidden
{
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
white-space: nowrap;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
border: 0;
}
.element-focusable:focus
{
clip: auto;
overflow: visible;
height: auto;
}
.bypass-to-main:focus
{
top: 0;
left: 0;
width: 100%;
height: 40px;
line-height: 40px;
text-align: center;
background: rgb(var(--cor_30));
color: rgb(var(--cor_60));
}
/*
body
{
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
color: rgb(var(--cor_10));
font-family: 'Source Sans Pro', sans-serif;
font-size: 1rem;
background-color: rgb(var(--cor_60));
}
h1, h2, h3, h4, h5, h6
{
margin-top: 0;
color: rgb(var(--cor_30));
font-family: 'Libre Baskerville', serif;
font-weight: bold;
}
h1
{
font-size: 2rem;
}
h2
{
font-size: 1.5rem;
}
h3
{
font-size: 1.17rem;
}
h4
{
font-size: 1rem;
}
h5
{
font-size: .83rem;
}
h6
{
font-size: .67rem;
}
p
{
margin: 0;
}
a
{
color: rgb(var(--cor_10));
text-decoration-line: underline;
text-decoration-style: dotted;
}
ul li
{
list-style: none;
}
section
{
margin-bottom: 30px;
}
header#cabeceira
{
padding: 0.625rem;
}
div#logo
{
width: 230px !important;
}
div#logo img
{
width: 150px;
}
header#cabeceira input#interruptor
{
display: block;
position: absolute;
top: 1.563rem;
left: 1.563rem;
z-index: 4;
height: 1.875rem;
width: 1.875rem;
opacity: 0;
}
header#cabeceira .interruptor
{
display: flex;
flex-direction: column;
justify-content: space-between;
position: absolute;
top: 1.25rem;
left: 1.25rem;
z-index: 3;
height: 1.875rem;
width: 1.875rem;
margin: 5px;
}
header#cabeceira .interruptor .linna
{
display: block;
height: 4px;
width: 100%;
border-radius: 0.625rem;
background: rgb(var(--cor_10));
}
header#cabeceira .interruptor .linna1
{
transform-origin: 0% 0%;
transition: all 0.4s ease-in-out;
}
header#cabeceira .interruptor .linna2
{
transition: all 0.2s ease-in-out;
}
header#cabeceira .interruptor .linna3
{
transform-origin: 0% 100%;
transition: all 0.4s ease-in-out;
}
nav#menus
{
left: 0;
position: fixed;
top: 0;
z-index: 2;
height: 100vh;
width: 50%;
padding: 0;
border-right: 2px solid rgb(var(--cor_30));
color: rgb(var(--cor_30));
background-color: rgb(var(--cor_60));
transform: translateX(-100%);
transition: transform 0.5s;
}
nav#menus a
{
color: rgb(var(--cor_10));
}
ul#idiomas,
ul#usuario
{
display: flex;
flex-direction: row;
width: 75%;
margin: 20px;
padding: 0;
}
ul#idiomas
{
margin: 70px 20px 0;
}
ul#paxinas
{
display: flex;
flex-direction: column;
margin: 1.25rem 0 0;
padding: 0;
}
ul#idiomas li,
ul#paxinas li,
ul#usuario li
{
list-style: none;
}
ul#idiomas li a,
ul#usuario li a
{
display: block;
padding: 0.625rem;
border: 1px solid rgb(var(--cor_10));
border-left: 0;
text-decoration: none;
}
ul#idiomas li:first-child a,
ul#usuario li:first-child a
{
border-left: 1px solid rgb(var(--cor_10));
}
ul#idiomas li.activo a
{
color: rgb(var(--cor_60));
background-color: rgb(var(--cor_10));
}
nav#menus li a:focus
{
outline: 2px dotted rgb(var(--cor_10));
}
ul#paxinas li
{
border-left: 0.625rem solid rgb(var(--cor_60));
}
ul#paxinas li.activo
{
border-left: 0.625rem solid rgb(var(--cor_30));
}
ul#paxinas li:hover
{
border-left: 0.625rem solid rgb(var(--cor_30));
}
ul#paxinas li a
{
display: block;
padding: 1.25rem;
letter-spacing: 1px;
text-decoration: none;
text-transform: capitalize;
}
header#cabeceira input#interruptor:checked ~ nav#menus
{
transform: translateX(0);
}
header#cabeceira input#interruptor:focus ~ .interruptor
{
outline: 2px dotted rgb(var(--cor_10));
}
header#cabeceira input#interruptor:checked ~ .interruptor .linna1
{
transform: rotate(45deg) scaleX(1.3);
}
header#cabeceira input#interruptor:checked ~ .interruptor .linna2
{
transform: scaleY(0);
}
header#cabeceira input#interruptor:checked ~ .interruptor .linna3
{
transform: rotate(-45deg) scaleX(1.3);
}
header#cabeceira input#interruptor:checked:focus ~ .interruptor
{
outline: 2px dotted rgb(var(--cor_10));
}
header#cabeceira div.contedor
{
align-items: center;
display: flex;
flex-direction: row;
justify-content: center;
}
main#contido
{
flex: 1 0 auto;
}
article header
{
height: 100px;
width: 100%;
}
header.publicacion-info
{
display: flex;
flex-direction: row;
gap: 0.625rem;
}
header.publicacion-info time
{
display: block;
position: relative;
height: 5rem;
overflow: hidden;
width: 5rem;
border-radius: 0.6em;
box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
font-size: 0.75rem;
background-color: #fff;
}
header.publicacion-info time *
{
display: block;
width: 100%;
font-size: 1em;
font-style: normal;
font-weight: bold;
text-align: center;
}
header.publicacion-info time em
{
position: absolute;
bottom: 0.3em;
color: rgb(var(--cor_30));
}
header.publicacion-info time strong
{
position: absolute;
top: 0;
padding: 0.4em 0;
box-shadow: 0 2px 0 rgb(var(--cor_30));
color: white;
background-color: rgb(var(--cor_30));
}
header.publicacion-info time span
{
padding-top: 0.8em;
color: black;
font-size: 2.8em;
letter-spacing: -0.05em;
}
article#noticias div.contedor,
section#publicacions
{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
article#noticias section#categorias,
article#noticias section#etiquetas,
article#noticias section#publicacions,
section#publicacions article
{
width: 100%;
}
section#publicacions article
{
margin: 0.5rem;
}
article section > h3
{
text-align: center;
}
footer#pe
{
flex-shrink: 0;
padding: 1.25rem 0.625rem;
color: rgb(var(--cor_60));
background-color: rgb(var(--cor_30));
}
footer#pe p
{
font-size: .83rem;
text-align: center;
}
footer#pe a
{
color: rgb(var(--cor_60));
}
div.celda
{
display: flex;
flex-direction: column;
gap: 20px;
justify-content: center;
margin-bottom: 30px;
}
div.celda.superior
{
align-items: flex-start;
flex-direction: column;
}
div.celda.superior p
{
padding-block: 20px;
}
figure.enlace
{
position: relative;
overflow: hidden;
cursor: pointer;
}
figure.enlace img
{
min-height: 100%;
max-width: 100%;
transition: all .3s ease-in-out;
}
figure.enlace:hover img
{
transform: scale(1.15);
transition: all .3s ease-in-out;
}
figure.enlace figcaption
{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
rgba(255, 255, 255, 0.4),
rgba(255, 255, 255, 0.4)
);
}
figure.enlace figcaption a
{
color: rgb(var(--cor_30));
font-family: 'Libre Baskerville', serif;
font-weight: 700;
text-transform: uppercase;
}
div.artigo
{
padding: 10px;
}
form#inicio-sesion
{
display: flex;
flex-direction: column;
width: 80%;
margin: 0 auto;
padding: 10px;
border: 1px solid rgb(var(--cor_10));
border-radius: 0.625rem;
text-align: center;
}
form#inicio-sesion div#notificacions
{
margin-bottom: 10px;
border: 1px solid;
border-radius: 0.625rem;
}
form#inicio-sesion div#notificacions.erro
{
color: #D8000C;
background-color: #FFBABA;
}
form#inicio-sesion div#notificacions.alerta
{
color: #9f6000;
background-color: #feefb3;
}
form#inicio-sesion div#notificacions.exito
{
color: #4f8a10;
background-color: #dff2bf;
}
form#inicio-sesion div#notificacions.info
{
color: #00529b;
background-color: #bde5f8;
}
form#inicio-sesion div#notificacions h3
{
margin: 0;
padding: 10px;
color: inherit;
}
form#inicio-sesion div.elemento
{
display: flex;
flex-direction: row;
margin-bottom: 10px;
}
form#inicio-sesion div.elemento > *
{
width: 50%;
}
.contedor
{
width: 90%;
margin: 0 auto 20px;
}
.columna
{
align-items: center;
display: flex;
flex-direction: column;
justify-content: center;
}
.info
{
color: rgb(var(--cor_30));
font-size: 0.875rem;
}
.info a
{
color: rgb(var(--cor_30));
font-size: 0.875rem;
text-decoration: none;
}
.artigo p
{
margin-bottom: 1rem;
}
ul.lista
{
margin: 1rem 0;
padding-left: 1rem;
text-align: center;
}
ul.nube
{
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
margin: 1rem 0;
padding-left: 1rem;
}
div.resumo
{
padding: 0.625rem;
}
.oculto-movil
{
display: none;
}
.visually-hidden
{
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
white-space: nowrap;
overflow: hidden;
clip: rect(1px, 1px, 1px, 1px);
border: 0;
}
.element-focusable:focus
{
clip: auto;
overflow: visible;
height: auto;
}
.bypass-to-main:focus
{
top: 0;
left: 0;
width: 100%;
height: 40px;
line-height: 40px;
text-align: center;
background: rgb(var(--cor_30));
color: rgb(var(--cor_60));
}
@media (min-width:768px)
{
div#logo img
{
width: 230px;
}
}
@media (max-height: 768px) and (orientation: landscape)
{
ul#idiomas
{
margin-top: 20px;
margin-left: 70px;
}
ul#paxinas li a
{
padding: 0.625rem;
}
}
@media (min-width: 1024px)
{
dl
{
gap: 0;
}
dt
{
width: 50%;
}
dd
{
width: 50%;
}
header#cabeceira div.contedor
{
align-items: flex-start;
display: flex;
flex-direction: row;
justify-content: space-between;
}
header#cabeceira input#interruptor,
header#cabeceira .interruptor
{
display: none;
}
nav#menus
{
position: initial;
width: initial;
height: initial;
padding: 0;
border: initial;
background-color: transparent;
transform: initial;
transition: initial;
}
nav#menus > div
{
display: flex;
flex-direction: row-reverse;
}
ul#idiomas,
ul#usuario
{
justify-content: flex-end;
width: initial;
margin: 0 10px;
}
ul#paxinas
{
flex-direction: row;
justify-content: flex-end;
gap: 20px;
}
ul#paxinas li
{
border-left: 0;
}
ul#paxinas li a
{
padding: 0;
}
ul#paxinas li:hover, ul#paxinas li.activo
{
border-left: 0;
}
ul#paxinas li:hover a, ul#paxinas li.activo a
{
text-decoration: underline dotted;
}
article header, article header .columna
{
height: 100px;
}
article#noticias section#categorias,
article#noticias section#etiquetas
{
width: 50%;
}
section#publicacions article
{
width: calc(50% - 1rem);
}
form#inicio-sesion
{
width: 50%;
}
div.celda.esquerda
{
flex-direction: row;
}
div.celda.dereita
{
flex-direction: row-reverse;
}
div.celda.esquerda > *, div.celda.dereita > *
{
width: 50%;
}
div.celda.esquerda p
{
padding-left: 20px;
}
div.celda.dereita p
{
padding-right: 20px;
}
.contedor
{
width: 100%;
max-width: 62.5rem;
}
.oculto-escritorio
{
display: none;
}
.oculto-movil
{
display: initial;
}
}
@media (min-width: 1025px)
{
header#cabeceira div.contedor > *
{
width: unset;
}
}