add the jankiest responsive design to bg

This commit is contained in:
Youwen Wu 2023-10-10 22:54:52 -07:00
parent f609e5cfb9
commit 3301404de7

View file

@ -150,14 +150,46 @@ footer p {
} }
} }
/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 1000px) {
/* Styles */
.bg-text { .bg-text {
font: bold 300px/310px Georgia, serif; font: bold 30vw Georgia, serif;
color: #100b0b; color: #100b0b;
opacity: 0.1; opacity: 0.2;
/* background: yellow; */ /* background: yellow; */
position: absolute; position: absolute;
right: 0; right: 0;
word-break: break-word;
user-select: none; user-select: none;
/* z-index: -1; */ z-index: 1;
pointer-events: none; pointer-events: none;
} }
}
/* iPads (landscape) ----------- */
@media only screen and not (max-width : 1000px) {
/* Styles */
.bg-text {
font: bold 14vw Georgia, serif;
color: #100b0b;
opacity: 0.1;
position: absolute;
right: 0;
user-select: none;
pointer-events: none;
z-index: 1;
}
}
/* .bg-text {
font: bold 14vw Georgia, serif;
color: #100b0b;
opacity: 0.1;
position: absolute;
right: 0;
user-select: none;
pointer-events: none;
} */