verifica_JS/style.css
La Programmatrice Verde f6d3153d0c Creazione
2025-04-14 17:03:34 +02:00

179 lines
3.2 KiB
CSS

body {
background-color: rgb(47, 94, 95);
color: white;
font-family: Comic Sans MS;
font-size: 18pt;
}
div {
box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}
a {
color: blue;
}
.titolo {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 55px;
text-align: center;
font-style: italic;
font-weight: bold;
}
.footer {
text-align: center;
margin-top: 25px;
}
.topnav {
overflow: hidden;
background-color: rgb(28, 57, 58);
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #04AA6D;
color: white;
}
.immagineFooter {
transform: scaleX(-1);
height: 55px;
}
.griglia {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, 1fr);
grid-column-gap: 25px;
grid-row-gap: 25px;
padding-top: 25px;
margin-bottom: 25px;
}
.paura,
.curiosità {
text-align: right;
}
.felicità,
.paura,
.rabbia,
.curiosità {
font-size: 25pt;
margin-left: 5%;
margin-right: 5%;
border-radius: 25px;
transition: transform .2s;
}
.felicità:hover,
.paura:hover,
.rabbia:hover,
.curiosità:hover {
transform: scale(1.03);
}
.felicità {
background-color: rgb(202, 202, 26);
grid-area: 1 / 1 / 2 / 2;
}
.rabbia {
background-color: rgb(182, 8, 8);
grid-area: 2 / 1 / 3 / 2;
}
.paura {
background-color: rgb(60, 15, 104);
grid-area: 1 / 2 / 2 / 3;
}
.curiosità {
background-color: rgb(132, 199, 33);
grid-area: 2 / 2 / 3 / 3;
}
.felicità>img,
.paura>img,
.rabbia>img,
.curiosità>img {
height: 250px;
transition: transform .2s;
}
.felicità>img:hover,
.paura>img:hover,
.rabbia>img:hover,
.curiosità>img:hover {
transform: scale(1.03);
}
.felicità>img,
.rabbia>img {
padding-left: 300px;
padding-bottom: 45px;
}
.paura>img,
.curiosità>img {
padding-right: 300px;
padding-bottom: 45px;
}
.voto {
text-align: center;
}
button {
appearance: none;
background-color: #2ea44f;
border: 1px solid rgba(27, 31, 35, .15);
border-radius: 6px;
box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
box-sizing: border-box;
color: #fff;
cursor: pointer;
display: inline-block;
font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
font-size: 14px;
font-weight: 600;
line-height: 20px;
padding: 6px 16px;
position: relative;
text-align: center;
text-decoration: none;
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
vertical-align: middle;
white-space: nowrap;
}
button:hover {
background-color: #2c974b;
}
button:focus {
box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
outline: none;
}
button:active {
background-color: #298e46;
box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}