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

546 lines
11 KiB
CSS
Raw Normal View History

2024-02-29 01:42:02 +00:00
@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);
2024-02-23 04:35:34 +00:00
/* CSS HEX */
:root {
--jet: #353535ff;
--chinese-red: #aa3322ff;
--pale-silver: #c4bbafff;
--space-cadet: #292640ff;
--xiketic: #0f101aff;
--blue-ryb: #4056f4ff;
--raisin-black: #241e1edd;
--dim-gray: #756b6bff;
--pewter-blue: #93A8ACff;
--celestial-blue: #5299D3;
--white-smoke: #F1EDEE;
--midnight-blue: #18206F;
--penn-blue: #17255A;
--eerie-black: #172121;
--vista-blue: #8EA4D2;
--dark-purple: #331832;
--fairy-tale: #FFC6D9;
--english-violet: #694D75;
--platinum: #D0DDD7;
--non-photo-blue: #8AC6D0;
2024-02-24 17:39:17 +00:00
--night: #121113;
--tea-green: #E2F1AF;
--anti-flash-white: #EEF0F2;
--zaffre: #0D21A1;
--saffron: #EEC643;
--purple: #7B1E7A;
--raspberry-rose: #B33F62;
--tufts-blue: #3C91E6;
--pale-purple: #F3E0EC;
--timberwolf: #DDCECD;
--isabelline: #EEE5E5;
--verdigris: #28AFB0;
--fandango: #AF4D98;
--risd-blue: #4242FF;
--charcoal: #364958;
--cornflower-blue: #758BFD;
--tropical-indigo: #9D8DF1;
2024-02-23 04:35:34 +00:00
/* solarized dark colors */
--base00: #657b83;
--base01: #586e75;
--base02: #073642;
--base03: #002b36;
--base0: #839496;
--base1: #93a1a1;
--base2: #eee8d5;
--base3: #fdf6e3;
--yellow: #b58900;
--orange: #cb4b16;
--red: #dc322f;
--magenta: #d33682;
--violet: #6c71c4;
--blue: #268bd2;
--cyan: #2aa198;
--green: #859900;
--main-bg: var(--dark-purple);
2024-02-24 17:39:17 +00:00
--content-bg: var(--isabelline);
--primary-text: var(--night);
--secondary-text: var(--charcoal);
--nav-link: var(--fairy-tale);
2024-02-24 17:39:17 +00:00
--primary-link: var(--risd-blue);
--primary-link-hover: var(--chinese-red);
2024-02-29 01:42:02 +00:00
--secondary-link: var(--verdigris);
--secondary-link-hover: var(--tropical-indigo);
--ternary-link: var(--zaffre);
--ternary-link-hover: var(--chinese-red);
2024-02-23 04:35:34 +00:00
}
body {
background: fixed no-repeat url('/images/waves.svg') #00c2f6;
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;
2024-02-23 04:35:34 +00:00
font-family: 'Noto Sans', sans-serif;
scrollbar-width: none;
padding: 0;
margin: 0;
}
body::-webkit-scrollbar {
display: none;
}
h1,h2,h3,h4,h5,h6 {
color: var(--secondary-text);
2024-02-29 01:42:02 +00:00
font-family: 'M PLUS 1', sans-serif;
text-transform: capitalize;
2024-02-23 04:35:34 +00:00
}
p {
line-height: 1.8;
}
p.subtitle {
color: var(--secondary-text);
font-size: 1.1rem;
font-style: italic;
margin-top: -10px;
margin-bottom: -5px;
}
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
}
a.tag {
color: var(--secondary-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 {
text-decoration: underline;
2024-02-23 04:35:34 +00:00
}
a.category {
color: var(--ternary-link)
}
a.category:hover, a.category:active {
color: var(--ternary-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; */
2024-02-24 17:39:17 +00:00
color: var(--fairy-tale);
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
}
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;
}
header .profile img {
display: inline-block;
}
p.about {
2024-02-24 17:39:17 +00:00
line-height: 0;
color: var(--fairy-tale);
2024-02-23 04:35:34 +00:00
}
p.context {
font-style: italic;
}
.wrapper {
2024-04-21 19:25:22 +00:00
max-width: 1024px;
2024-02-23 04:35:34 +00:00
margin: 0 auto;
}
nav {
/* From https://css.glass */
background: rgba(255, 255, 255, 0.13);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
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;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
nav li {
display: inline;
}
nav li a {
display: inline-block;
padding: 20px;
2024-02-29 01:42:02 +00:00
/* font-size: 1.1rem; */
2024-02-24 17:39:17 +00:00
transition: box-shadow 0.3s;
2024-02-29 01:42:02 +00:00
text-transform: uppercase;
2024-02-23 04:35:34 +00:00
}
nav li a:link, nav li a:visited {
color: var(--nav-link);
2024-02-24 17:39:17 +00:00
text-decoration: none;
2024-02-23 04:35:34 +00:00
}
nav li a:hover, nav li a:active {
2024-02-24 17:39:17 +00:00
animation: 0.2s ease-in 1 forwards gradient;
outline: 1px solid rgba(255, 255, 255, 0.3);
2024-02-27 05:33:04 +00:00
box-shadow: 0 0 10px white;
2024-02-24 17:39:17 +00:00
}
@keyframes gradient {
0% {
background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.00) 10%, rgba(255,255,255,0) 20%), linear-gradient(rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.0) 41%);
}
20% {
background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 20%, rgba(255,255,255,0) 30%), linear-gradient(rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.13) 31%);
}
40% {
background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0) 35%), linear-gradient(rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.13) 31%);
}
60% {
background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.15) 25%, rgba(255,255,255,0) 45%), linear-gradient(rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.13) 31%);
}
80% {
background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.20) 25%, rgba(255,255,255,0) 50%), linear-gradient(rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.13) 31%);
}
100% {
background: radial-gradient(circle at 50% 100%, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.25) 25%, rgba(255,255,255,0) 50%), linear-gradient(rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.2) 30%, rgba(255,255,255,0.13) 31%);
}
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;
2024-02-23 04:35:34 +00:00
box-shadow: 10px 5px 5px #00000066;
2024-04-27 00:48:14 +00:00
padding: 30px 0 0 0;
2024-04-27 00:50:01 +00:00
margin-bottom: 100px;
2024-02-23 04:35:34 +00:00
}
.sidebar {
flex: 0 1 20%;
2024-02-29 01:42:02 +00:00
border-right: 1px solid black;
2024-04-25 06:22:05 +00:00
padding: 0 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-27 05:33:04 +00:00
.sidebar #avatar-frame {
width: fit-content;
height: 100px;
2024-04-25 06:22:05 +00:00
margin: 0 auto 25px auto;
2024-02-27 05:33:04 +00:00
padding: 8px 8px;
border: 1px solid #cccccf;
border-radius: 16px/24px;
position: relative;
}
.sidebar #avatar-frame img {
max-width: 100px;
border: 1px solid grey;
border-radius: 5px;
}
2024-04-25 06:22:05 +00:00
#statuscafe {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
/* border: 1px solid #CCCCCC; */
}
#statuscafe p {
line-height: 1.5;
margin: 5px 0;
color: var(--secondary-text);
font-style: italic;
}
#statuscafe #statuscafe-timeago {
flex: 1 1 50%;
text-align: right;
}
#statuscafe #statuscafe-username {
flex: 1 1 50%;
}
#statuscafe #statuscafe-content {
flex: 1 1 100%;
}
2024-02-27 05:33:04 +00:00
.online {
background: linear-gradient(#D6FFDB00 0%, #D6FFDB 30%, #66FF00 100%);
box-shadow: 0 5px 10px #66FF00;
}
.busy {
background: linear-gradient(#FF9A0000 0%, #D8820055 30%, #fca30d 100%);
box-shadow: 0 5px 10px #fca30d;
}
.gloss {
width: 100%;
height: 100%;
/* background: red; */
background: radial-gradient(ellipse 200px 140px at 50% 0%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.25) 50%,
rgba(255,255,255,0) 51%);
position: absolute;
top: 0;
left: 0;
z-index: 10;
border-radius: 16px/24px;
pointer-events: none;
}
2024-02-23 04:35:34 +00:00
main {
flex: 1 3 70%;
padding: 0 25px;
2024-02-23 04:35:34 +00:00
}
main li {
padding: 0.2em 0;
}
article p.context {
margin-top: -25px;
padding-left: 25px;
}
article p {
text-align: justify;
}
article img {
display: block;
max-width: 400px;
margin: 8px auto;
text-align: center;
}
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;
}
code {
background-color: black;
overflow-x: scroll;
padding: 0 5px;
color: white;
2024-02-29 01:42:02 +00:00
font-family: 'IBM Plex Mono', monospace;
}
pre {
2024-02-23 04:35:34 +00:00
}
pre code{
padding: 15px;
display: block;
2024-02-27 06:34:28 +00:00
max-width: 640px;
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 {
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
}
.metadata {
display: flex;
flex-flow: row;
justify-content: space-between;
margin-top: 30px;
margin-bottom: -15px;
}
h3.index {
margin-bottom: 10px;
/* margin: 10px 0; */
}
2024-02-23 04:35:34 +00:00
#webmentions img { max-height: 1.2em; margin-right: -1ex; }
.hidden {
display: none;
}
.center {
text-align: center;
}
2024-02-29 01:42:02 +00:00
.lowercase {
text-transform: lowercase;
}
2024-02-27 05:33:04 +00:00
/* Index page blog posts */
.title-date {
display: flex;
flex-flow: row;
justify-content: space-between;
align-items: center;
}
2024-02-23 04:35:34 +00:00
/*
* Links page
*/
#links-main {
display: flex;
flex-flow: row wrap;
align-items: flex-start;
2024-02-29 01:42:02 +00:00
justify-content: space-between;
gap: 10px;
2024-02-29 01:42:02 +00:00
}
#links-main ul {
padding: 0;
2024-02-23 04:35:34 +00:00
}
#links-main li {
padding: 7px 0;
list-style-type: none;
}
.link-list details {
border: 1px dotted var(--pewter-blue);
2024-02-29 01:42:02 +00:00
padding: 0.7em 0.7em;
2024-02-23 04:35:34 +00:00
}
.link-list details[open] {
2024-02-29 01:42:02 +00:00
/* padding: 0.5em; */
2024-02-23 04:35:34 +00:00
}
.link-list details[open] summary {
border-bottom: 1px dotted var(--pewter-blue);
2024-02-29 01:42:02 +00:00
padding-bottom: 0.5em;
2024-02-23 04:35:34 +00:00
margin-bottom: 0.5em;
}
2024-04-21 19:25:22 +00:00
.link-list summary p {
line-height: 1;
2024-02-29 01:42:02 +00:00
/* margin: -0.5em -0.5em 0; */
/* padding: 0.5em; */
2024-02-23 04:35:34 +00:00
}
.links-column {
display: flex;
flex-direction: column;
flex: 1 3 20%;
2024-02-23 04:35:34 +00:00
overflow-wrap: break-word;
}
.links-column h2 {
text-align: center;
}
2024-02-24 17:39:17 +00:00
/* webmention box */
2024-02-23 04:35:34 +00:00
.send-webmention {
margin: 55px 25px;
max-width: fit-content;
border: 1px dotted var(--primary-text);
padding: 0 20px 20px;
}
.send-webmention p {
font-size: 1.3rem;
}
@media only screen and (max-width: 700px) {
.sidebar {
border: none;
2024-02-27 05:33:04 +00:00
}
article img {
max-width: 200px;
2024-02-23 04:35:34 +00:00
}
}