generated from francesco/deploy-dinamico
357 lines
6.1 KiB
CSS
357 lines
6.1 KiB
CSS
@font-face {
|
|
font-family: "Isonorm";
|
|
src: url("https://db.onlinewebfonts.com/t/855a3f407942ac7acbc26e4f98cc3ec0.eot");
|
|
src: url("https://db.onlinewebfonts.com/t/855a3f407942ac7acbc26e4f98cc3ec0.eot?#iefix")format("embedded-opentype"),
|
|
url("https://db.onlinewebfonts.com/t/855a3f407942ac7acbc26e4f98cc3ec0.woff2")format("woff2"),
|
|
url("https://db.onlinewebfonts.com/t/855a3f407942ac7acbc26e4f98cc3ec0.woff")format("woff"),
|
|
url("https://db.onlinewebfonts.com/t/855a3f407942ac7acbc26e4f98cc3ec0.ttf")format("truetype"),
|
|
url("https://db.onlinewebfonts.com/t/855a3f407942ac7acbc26e4f98cc3ec0.svg#Isonorm W01 Regular")format("svg");
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body,
|
|
button,
|
|
input,
|
|
select {
|
|
font-family: "Isonorm", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
}
|
|
|
|
body {
|
|
background-color: hsl(0, 0%, 5%);
|
|
color: #fff;
|
|
background: radial-gradient(hsl(0, 0%, 14%), hsl(0, 0%, 1%));
|
|
background-size: cover;
|
|
background-repeat: no-repeat;
|
|
min-height: 100vh;
|
|
font-size: 17px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.container {
|
|
width: 92%;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
a {
|
|
color: #fff;
|
|
}
|
|
|
|
form {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
fieldset {
|
|
width: 100%;
|
|
border: none;
|
|
padding: 1rem 1rem;
|
|
}
|
|
|
|
input[type=text],
|
|
input[type=date] {
|
|
display: block;
|
|
width: 100%;
|
|
margin: 0;
|
|
border: 1px solid hsl(359, 80%, 43%);
|
|
outline: none;
|
|
padding: 0.5rem 0.5rem;
|
|
border-radius: 0.8rem;
|
|
background-color: rgba(2, 2, 2, 0.4);
|
|
color: #fff;
|
|
fill: #fff;
|
|
color-scheme: dark;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.message {
|
|
background-color: green;
|
|
width: 100%;
|
|
max-width: 400px;
|
|
border-radius: 1rem;
|
|
padding: 1rem 1.2rem;
|
|
margin: 0 auto;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
input[type=text]:hover,
|
|
input[type=date]:hover {
|
|
border: 1px solid hsl(359, 80%, 43%);
|
|
}
|
|
|
|
form button {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
button,
|
|
a.button {
|
|
display: block;
|
|
cursor: pointer;
|
|
background-color: #c51619;
|
|
border: none;
|
|
outline: none;
|
|
padding: 0.5rem 0.8rem;
|
|
border-radius: 0.8rem;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
width: max-content;
|
|
text-decoration: none;
|
|
font-size: 16px;
|
|
}
|
|
|
|
label {
|
|
font-weight: bold;
|
|
display: block;
|
|
margin-bottom: 0.3rem;
|
|
}
|
|
|
|
header {
|
|
padding: 1rem 0;
|
|
font-size: 150%;
|
|
}
|
|
|
|
header img {
|
|
width: 80px;
|
|
}
|
|
|
|
header .container {
|
|
padding: 0;
|
|
}
|
|
|
|
header .container div,
|
|
header .container {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.page {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
footer .container {
|
|
padding: 2rem 0;
|
|
text-align: center;
|
|
opacity: 0.8;
|
|
font-size: 90%;
|
|
}
|
|
|
|
.hero {
|
|
background: url('bg.jpg');
|
|
background-size: cover;
|
|
background-position: center;
|
|
padding: 6rem 2rem;
|
|
text-align: center;
|
|
font-size: 200%;
|
|
border-radius: 2rem;
|
|
background-color: rgba(2, 2, 2, 0.4);
|
|
background-blend-mode: overlay;
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.grid>a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
.card {
|
|
padding: 2rem;
|
|
border-radius: 2rem;
|
|
text-align: center;
|
|
background-color: rgba(2, 2, 2, 1);
|
|
}
|
|
|
|
.card img {
|
|
width: 100px;
|
|
height: 100px;
|
|
object-fit: contain;
|
|
display: block;
|
|
margin: 0 auto;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.films {
|
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
|
}
|
|
|
|
@media only screen and (max-width: 899px) {
|
|
.films {
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 599px) {
|
|
.films {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.hero.film>div {
|
|
padding: 6.2rem 0rem !important;
|
|
}
|
|
}
|
|
|
|
.films .film {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.films .film img {
|
|
width: 96%;
|
|
display: block;
|
|
border-radius: 1rem;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.films .film h5 {
|
|
font-size: 1.67rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.films .film .genere {
|
|
text-transform: uppercase;
|
|
opacity: 0.8;
|
|
display: inline-block;
|
|
border-bottom: 2px solid hsl(359, 80%, 43%);
|
|
padding: 0.2rem 0;
|
|
}
|
|
|
|
@media only screen and (max-width: 499px) {
|
|
header {
|
|
font-size: 90%;
|
|
}
|
|
|
|
.grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.hero form fieldset {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.hero.film {
|
|
padding: 2rem;
|
|
}
|
|
|
|
.hero.film {
|
|
background-color: rgba(2, 2, 2, 0.9);
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
gap: 2rem;
|
|
justify-content: space-between;
|
|
text-align: left;
|
|
text-wrap: balance;
|
|
}
|
|
|
|
.hero.film h1,
|
|
.hero.film .genere {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.hero.film .genere {
|
|
display: block;
|
|
border-left: 2px solid hsl(359, 80%, 43%);
|
|
padding: 0 0.5rem;
|
|
font-size: 26px;
|
|
}
|
|
|
|
.hero.film>div {
|
|
padding: 6.2rem 2rem;
|
|
}
|
|
|
|
.hero.film img {
|
|
width: auto;
|
|
height: 100%;
|
|
max-height: 480px;
|
|
max-width: 100%;
|
|
display: block;
|
|
border-radius: 1rem;
|
|
margin: -4rem 0;
|
|
}
|
|
|
|
.hero.film .meta {
|
|
opacity: 0.6;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.page.film {
|
|
font-size: 120%;
|
|
}
|
|
|
|
.page.film .container {
|
|
max-width: 900px;
|
|
}
|
|
|
|
.page.film h2 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.page.film .trama {
|
|
margin-bottom: 4rem;
|
|
}
|
|
|
|
.films .attore {
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.films .attore img {
|
|
width: 100px;
|
|
height: 100px;
|
|
object-fit: contain;
|
|
display: block;
|
|
margin: 0 auto;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.films .attore h5 {
|
|
font-size: 1.67rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.films .attore span {
|
|
display: block;
|
|
margin: 0 auto;
|
|
font-size: 80%;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.films .attore .ruolo {
|
|
text-transform: uppercase;
|
|
opacity: 0.8;
|
|
display: inline-block;
|
|
border-bottom: 2px solid hsl(359, 80%, 43%);
|
|
padding: 0.2rem 0;
|
|
margin: 1rem 0;
|
|
font-size: 80%;
|
|
} |