yequari.com/themes/dreamcast/static/css/main.css

472 lines
8.9 KiB
CSS
Raw Permalink Normal View History

@import url(https://fonts.bunny.net/css?family=ibm-plex-mono:400|noto-sans:400,500,600,700|m-plus-1:400,500,600,700|audiowide:400|koulen:400|catamaran:400,700);
2024-02-23 04:35:34 +00:00
/* CSS HEX */
:root {
--heading-1: 2.75rem;
--heading-2: 2.25rem;
--heading-3: 1.75rem;
--heading-4: 1.25rem;
--heading-5: 0.75rem;
--heading-6: 0.25rem;
2024-02-23 04:35:34 +00:00
}
2024-10-03 05:16:49 +00:00
@media (prefers-color-scheme: dark) {
:root {
--main-bg: linear-gradient(#28164B, 70%, #825ECA );
--content-bg: #1A181B;
--primary-text: #DCCBFF;
--secondary-text: #B89AF5;
--header: #825ECA;
--nav-link: #B89AF5;
--primary-link: #B89AF5;
--primary-link-hover: #E3D5FF;
--secondary-link: #E3D5FF;
--secondary-link-hover: #B89AF5;
2024-11-03 19:57:09 +00:00
--ternary-link: #B89AF5;
--ternary-link-hover: #E3D5FF;
--link-shadow: #00000088;
2024-10-03 05:16:49 +00:00
--shadow: #00000088;
2024-11-03 19:57:09 +00:00
--nav-spotlight: radial-gradient(
circle at center,
rgba(255, 255, 255, 0.1) 0%,
rgba(255, 255, 255, 0.05) 25%,
rgba(255, 255, 255, 0) 40%
);
2024-10-03 05:16:49 +00:00
}
}
@media (prefers-color-scheme: light) {
:root {
2024-11-03 19:57:09 +00:00
--main-bg: linear-gradient(#918EF4, #6F9CEB);
--content-bg: #98B9F2;
--primary-text: #141B41;
--secondary-text: #141B41;
--header: #141B41;
--nav-link: #141B41;
--primary-link: #306BAC;
--primary-link-hover: #141B41;
--secondary-link: #306BAC;
--secondary-link-hover: #141B41;
--ternary-link: #141B41;
--ternary-link-hover: #306BAC;
--link-shadow: #00000000;
--shadow: #132B40AA;
--nav-spotlight: radial-gradient(
circle at center,
rgba(255, 255, 255, 0.1) 0%,
rgba(255, 255, 255, 0.05) 25%,
rgba(255, 255, 255, 0) 40%
);
2024-10-03 05:16:49 +00:00
}
}
2024-02-23 04:35:34 +00:00
body {
2024-10-03 05:16:49 +00:00
background: fixed no-repeat url('/images/waves-nobg.svg'), fixed no-repeat var(--main-bg);
background-size: cover;
2024-02-23 04:35:34 +00:00
color: var(--primary-text);
2024-04-26 21:47:35 +00:00
font-size: medium;
font-family: 'Catamaran', serif;
2024-02-23 04:35:34 +00:00
scrollbar-width: none;
padding: 0;
margin: 0;
}
body::-webkit-scrollbar {
display: none;
}
h1,h2,h3,h4,h5,h6 {
color: var(--secondary-text);
font-family: 'Koulen', sans-serif;
}
h1 {
font-size: var(--heading-1);
}
h2 {
font-size: var(--heading-2);
}
h3 {
font-size: var(--heading-3);
}
h5 {
font-size: var(--heading-5);
}
h6 {
font-size: var(--heading-6);
2024-02-23 04:35:34 +00:00
}
p {
font-size: 1.1rem;
2024-02-23 04:35:34 +00:00
line-height: 1.8;
}
p.subtitle {
color: var(--secondary-text);
font-style: italic;
}
p.about {
line-height: 0;
color: var(--fairy-tale);
}
p.context {
font-style: italic;
}
2024-02-23 04:35:34 +00:00
a:link, a:visited {
color: var(--primary-link);
}
a:hover, a:active {
2024-02-29 01:42:02 +00:00
color: var(--primary-link-hover);
2024-02-24 17:39:17 +00:00
text-decoration: underline;
2024-02-23 04:35:34 +00:00
}
article a.title:link, article a.title:visited {
2024-02-23 04:35:34 +00:00
color: var(--secondary-link);
}
article a.title:hover, article a.title:active {
color: var(--secondary-link-hover);
}
a.tag {
color: var(--primary-link);
2024-02-29 01:42:02 +00:00
text-decoration: none;
2024-02-23 04:35:34 +00:00
}
a.tag:hover, a.tag:active {
color: var(--primary-link-hover);
text-decoration: underline;
2024-02-23 04:35:34 +00:00
}
a.category {
color: var(--primary-link)
}
a.category:hover, a.category:active {
color: var(--primary-link-hover)
}
2024-02-23 04:35:34 +00:00
a.permalink {
padding: 0 5px;
}
a.summary {
color: var(--primary-text);
}
header h1 {
2024-02-29 01:42:02 +00:00
font-family: 'Audiowide', display;
2024-02-23 04:35:34 +00:00
/* font-size: 1rem; */
color: var(--header);
2024-02-27 05:33:04 +00:00
display: inline;
2024-02-29 01:42:02 +00:00
text-transform: uppercase;
2024-02-23 04:35:34 +00:00
}
ul.social {
list-style-type: none;
padding: 0 0;
margin: 0;
}
li.social {
2024-04-25 06:22:05 +00:00
padding: 5px 0;
2024-02-23 04:35:34 +00:00
}
2024-02-24 17:39:17 +00:00
img.social {
2024-02-29 01:42:02 +00:00
width: 16px;
2024-02-24 17:39:17 +00:00
}
header {
font-family: 'Noto Sans', sans-serif;
}
2024-02-23 04:35:34 +00:00
header a.sitetitle {
text-decoration: none;
}
header .profile {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
margin: 10px;
2024-11-03 19:57:09 +00:00
text-shadow: 3px 3px 5px var(--link-shadow);
2024-02-23 04:35:34 +00:00
}
header .profile img {
display: inline-block;
}
.wrapper {
2024-04-21 19:25:22 +00:00
max-width: 1024px;
2024-02-23 04:35:34 +00:00
margin: 0 auto;
}
2024-11-03 13:51:18 +00:00
nav#main-navbar {
2024-10-02 03:08:48 +00:00
/* From https://css.glass */
background: rgba(255, 255, 255, 0.13);
border-radius: 16px;
box-shadow: 3px 3px 5px var(--shadow);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
text-align: center;
padding: 0;
border-radius: 15px;
margin-bottom: 10px;
2024-02-23 04:35:34 +00:00
}
2024-11-03 13:51:18 +00:00
nav#main-navbar ul {
list-style-type: none;
margin: 0;
padding: 0;
border-radius: 15px;
2024-02-23 04:35:34 +00:00
}
2024-11-03 13:51:18 +00:00
nav#main-navbar li {
2024-10-02 03:08:48 +00:00
display: inline-block;
border-radius: 15px;
transition: box-shadow 0.3s;
2024-02-23 04:35:34 +00:00
}
2024-11-03 13:51:18 +00:00
nav#main-navbar li:hover,
nav#main-navbar li:active {
2024-10-02 03:08:48 +00:00
animation: 0.2s ease-in 1 forwards spotlight;
outline: 1px solid rgba(255, 255, 255, 0.2);
background-clip: border-box;
box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
2024-02-23 04:35:34 +00:00
}
2024-11-03 13:51:18 +00:00
nav#main-navbar li a {
2024-10-02 03:08:48 +00:00
display: inline-block;
padding: 20px;
font-size: 1.1rem;
text-transform: uppercase;
font-family: "Noto Sans", sans-serif;
font-weight: 500;
border-radius: 15px;
2024-11-03 19:57:09 +00:00
text-shadow: 1px 1px 3px var(--link-shadow);
2024-10-02 03:08:48 +00:00
}
2024-11-03 13:51:18 +00:00
nav#main-navbar li a:link,
nav#main-navbar li a:visited {
2024-10-03 05:16:49 +00:00
color: var(--nav-link);
2024-10-02 03:08:48 +00:00
text-decoration: none;
border-left: 1px solid rgba(255, 255, 255, 0);
border-right: 1px solid rgba(255, 255, 255, 0);
}
2024-11-03 13:51:18 +00:00
nav#main-navbar li a:hover,
nav#main-navbar li a:active {
2024-10-02 03:08:48 +00:00
background: radial-gradient(
ellipse 425% 100% at top,
rgba(255, 255, 255, 0.25) 0%,
rgba(255, 255, 255, 0.05) 30%,
rgba(255, 255, 255, 0) 32%
);
/* background: linear-gradient(
rgba(255, 255, 255, 0.13) 0%,
rgba(255, 255, 255, 0.1) 30%,
rgba(255, 255, 255, 0) 31%
); */
border-left: 1px solid rgba(255, 255, 255, 0.05);
border-right: 1px solid rgba(255, 255, 255, 0.05);
2024-11-03 19:57:09 +00:00
text-shadow: 1px 1px 3px var(--link-shadow);
2024-10-02 03:08:48 +00:00
}
@keyframes spotlight {
0% {
background: radial-gradient(
circle at 50% 100%,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0) 10%,
rgba(255, 255, 255, 0) 20%
);
}
20% {
background: radial-gradient(
circle at 50% 100%,
rgba(255, 255, 255, 0.05) 0%,
rgba(255, 255, 255, 0.03) 20%,
rgba(255, 255, 255, 0) 30%
);
}
40% {
background: radial-gradient(
circle at 50% 100%,
rgba(255, 255, 255, 0.1) 0%,
rgba(255, 255, 255, 0.07) 25%,
rgba(255, 255, 255, 0) 45%
);
}
60% {
background: radial-gradient(
circle at 50% 100%,
rgba(255, 255, 255, 0.15) 0%,
rgba(255, 255, 255, 0.13) 25%,
rgba(255, 255, 255, 0) 50%
);
}
80% {
background: radial-gradient(
circle at 50% 100%,
rgba(255, 255, 255, 0.2) 0%,
rgba(255, 255, 255, 0.15) 25%,
rgba(255, 255, 255, 0) 50%
);
}
100% {
background: radial-gradient(
circle at 50% 100%,
rgba(255, 255, 255, 0.2) 0%,
rgba(255, 255, 255, 0.15) 25%,
rgba(255, 255, 255, 0) 50%
);
}
2024-02-23 04:35:34 +00:00
}
.main-sidebar {
background-color: var(--content-bg);
border-radius: 15px;
z-index: 1;
display: flex;
2024-04-27 00:48:14 +00:00
flex-flow: row wrap;
box-shadow: 3px 3px 5px var(--shadow);
padding: 0;
margin-bottom: 10vh;
2024-02-23 04:35:34 +00:00
}
.sidebar {
flex: 0 1 20%;
border-right: 1px solid #c7c7c7;
padding: 30px 25px;
2024-02-23 04:35:34 +00:00
}
.sidebar h1 {
border-bottom: 1px inset grey;
padding-bottom: 5px;
}
2024-04-25 06:22:05 +00:00
.sidebar p.about-me {
text-align: center;
}
2024-02-23 04:35:34 +00:00
main {
flex: 1 3 70%;
padding: 2vh 4vw;
2024-02-23 04:35:34 +00:00
}
main li {
padding: 0.2em 0;
}
article p.context {
margin-top: 0;
padding-left: 1vw;
2024-02-23 04:35:34 +00:00
}
article p {
text-align: justify;
}
article img {
display: block;
2024-08-18 14:35:50 +00:00
width: 85%;
object-fit: scale-down;
2024-02-23 04:35:34 +00:00
margin: 8px auto;
}
article figcaption {
text-align: center;
font-size: 14px;
}
section.posts ul {
list-style-type: none;
}
article time {
color: var(--secondary-text);
}
blockquote {
font: 14px/22px normal helvetica, sans-serif;
margin-top: 10px;
margin-bottom: 10px;
margin-left: 50px;
padding-left: 15px;
border-left: 3px solid #ccc;
}
2024-02-29 01:42:02 +00:00
pre {
white-space: pre-wrap;
word-wrap: break-word;
padding: 1vh 2vw;
2024-02-23 04:35:34 +00:00
}
ul.pagination {
list-style: none;
text-align: center;
}
li.page-item {
display: inline;
padding: 0.3rem;
}
footer {
2024-11-03 20:59:10 +00:00
/* border-top: 1px dotted var(--secondary-text); */
2024-02-23 04:35:34 +00:00
text-align: center;
color: var(--secondary-text);
2024-04-27 00:48:14 +00:00
flex: 1 1 100%;
2024-02-23 04:35:34 +00:00
}
2024-10-03 05:16:49 +00:00
footer p {
font-size: 0.8rem;
}
2024-11-03 19:57:09 +00:00
footer a, footer a:link, footer a:visited {
color: var(--ternary-link);
text-decoration: underline dotted;
}
footer a:hover, footer a:active {
color: var(--ternary-link-hover);
}
2024-10-03 05:16:49 +00:00
#theme-toggle {
background: var(--content-bg);
color: var(--primary-text);
2024-11-03 20:59:10 +00:00
border: 1px solid var(--ternary-link);
2024-11-03 19:57:09 +00:00
border-radius: 5px;
2024-10-03 05:16:49 +00:00
}
2024-11-03 20:59:10 +00:00
#theme-toggle:active {
border: 1px solid var(--ternary-link-hover);
}
.metadata {
display: flex;
flex-flow: row;
justify-content: space-between;
margin-top: 1vh;
}
2024-02-23 04:35:34 +00:00
.hidden {
display: none;
}
.center {
text-align: center;
}
2024-02-29 01:42:02 +00:00
.lowercase {
text-transform: lowercase;
}