crbtc.org/assets/style/pages/index/hero.css

48 lines
805 B
CSS
Raw Normal View History

.index .hero {
2023-11-30 07:48:17 +00:00
padding: calc(50vh - 280px) 0 14vh 0;
2023-07-17 19:11:13 +00:00
h3 {
color: var(--f-color);
2023-07-17 19:11:13 +00:00
font-size: 4rem;
line-height: 4rem;
text-align: center;
span {
position: relative;
color: var(--btc);
2023-07-17 19:11:13 +00:00
&:after {
content: "";
position: absolute;
bottom: .55rem;
left: 0;
width: 100%;
height: .2rem;
border: .2rem solid var(--btc);
2023-07-17 19:11:13 +00:00
}
}
}
}
2023-11-30 07:48:17 +00:00
@media only screen and (max-width: 1440px) {
.index .hero {
2023-11-30 07:48:17 +00:00
padding: calc(50vh - 240px) 0 10vh 0;
}
}
@media only screen and (max-width: 768px) {
.index .hero {
2023-07-17 19:11:13 +00:00
padding: 18vh 0;
h3 {
font-size: 2.2rem;
line-height: 2.2rem;
span:after {
bottom: .35rem;
height: .15rem;
border-width: .15rem;
}
}
}
}