1
0
Fork 0
mirror of https://gitlab.com/nekoya/web.git synced 2025-04-25 21:48:01 +02:00

About-Us - Optimized responsiveness

This commit is contained in:
Matthew Patrick 2021-09-14 12:02:23 +07:00
parent 95c46de76f
commit d66c7d09c2

View file

@ -55,10 +55,6 @@
line-height: 4vw;
}
.card-img-overlay {
top: 2.7vw;
}
.card-img-overlay h1 {
font-size: 5vw;
}
@ -70,6 +66,18 @@
.card-img-overlay p {
font-size: 1.4vw;
}
@media screen and (max-width: 500px) {
.card-img-overlay {
top: -2.7vw;
}
}
@media screen and (min-width: 501px) {
.card-img-overlay {
top: 2.7vw;
}
}
</style>
</head>
<body>