atcheck/mapka/STUDENT/przylozlegitke.css

88 lines
1.5 KiB
CSS
Raw Normal View History

2019-12-06 18:34:19 +01:00
body {
2019-12-13 16:55:05 +01:00
background-color: #f8fafc;
2019-12-06 18:34:19 +01:00
}
.wrapper {
margin: 0 auto;
display: inline-block;
2019-12-13 16:55:05 +01:00
padding: 20px;
2019-12-06 18:34:19 +01:00
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%;
2019-12-13 16:55:05 +01:00
bottom: -30%;
2019-12-06 18:34:19 +01:00
transform: translate(-50%, -10%);
2019-12-13 16:55:05 +01:00
color: #fff;
background-color: #3490dc;
border-color: #3490dc;
padding: 50px 100px;
font: 400 13.3333px Arial;
2019-12-06 18:34:19 +01:00
font-size: 30px;
2019-12-13 16:55:05 +01:00
font-weight: 400;
2019-12-06 18:34:19 +01:00
}
.czytnik:hover {
box-shadow: 0 0 rgb(103, 88, 184);
2019-12-13 16:55:05 +01:00
color: #fff;
background-color: #227dc7;
border-color: #2176bd;
2019-12-06 18:34:19 +01:00
}
.main-text {
text-transform: uppercase;
2019-12-13 16:55:05 +01:00
font-family: 'Nunito', sans-serif;
font-weight: 500;
text-shadow: 0 0 2px rgba(56, 55, 55, 0.6);
color: #636b6f;
2019-12-06 18:34:19 +01:00
text-align: center;
2019-12-13 16:55:05 +01:00
font-size: 12vh;
2019-12-06 18:34:19 +01:00
}
@media (max-width: 1300px) {
2019-12-13 16:55:05 +01:00
.wrapper {
height: 50%;
}
.main-text {
font-size: 9vh;
2019-12-06 18:34:19 +01:00
width: 100%;
}
}
2019-12-13 16:55:05 +01:00
@media (max-width: 870px) {
2019-12-06 18:34:19 +01:00
.wrapper {
2019-12-13 16:55:05 +01:00
height: 35%;
2019-12-06 18:34:19 +01:00
}
.main-text {
2019-12-13 16:55:05 +01:00
font-size: 3.5em;
2019-12-06 18:34:19 +01:00
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 {
2019-12-13 16:55:05 +01:00
font-size: 2.7em;
2019-12-06 18:34:19 +01:00
line-height: 6vh;
width: 100%;
padding: 20px 0;
2019-12-13 16:55:05 +01:00
}
}