fix on mobile (i am not fixing the iframe fuck the iframe)

This commit is contained in:
SadlyNotSappho 2023-05-30 15:32:48 -07:00
parent 7abb8c07cd
commit 58d4f49363
4 changed files with 74 additions and 108 deletions

View File

@ -1,59 +0,0 @@
:root {
--cat-rosewater: #dc8a78;
--cat-flamingo: #dd7878;
--cat-pink: #ea76cb;
--cat-mauve: #8839ef;
--cat-red: #d20f39;
--cat-maroon: #e64553;
--cat-peach: #fe640b;
--cat-yellow: #df8e1d;
--cat-green: #40a02b;
--cat-teal: #179299;
--cat-sky: #04a5e5;
--cat-sapphire: #209fb5;
--cat-blue: #1e66f5;
--cat-lavender: #7287fd;
--cat-text: #4c4f69;
--cat-subtext1: #5c5f77;
--cat-subtext0: #6c6f85;
--cat-overlay2: #7c7f93;
--cat-overlay1: #8c8fa1;
--cat-overlay0: #9ca0b0;
--cat-surface2: #acb0be;
--cat-surface1: #bcc0cc;
--cat-surface0: #ccd0da;
--cat-base: #eff1f5;
--cat-mantle: #e6e9ef;
--cat-crust: #dce0e8;
}
@media (prefers-color-scheme: dark) {
:root {
--cat-rosewater: #f5e0dc;
--cat-flamingo: #f2cdcd;
--cat-pink: #f5c2e7;
--cat-mauve: #cba6f7;
--cat-red: #f38ba8;
--cat-maroon: #eba0ac;
--cat-peach: #fab387;
--cat-yellow: #f9e2af;
--cat-green: #a6e3a1;
--cat-teal: #94e2d5;
--cat-sky: #89dceb;
--cat-sapphire: #74c7ec;
--cat-blue: #89b4fa;
--cat-lavender: #b4befe;
--cat-text: #cdd6f4;
--cat-subtext1: #bac2de;
--cat-subtext0: #a6adc8;
--cat-overlay2: #9399b2;
--cat-overlay1: #7f849c;
--cat-overlay0: #6c7086;
--cat-surface2: #585b70;
--cat-surface1: #45475a;
--cat-surface0: #313244;
--cat-base: #1e1e2e;
--cat-mantle: #181825;
--cat-crust: #11111b;
}
}

View File

@ -1,36 +0,0 @@
@import url("./colors.css");
* {
/* shamelessly stolen from whatever vue generated */
/* min-height: 100vh; */
color: var(--cat-text);
background: var(--cat-base);
transition: color 0.5s, background-color 0.5s;
/* line-height: 1.6; */
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
/* font-size: 15px; */
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.top-bar {
text-align: center;
/* width: 20%; */
margin: auto;
}
.barbutton, .barbutton-disabled {
text-decoration: none;
color: var(--cat-text);
background-color: var(--cat-surface1);
border-radius: 10px;
display: inline-block;
width: 80px;
}
.barbutton:hover {
background-color: var(--cat-pink);
color: var(--cat-mantle)
}

View File

@ -2,30 +2,23 @@
* { * {
/* shamelessly stolen from whatever vue generated */ /* shamelessly stolen from whatever vue generated */
/* min-height: 100vh; */
color: var(--cat-text); color: var(--cat-text);
background: var(--cat-base); background: var(--cat-base);
transition: color 0.5s, background-color 0.5s; transition: color 0.5s, background-color 0.5s;
/* line-height: 1.6; */
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
/* font-size: 15px; */
text-rendering: optimizeLegibility; text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
/* border-style: solid;
border-color: red;
border-radius: 1px; */
} }
.top-bar { .top-bar {
text-align: center; text-align: center;
/* width: 20%; */
margin: auto; margin: auto;
} }
.barbutton, .barbutton-disabled { .barbutton,
.barbutton-disabled {
text-decoration: none; text-decoration: none;
color: var(--cat-text); color: var(--cat-text);
background-color: var(--cat-surface1); background-color: var(--cat-surface1);
@ -44,15 +37,16 @@
.main { .main {
margin-left: 3%; margin-left: 3%;
margin-right: 3%; margin-right: 3%;
/* vertical-align: bottom; */
margin-top: 10%; margin-top: 10%;
text-align: center; text-align: center;
} }
.logo { .logo {
border-radius: 50%; border-radius: 50%;
vertical-align: middle; vertical-align: middle;
} }
.hometext { .hometext {
display: inline-block; display: inline-block;
width: 33%; width: 33%;
@ -60,8 +54,8 @@
vertical-align: middle; vertical-align: middle;
} }
.video { .video {
/* margin-top: 10%; */
margin-left: 5%; margin-left: 5%;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
@ -75,6 +69,73 @@
.link { .link {
color: var(--cat-pink); color: var(--cat-pink);
} }
.link:hover { .link:hover {
font-weight: bolder; font-weight: bolder;
} }
@media screen and (max-width: 767px) {
.top-bar {
text-align: center;
margin: auto;
}
.barbutton,
.barbutton-disabled {
text-decoration: none;
color: var(--cat-text);
background-color: var(--cat-surface1);
border-radius: 10px;
display: inline-block;
width: 70px;
}
.barbutton:hover {
background-color: var(--cat-pink);
color: var(--cat-mantle)
}
.main {
margin-left: 3%;
margin-right: 3%;
margin-top: 10%;
text-align: center;
}
.logo {
border-radius: 50%;
display: block;
margin: auto;
}
.hometext {
display: block;
width: 100%
}
.video[style] {
margin: 0;
margin-left: 0px;
display: block;
inline-size: 5px;
}
.pink {
color: var(--cat-pink)
}
.link {
color: var(--cat-pink);
}
.link:hover {
font-weight: bolder;
}
.cat {
margin: auto;
width: 98%;
}
}

View File

@ -19,8 +19,8 @@
<div class="main"> <div class="main">
<img alt="my pfp, made with @greyfeu's picrew" class="logo" src="pfp.png" width="150" height="150" /> <img alt="my pfp, made with @greyfeu's picrew" class="logo" src="pfp.png" width="150" height="150" />
<div class="hometext"> <div class="hometext">
<h1 class="pink">SadlyNotSappho</h1> <h1 class="pink" id="title">SadlyNotSappho</h1>
<h3> <h3 id="maintext">
If you came here for the video - which I previously said this site redirects to, it's If you came here for the video - which I previously said this site redirects to, it's
<a href="https://www.youtube.com/watch?v=wURbb6Tm1QM" target="_blank" rel="noopener" class="link">over <a href="https://www.youtube.com/watch?v=wURbb6Tm1QM" target="_blank" rel="noopener" class="link">over
on on