site/_includes/styles/pages/sneexy.css

177 lines
4.6 KiB
CSS
Raw Normal View History

/*
/ /\/|
/ |/\/___ _ __ ___ _____ ___ _
/ / __| '_ \ / _ \/ _ \ \/ / | | |
/ \__ \ | | | __/ __/> <| |_| |
/ |___/_| |_|\___|\___/_/\_\\__, |
/ |___/
/
/ ~sneexy - breeeep! my page! slooosh~ */
/* my page has goop in html to set goopy colors */
2025-10-26 23:57:35 -05:00
html:has(article#sneexy) {
2025-10-27 00:27:24 -05:00
--accent: light-dark(#00d131, #65ff88) !important;
2025-10-26 23:57:35 -05:00
article#sneexy window-contents {
2025-10-27 00:27:24 -05:00
text-align: center;
#logo {
2025-10-26 23:57:35 -05:00
min-width: 3rem;
max-width: 100%;
max-height: 13rem;
}
2025-10-27 09:20:00 -05:00
h1 {
border-bottom: unset;
margin-bottom: unset;
& #pfp {
height: 6rem;
transition: .2s;
vertical-align: middle;
width: auto;
&:hover {
transform: scale(2);
}
}
}
2025-10-26 23:57:35 -05:00
card-container[selfinfo] {
text-align: start;
margin-top: .8rem;
ul {
margin-top: 0;
margin-bottom: 0;
li {
margin-left: -1rem;
&::marker { content: ""; }
}
}
}
}
/* socials and links sections */
.socials-contacts-list {
a {
width: 3rem;
height: 3rem;
display: inline-block;
vertical-align: middle;
align-content: center;
text-align: center;
border-radius: .5rem;
span {
transform: scale(1.58) translateY(.07rem);
}
}
.fedi-icon {
anchor-name: --fedi-icon;
animation: opacity-blink 4s infinite;
}
.fedi-icon-2 {
position-anchor: --fedi-icon;
position: absolute;
margin-left: -3.681rem;
z-index: 2;
animation: opacity-blink-reverse 4s infinite;
}
}
/* sharkey iframe embed */
#links > section > iframe {
display: flex;
margin-top: 1rem;
margin-bottom: .3crem;
margin-left: auto;
margin-right: auto;
border: var(--accent) solid .15rem !important;
border-radius: .6rem;
transition: .2s box-shadow;
}
#links > section > iframe:hover {
box-shadow: var(--accent) 0px 0px 0px .3rem;
transition: .2s box-shadow;
}
/* nsfw page */
#warning {
fieldset {
background-color: color-mix(in srgb, var(--background) 95%, white);
border-radius: 1rem;
border: .2rem solid var(--border);
color: var(--foreground);
max-width: fit-content;
padding: .5rem;
}
}
#nsfw {
display: none;
}
@media screen and (max-width: 59em) {
#sneexy > section {
#logo {
max-width: 100%;
}
.selfinfo {
grid-template-areas:
"pronouns"
"names";
div {
text-align: center;
margin-left: auto;
margin-right: auto;
ul {
text-align: left !important;
}
}
div:first-child {
margin-bottom: 1em;
}
div:last-child {
margin-left: auto !important;
}
}
}
.socials-contacts-list {
text-align: center;
a {
margin-top: .5rem;
margin-bottom: .5rem;
}
}
}
}
/* enable nsfw window on nsfw page when checkbox is toggled */
html[page-is="goopy"]:has(input[type="checkbox"]#view-nsfw-page:checked) {
#nsfw {
display: inherit !important;
}
}
html[data-theme="light"][page-is="goopy"] {
--accent: #00d131 !important;
--link: #008d21 !important;
.nav-baselink, .nav-accessibility {
background-color: var(--accent) !important;
color: var(--foreground) !important;
}
}
html[data-theme="dark"][page-is="goopy"] {
--accent: #65ff88 !important;
--link: var(--accent) !important;
}