atcheck/mapka/STUDENT/przylozlegitke.css
2019-12-13 16:55:05 +01:00

88 lines
1.5 KiB
CSS

body {
background-color: #f8fafc;
}
.wrapper {
margin: 0 auto;
display: inline-block;
padding: 20px;
width: 70%;
height:60vh;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.czytnik {
display: inline-block;
text-align: center;
position: absolute;
left: 50%;
bottom: -30%;
transform: translate(-50%, -10%);
color: #fff;
background-color: #3490dc;
border-color: #3490dc;
padding: 50px 100px;
font: 400 13.3333px Arial;
font-size: 30px;
font-weight: 400;
}
.czytnik:hover {
box-shadow: 0 0 rgb(103, 88, 184);
color: #fff;
background-color: #227dc7;
border-color: #2176bd;
}
.main-text {
text-transform: uppercase;
font-family: 'Nunito', sans-serif;
font-weight: 500;
text-shadow: 0 0 2px rgba(56, 55, 55, 0.6);
color: #636b6f;
text-align: center;
font-size: 12vh;
}
@media (max-width: 1300px) {
.wrapper {
height: 50%;
}
.main-text {
font-size: 9vh;
width: 100%;
}
}
@media (max-width: 870px) {
.wrapper {
height: 35%;
}
.main-text {
font-size: 3.5em;
line-height: 10vh;
width: 100%;
}
.czytnik {
bottom: -30%;
transform: translate(-50%, -10%);
padding: 30px 50px;
font-size: 25px;
}
}
@media (max-width: 650px) {
.wrapper {
height: 30%;
}
.main-text {
font-size: 2.7em;
line-height: 6vh;
width: 100%;
padding: 20px 0;
}
}