viz_produttori/software_export/css/main.css
2023-05-02 21:19:14 +02:00

260 lines
4.4 KiB
CSS

*! Generated by Font Squirrel (https://www.fontsquirrel.com) on May 15, 2020 */
@font-face {
font-family: 'cardobold';
src: url('../fonts/cardo-bold-webfont.woff2') format('woff2'),
url('../fonts/cardo-bold-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'cardoregular';
src: url('../fonts/cardo-regular-webfont.woff2') format('woff2'),
url('../fonts/cardo-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'afta_serifregular';
src: url('../fonts/aftaserifthin-regular-webfont.woff2') format('woff2'),
url('../fonts/aftaserifthin-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'cardoitalic';
src: url('../fonts/cardo-italic-webfont.woff2') format('woff2'),
url('../fonts/cardo-italic-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
/*
* Codice css per l'applicazione
*/
body {
/* background-image: url(../images/agricoltura_bene_comune.png);*/
background-position: center;
background-repeat: space;
}
header.page-header {
margin-top: 0;
}
header.page-header img {
margin-top: 9px;
background-color: white;
border-radius: 5px;
border-top-left-radius: 50px;
border-top-right-radius: 50px;
}
header.page-header nav {
margin-top: 15px;
}
section.page-body {
margin-top: 20px;
margin-bottom: 20px;
}
.card.accordion.shuffle-item.filtered {
border: solid 1px goldenrod;
}
/*grid per schermi grandi ed orizzontali*/
.card {
display: flex;
}
.card-body {
order: 1;
max-width: 50%;
padding: 2em;
}
.logo {
background-image: url("/images/campiapertilogo.png");
height: 8em;
background-repeat: no-repeat;
margin-left: 40%;
margin-bottom: 10px;
}
.descrizione {
background-color: black;
color: white;
padding: 2em;
font-family: afta_serifregular;
font-weight: 900;
font-size: 10pt;
}
p.descrive:first-letter {
color: gold;
font-size: 2.6em;
}
.card-header {
order: 2;
min-width: 35%;
}
.card-hidden {
}
h1 {
margin: 1em 0em 0.1em 0em;;
font-weight: 600;
text-transform: uppercase;
font-size: 2.6em;
font-family: afta_serifregular;
}
p.prodotti {
background: gold;
padding: 0.1em 0.5em;
color: #333;
}
p.tratteggio {
border-bottom: dotted;
transform: rotate(1deg) translate(-17px, 0px);
padding-bottom: 0.5em;
margin-bottom: 1.5em;
}
/*lato destro*/
p.luogo {
margin-bottom: 2em;
}
/*tuttu*/
span {
line-height: 1;
}
span.info {
line-height: 1;
margin-bottom: 1em;
display: inline-block;
}
.uppercase {
text-transform: uppercase;
}
span.info {
line-height: 1;
margin-bottom: 1em;
display: inline-block;
}
div.comics-container {
padding: 5px;
text-align: center;
height: auto;
background: white;
}
article.comics {
border: 1px solid #ccc;
}
img.cover {
max-height: 253px;
}
footer.page-footer,
header.page-header.aziende {
background-color: goldenrod;
}
header.page-header.ingressi {
background-color: forestgreen;
}
header.page-header.scartati {
background-color: grey;
}
/* no print */
body .noprint button,
body > center > h2,
body > p,
#ingressi, #aziende, #scartati {
display: none;
}
hide {
display: none !important;
height: 0;
}
.container-fluid {
/* max-width: 1048px;*/
}
@page default {
margin: 2cm;
}
@page :left {
margin: 0.8cm;
}
@page :right {
margin: 0.8cm;
}
@media print {
div.card {
font-size: 12pt !important;
line-height: 1;
}
h5 {
margin: 10px 0px;
font-weight: 600;
text-transform: uppercase;
}
input, .noprint {
display: none !important;
}
div.card {
page-break-after: always !important;
page-break-inside: avoid !important;
}
.card.accordion.shuffle-item.filtered {
border: none;
}
.descrizione {
background-color: black !important;
color: white !important;
line-height:1.5;
font-family: sans;
font-weight: 900;
}
p.descrive, p.collabora, p.collabora span{
color: white !important;
}
/* div.card{page-break-after: always}*/
/*div.filtered { }*/
/*div.card.accordion.shuffle-item.filtered { display:none !important;}*/
}
@media only screen and (max-width: 600px) {
.col-sm-12.card.accordion.shuffle-item.filtered {
flex-direction: column;
}
.card-body {
max-width: 100%;}
}