Counter-to-new-year/main.css

92 lines
2.1 KiB
CSS
Raw Normal View History

2022-11-08 20:25:04 +00:00
@font-face {
font-family: 'Eurostile Round';
src: local('Eurostile Round Medium'), local('EurostileRound-Medium'), url('https://dan63.by/static/EurostileRound-Medium.ttf') format('truetype');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Eurostile Round Extended';
src: local('Eurostile Round Extended Regular'), local('EurostileRoundExtended-Regular'), url('https://dan63.by/static/EurostileRoundExtended-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Eurostile Round Extended';
src: local('Eurostile Round Extended Black'), local('EurostileRoundExtended-Black'), url('https://dan63.by/static/EurostileRoundExtended-Black.ttf') format('truetype');
font-weight: 900;
font-style: normal;
}
2020-11-30 19:15:49 +00:00
body {
text-align: center;
2022-11-08 20:25:04 +00:00
font-family: "Eurostile Round";
font-weight: 500;
font-style: normal;
display: grid;
height: 100vh;
2021-12-19 18:24:54 +00:00
background: #000;
align-content: center;
2022-11-08 20:25:04 +00:00
text-shadow: 0px 0px 4px #fff9, 0px 0px 10px #0004, 0px 0px 20px #aaa4, 0px 0px 100px #fff4;
2020-11-30 19:15:49 +00:00
}
2022-11-08 20:25:04 +00:00
#countdown-title{
2020-11-30 19:15:49 +00:00
color: #fff;
2022-11-08 20:25:04 +00:00
font-family: 'Eurostile Round Extended';
font-weight: normal;
font-style: normal;
2020-11-30 19:15:49 +00:00
font-size: 40px;
position: absolute;
width: 100%;
margin: 3vh 0 0 0;
2020-11-30 19:15:49 +00:00
}
.countdown {
color: #fff;
display: flex;
2022-11-08 20:25:04 +00:00
flex-wrap: wrap;
font-family: 'Eurostile Round Extended';
font-weight: 900;
font-style: normal;
align-items: baseline;
2020-11-30 19:15:49 +00:00
font-size: 30px;
width: max-content;
margin: auto;
}
#congrats{
font-size: 40px;
font-weight: 400;
color: #fff;
}
.countdown-inner {
2022-11-08 20:25:04 +00:00
font-size: 12vw;
2020-11-30 19:15:49 +00:00
}
.captions{
display: flex;
width: fit-content;
margin: 0 auto;
}
2021-08-11 18:56:11 +00:00
.incard_l {
display: block;
text-align: left;
position: absolute;
}
.incard_r {
display: block;
text-align: right;
}
2020-11-30 19:15:49 +00:00
.didts {
display: inline-block;
2021-12-21 15:38:05 +00:00
}
#separator1, #separator2{
transition: 250ms ease-in-out;
2022-11-08 20:25:04 +00:00
}
footer{
color: #ffffff;
text-decoration: underline;
width: 100%;
position: absolute;
bottom: 0;
display: flex;
justify-content: center;
z-index: 2;
2020-11-30 19:15:49 +00:00
}