praiadeseselle/site/templates/css/style.css

476 lines
No EOL
7.5 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;
}
dl
{
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10%;
max-width: 18.75rem;
margin: 0;
}
dt
{
width: 10%;
color: rgb(var(--cor_30));
}
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);
}
#menu-desplegable .nav-item
{
border-left: 0.625rem solid rgb(var(--cor_60));
}
#menu-desplegable .nav-item.active,
#menu-desplegable .nav-item:hover
{
border-left: 0.625rem solid rgb(var(--cor_30));
text-decoration-line: underline;
text-decoration-style: dotted;
}
.navbar-toggler-icon
{
color: rgba(var(--cor_10));
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.btn-close:focus
{
outline: 2px dotted rgb(var(--cor_10)) !important;
box-shadow: none;
}
.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;
}
.border-primary
{
border-color: rgba(var(--cor_30), var(--bs-border-opacity)) !important;
}
@media (min-width: 992px)
{
#menu-desplegable .nav-item,
#menu-desplegable .nav-item.active,
#menu-desplegable .nav-item:hover
{
border-left: 0;
}
.navbar-toggler
{
display: none;
}
}
@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));
}