pub.solar/style.css

347 lines
6.7 KiB
CSS

/* 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;
height: 100vh;
width: 100vw;
margin: 0;
padding-top: 10vw;
padding-bottom: 2vw;
overflow: auto;
position: relative;
}
.ps-main--background {
position: fixed;
top: 0;
left: 0;
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 {
border: 12px solid black;
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-page--section img {
width: 230px;
margin-top: 1rem;
}
.ps-footer--link,
.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;
}
.ps-page--link:hover {
text-shadow: 0.3vw 0px 0px var(--accent);
}
.ps-footer--link {
font-size: 6rem;
border: 6px solid black;
}
.ps-footer--link:hover {
text-shadow: 0.2vw 0px 0px var(--accent);
}
@media screen and (min-width: 700px) {
.ps-footer--link {
font-size: 4rem;
}
.ps-page--link {
font-size: 8rem;
}
}
@media screen and (min-width: 1000px) {
.ps-footer--link {
font-size: 2rem;
}
.ps-page--link {
font-size: 4rem;
}
}
.ps-page--section-link {
position: sticky;
top: 0;
background-color: var(--background);
padding: 1rem;
display: flex;
justify-content: flex-end;
align-items: center;
text-align: right;
padding-left: 132px
}
@media screen and (min-width: 1200px) {
.ps-page--section-link {
display: none;
border-bottom: 0;
}
}
.ps-page--section-link-icon {
margin-left: 8px;
}
.ps-footer {
display: flex;
margin-top: auto;
z-index: 1;
}
.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);
}
}
.ps-homelink {
position: fixed;
top: 0;
left: 0;
z-index: 100;
pointer-events: all;
color: var(--foreground);
background: white;
text-decoration: none;
text-align: center;
font-weight: 900;
font-size: 24px;
padding: 8px;
line-height: 1em;
text-shadow: 0.15vw 0px 0px white;
transition: text-shadow 0.1s ease;
border: 12px solid black;
border-top: 0;
border-left: 0;
}
.ps-homelink:hover {
text-shadow: 0.3vw 0px 0px var(--accent);
}
@media screen and (min-width: 1200px) {
.ps-homelink {
font-size: 32px;
padding: 12px;
}
}