generated from francesco/deploy-dinamico
Deploy tramite custom CI/CD Action
All checks were successful
Deploy / trigger (push) Successful in 2s
All checks were successful
Deploy / trigger (push) Successful in 2s
This commit is contained in:
403
esercizio3/candidatura.css
Normal file
403
esercizio3/candidatura.css
Normal file
@@ -0,0 +1,403 @@
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
body,
|
||||
input,
|
||||
button,
|
||||
select,
|
||||
textarea {
|
||||
font-family: "Outfit", sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: hsl(44, 100%, 96%);
|
||||
color: #000101;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.container {
|
||||
width: 95%;
|
||||
max-width: 1200px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background-color: #264f36;
|
||||
backdrop-filter: blur(6px);
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
padding: 1rem 0;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
header .container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
header .logo {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
header .logo img {
|
||||
display: block;
|
||||
height: auto;
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.hero {
|
||||
background-color: #264f36;
|
||||
background-image: url("img/hero.jpg");
|
||||
background-position: 50% 20%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.hero .overlay {
|
||||
padding: 12rem 1rem 8rem 1rem;
|
||||
background-color: hsla(43, 100%, 53%, 0.8);
|
||||
backdrop-filter: blur(2px);
|
||||
-webkit-backdrop-filter: blur(2px);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.page {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-top: 4rem;
|
||||
margin-bottom: 4rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
section h2 {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.notice {
|
||||
width: 95%;
|
||||
max-width: 900px;
|
||||
font-size: 87%;
|
||||
opacity: 0.85;
|
||||
margin: 0 auto;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
section form {
|
||||
background-color: hsl(44, 100%, 86%);
|
||||
width: 95%;
|
||||
max-width: 900px;
|
||||
margin: 2rem auto;
|
||||
margin-bottom: 0;
|
||||
padding: 0rem;
|
||||
border-radius: 1rem;
|
||||
box-shadow: 0px 0px 20px hsla(44, 100%, 86%, 0.4);
|
||||
border: 1px solid hsla(43, 100%, 53%, 1);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
section form .effect {
|
||||
background-color: hsla(43, 100%, 53%, 1);
|
||||
background: linear-gradient(0deg, #ffbb0f 30%, transparent);
|
||||
height: 65%;
|
||||
width: 100%;
|
||||
border-radius: 0 0 0.9rem 0.9rem;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
section form .container {
|
||||
z-index: 1;
|
||||
padding: 1rem;
|
||||
padding-bottom: 2rem;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
section form img {
|
||||
height: auto;
|
||||
width: calc(100% - 2rem);
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 1rem;
|
||||
}
|
||||
|
||||
section form .orizzontale {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
flex-wrap: nowrap;
|
||||
gap: 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
section form fieldset {
|
||||
border: none;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
flex-wrap: nowrap;
|
||||
gap: 0.5rem;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
section form .orizzontale fieldset {
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
section form fieldset.buttons {
|
||||
max-width: max-content;
|
||||
}
|
||||
|
||||
section form fieldset label {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
section form .orizzontale fieldset > label {
|
||||
display: block;
|
||||
width: 100%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
section form fieldset input[type="text"],
|
||||
section form fieldset input[type="email"],
|
||||
section form fieldset textarea {
|
||||
font-size: 98%;
|
||||
padding: 0.4rem 0.6rem;
|
||||
border-radius: 0.5rem;
|
||||
border: 1px solid hsla(143, 35%, 23%, 0.5);
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
background-color: hsla(143, 35%, 95%, 0.8);
|
||||
}
|
||||
|
||||
section form fieldset input[type="file"] {
|
||||
font-size: 88%;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
section form fieldset input[type="text"]:hover,
|
||||
section form fieldset input[type="text"]:focus,
|
||||
section form fieldset input[type="email"]:hover,
|
||||
section form fieldset input[type="email"]:focus,
|
||||
section form fieldset textarea:hover,
|
||||
section form fieldset textarea:focus {
|
||||
border: 1px solid hsla(143, 35%, 23%, 1);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
section form fieldset textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
section form fieldset input[type="submit"],
|
||||
section form fieldset input[type="button"],
|
||||
.button {
|
||||
font-size: 95%;
|
||||
padding: 0.4rem 0.6rem;
|
||||
border-radius: 0.5rem;
|
||||
background-color: #264f36;
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
section form fieldset input[type="submit"]:hover,
|
||||
section form fieldset input[type="button"]:hover,
|
||||
.button:hover {
|
||||
background-color: hsl(143, 35%, 18%);
|
||||
}
|
||||
|
||||
#upload {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.uploader {
|
||||
display: flex !important;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 1rem;
|
||||
border-radius: 1rem;
|
||||
width: 100%;
|
||||
height: 8rem;
|
||||
text-align: center;
|
||||
margin-top: 1rem;
|
||||
border: 3px dashed hsla(143, 35%, 23%, 0.8);
|
||||
background-color: hsla(143, 35%, 95%, 0.8);
|
||||
white-space: unset;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.uploader span {
|
||||
font-weight: normal;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
section .boxes {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
section .boxes .box {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
width: 99%;
|
||||
max-width: 1100px;
|
||||
margin: 0 auto;
|
||||
background-color: hsl(143, 35%, 20%);
|
||||
color: #fff;
|
||||
border-radius: 1rem;
|
||||
overflow: hidden;
|
||||
box-shadow: 0px 0px 20px hsla(143, 35%, 10%, 0.4);
|
||||
}
|
||||
|
||||
section .boxes .box .image {
|
||||
flex-grow: 1;
|
||||
max-width: 25rem;
|
||||
min-width: 25rem;
|
||||
}
|
||||
|
||||
section .boxes .box .image img {
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
height: 100%;
|
||||
display: block;
|
||||
aspect-ratio: 4/3;
|
||||
}
|
||||
|
||||
section .boxes .box .data {
|
||||
flex-grow: 2;
|
||||
text-align: left;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
section .boxes .box .data h3,
|
||||
.corso-box .data h3 {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
|
||||
section .boxes .box .data h3,
|
||||
.corso-box .data h3 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 600px) {
|
||||
section form .orizzontale {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
section .boxes .box .data .meta,
|
||||
.corso-box .data .meta {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
margin: 1rem 0;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
section .boxes .box .data .meta p,
|
||||
.corso-box .data .meta p {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
width: max-content;
|
||||
padding: 0.2rem 0.4rem;
|
||||
border-radius: 0.5rem;
|
||||
background-color: hsl(143, 35%, 30%);
|
||||
}
|
||||
|
||||
section .buttons {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #fff;
|
||||
color: hsl(348, 100%, 40%);
|
||||
padding: 0.2rem 0.3rem;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.post-data {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: hsl(143, 35%, 23%);
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
background-color: hsl(143, 35%, 23%);
|
||||
padding: 1rem 0;
|
||||
color: #fff;
|
||||
}
|
||||
Reference in New Issue
Block a user