pub.solar/style.css

292 lines
5.8 KiB
CSS
Raw Normal View History

2022-02-24 15:04:27 +00:00
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 800;
font-display: swap;
src: url(/assets/opensans/v20/memnYaGs126MiZpBA-UFUKW-U9hlIqOjjg.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 800;
font-display: swap;
src: url(/assets/opensans/v20/memnYaGs126MiZpBA-UFUKW-U9hrIqM.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-display: swap;
src: url(/assets/opensans/v20/mem5YaGs126MiZpBA-UN8rsOXOhpOqc.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 800;
font-display: swap;
src: url(/assets/opensans/v20/mem5YaGs126MiZpBA-UN8rsOUuhp.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* {
box-sizing: border-box;
}
html {
--accent: #ed1c24;
--foreground: #000;
--background: #fff;
font-family: 'Open Sans', Arial, sans-serif;
font-weight: 900;
background: var(--background);
color: var(--foreground);
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
width: 100vw;
height: 100vh;
margin: 0;
font-size: 1vw;
}
.ps-main {
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: space-between;
2022-02-24 15:04:27 +00:00
height: 100vh;
width: 100vw;
margin: 0;
padding-top: 10vw;
padding-bottom: 2vw;
overflow: auto;
2022-02-24 15:04:27 +00:00
position: relative;
}
.ps-main--background {
position: fixed;
top: 0;
left: 0;
2022-02-24 15:04:27 +00:00
height: 100vh;
width: 100vw;
overflow: hidden;
}
.ps-main--page {
color: grey;
z-index: 1;
}
.ps-page {
display: flex;
width: 100vw;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding: 0;
}
@media screen and (min-width: 1000px) {
.ps-page {
pointer-events: none;
}
}
@media screen and (min-width: 1200px) {
.ps-page {
padding: 1vw;
flex-direction: row;
align-items: flex-start;
}
}
.ps-page_home {
flex-direction: row;
flex-wrap: wrap;
}
.ps-page--section {
2022-04-23 14:59:15 +00:00
border: 12px solid black;
2022-02-24 15:04:27 +00:00
margin-top: 10vh;
margin-bottom: 10vh;
padding: 5vw;
max-width: 700px;
flex-basis: 100%;
font-size: 16px;
flex-shrink: 1;
pointer-events: all;
color: var(--foreground);
background: white;
word-break: break-word;
}
@media screen and (min-width: 1200px) {
.ps-page--section {
margin: 1vw;
}
}
.ps-page--section a {
color: var(--accent);
border-bottom: 1px solid white;
transition: border-bottom 0.1s ease;
text-decoration: none;
}
.ps-page--section a:hover {
border-bottom: 4px solid var(--accent);
}
.ps-footer--link,
2022-02-24 15:04:27 +00:00
.ps-page--link {
pointer-events: all;
color: var(--foreground);
background: white;
text-decoration: none;
text-align: center;
font-weight: 900;
font-size: 12rem;
line-height: 1em;
padding: 0.2vw;
margin: 2vw;
text-shadow: 0.15vw 0px 0px white;
transition: text-shadow 0.1s ease;
border: 12px solid black;
}
2022-06-04 16:25:09 +00:00
.ps-page--link:hover {
text-shadow: 0.3vw 0px 0px var(--accent);
}
.ps-footer--link {
font-size: 6rem;
border: 6px solid black;
}
2022-06-04 16:25:09 +00:00
.ps-footer--link:hover {
text-shadow: 0.2vw 0px 0px var(--accent);
2022-02-24 15:04:27 +00:00
}
@media screen and (min-width: 700px) {
.ps-footer--link {
font-size: 4rem;
}
2022-02-24 15:04:27 +00:00
.ps-page--link {
font-size: 8rem;
}
}
@media screen and (min-width: 1000px) {
.ps-footer--link {
font-size: 2rem;
}
2022-02-24 15:04:27 +00:00
.ps-page--link {
font-size: 4rem;
}
}
@media screen and (min-width: 1200px) {
.mobile-only {
display: none;
}
}
.ps-footer {
display: flex;
margin-top: auto;
z-index: 1;
2022-02-24 15:04:27 +00:00
}
.ps-background {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
speak: none;
}
.ps-background--logo {
width: calc(100vw / 9);
// height: 4rem;
margin: 0.1rem;
}
@media screen and (orientation: landscape) {
.ps-background--logo {
width: calc(100vw / 16);
}
}
.ps-background--1312 {
transform: rotate(34deg);
transform-origin: center center;
color: #eee;
position: fixed;
z-index: 1;
top: -50vh;
left: -50vw;
font-weight: 900;
font-size: 7rem;
line-height: 6rem;
width: 200vw;
height: 200vh;
}
.ps-logo {
display: flex;
align-items: center;
justify-content: center;
position: relative;
z-index: 1;
width: 100px;
}
.ps-logo--base {
animation-name: rotate;
animation-duration: 0.3s;
animation-timing-function: linear;
animation-play-state: paused;
animation-iteration-count: infinite;
}
.ps-logo--base:hover {
animation-play-state: running;
}
.ps-logo:nth-child(2n) .ps-logo--base { animation-delay: -0.1s; }
.ps-logo:nth-child(3n) .ps-logo--base { animation-delay: -0.3s; }
.ps-logo:nth-child(5n) .ps-logo--base { animation-delay: -0.5s; }
.ps-logo:nth-child(7n) .ps-logo--base { animation-delay: -7s; }
.ps-logo:nth-child(11n) .ps-logo--base { animation-delay: -0.9s; }
.ps-logo:nth-child(13n) .ps-logo--base { animation-delay: -1s; }
.ps-logo--base::before {
position: absolute;
display: block;
content: '';
width: 100%;
height: 100%;
border-radius: 50%;
}
@keyframes rotate {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}