2020-07-06 05:56:09 +09:00
|
|
|
:root {
|
2021-07-21 03:30:49 +09:00
|
|
|
/* FONTS */
|
|
|
|
--display-font: 'Manrope-ExtraBold', sans-serif;
|
|
|
|
--main-font: 'Inter', sans-serif;
|
|
|
|
|
|
|
|
/* UNITS
|
|
|
|
* unit size - every element should be a multiplier of this
|
|
|
|
* main size - used for headers and icons
|
|
|
|
* medium size - same as above, except that the element in question is contained in something else
|
|
|
|
* small size - used in common text, borders
|
|
|
|
*/
|
|
|
|
--unit-size: 0.5rem;
|
|
|
|
--main-size: 1.5rem;
|
|
|
|
--medium-size: 1.125rem;
|
|
|
|
--small-size: 1rem;
|
|
|
|
|
|
|
|
/* colours and shadows */
|
|
|
|
--black: #040506;
|
|
|
|
--bg1: #383E51;
|
|
|
|
--bg2: #434A60;
|
|
|
|
--bg3: #5C6684;
|
2021-07-26 23:30:55 +09:00
|
|
|
--translucent: #00000033;
|
2021-07-27 02:11:14 +09:00
|
|
|
--translucent-light: #FFFFFF33;
|
2021-07-21 03:30:49 +09:00
|
|
|
--white: #EEDFD4;
|
|
|
|
|
|
|
|
--accent-blue: #8E8DBE;
|
|
|
|
--accent-red: #FF6666;
|
|
|
|
--accent-green: #2EC4B6;
|
|
|
|
|
|
|
|
--shadow: 0px 0px 16px 0px #383E51;
|
2021-07-22 03:21:48 +09:00
|
|
|
--shadow-light: 0px 0px 16px 0px #8E8DBE;
|
2020-07-06 05:56:09 +09:00
|
|
|
}
|
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
/* TYPOGRAPHY */
|
|
|
|
html {
|
2021-07-21 03:30:49 +09:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2021-07-19 21:06:07 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2021-07-21 03:30:49 +09:00
|
|
|
font-family: var(--display-font);
|
|
|
|
font-size: var(--main-size);
|
|
|
|
font-weight: 900;
|
|
|
|
opacity: 1.00;
|
|
|
|
letter-spacing: -0.40px;
|
|
|
|
word-spacing: 4.00px;
|
2021-07-19 21:06:07 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2021-07-21 03:30:49 +09:00
|
|
|
font-family: var(--display-font);
|
|
|
|
font-size: var(--medium-size);
|
|
|
|
font-weight: 800;
|
|
|
|
letter-spacing: -0.75px;
|
|
|
|
word-spacing: 3.00px;
|
|
|
|
text-transform: none;
|
2021-07-19 21:06:07 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2021-07-21 03:30:49 +09:00
|
|
|
font-family: var(--display-font);
|
|
|
|
font-size: var(--medium-size);
|
|
|
|
font-weight: 600;
|
|
|
|
line-height: 1.00;
|
|
|
|
letter-spacing: -0.20px;
|
|
|
|
word-spacing: 1.00px;
|
|
|
|
text-transform: none;
|
2021-07-19 21:06:07 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2021-07-21 03:30:49 +09:00
|
|
|
font-family: var(--main-font);
|
2021-07-22 03:21:48 +09:00
|
|
|
font-size: var(--medium-size);
|
2021-07-21 03:30:49 +09:00
|
|
|
font-weight: 400;
|
|
|
|
letter-spacing: -0.30px;
|
|
|
|
word-spacing: -0.10px;
|
2021-07-24 03:28:11 +09:00
|
|
|
margin-bottom: var(--small-size) !important;
|
2021-07-21 03:30:49 +09:00
|
|
|
text-transform: none;
|
2021-07-19 21:06:07 +09:00
|
|
|
}
|
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
ul {
|
2021-07-21 03:30:49 +09:00
|
|
|
text-decoration: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
2021-07-27 01:14:24 +09:00
|
|
|
}
|
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
li {
|
2021-07-21 03:30:49 +09:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
2021-07-21 03:30:49 +09:00
|
|
|
|
2021-07-27 01:14:24 +09:00
|
|
|
summary {
|
|
|
|
cursor: default !important;
|
|
|
|
}
|
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
a:link {
|
2021-07-21 03:30:49 +09:00
|
|
|
text-decoration: none;
|
2021-07-22 03:21:48 +09:00
|
|
|
color: var(--white);
|
2021-07-21 03:30:49 +09:00
|
|
|
outline: 0;
|
2021-07-19 21:06:07 +09:00
|
|
|
}
|
2021-07-21 03:30:49 +09:00
|
|
|
|
2020-06-22 07:56:26 +09:00
|
|
|
a:visited {
|
2021-07-22 03:21:48 +09:00
|
|
|
text-decoration: none;
|
|
|
|
color: var(--white);
|
2021-07-21 03:30:49 +09:00
|
|
|
outline: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
2021-07-23 19:47:43 +09:00
|
|
|
|
2021-07-22 03:21:48 +09:00
|
|
|
a:focus,
|
2021-07-23 19:47:43 +09:00
|
|
|
a:hover {
|
2021-07-27 01:14:24 +09:00
|
|
|
border-radius: var(--unit-size) !important;
|
|
|
|
padding: var(--unit-size) var(--small-size) var(--unit-size) var(--small-size) !important;
|
2021-07-24 03:28:11 +09:00
|
|
|
background: var(--white) !important;
|
2021-07-22 03:21:48 +09:00
|
|
|
color: var(--bg1) !important;
|
2021-07-24 03:28:11 +09:00
|
|
|
transition: all 0.4s ease;
|
2020-08-06 08:26:07 +09:00
|
|
|
}
|
2021-07-21 03:30:49 +09:00
|
|
|
|
2021-07-23 19:47:43 +09:00
|
|
|
#instance a:focus svg,
|
|
|
|
#instance a:hover svg {
|
|
|
|
fill: var(--bg1);
|
2021-07-24 03:28:11 +09:00
|
|
|
transition: all 0.4s ease;
|
2021-07-23 19:47:43 +09:00
|
|
|
}
|
|
|
|
|
2021-07-25 01:38:57 +09:00
|
|
|
summary:hover > svg,
|
|
|
|
summary:focus > svg {
|
2021-07-23 19:47:43 +09:00
|
|
|
border-radius: var(--unit-size);
|
|
|
|
background: var(--white);
|
|
|
|
fill: var(--bg1);
|
2021-07-24 03:28:11 +09:00
|
|
|
transition: all 0.4s ease;
|
2021-07-23 19:47:43 +09:00
|
|
|
}
|
|
|
|
|
2021-07-22 03:21:48 +09:00
|
|
|
hr {
|
2021-07-25 02:16:27 +09:00
|
|
|
all: unset;
|
2021-07-22 07:13:20 +09:00
|
|
|
display: block;
|
2021-07-24 03:28:11 +09:00
|
|
|
height: 2px;
|
|
|
|
background-image: linear-gradient(to right, var(--bg1), transparent 90%);
|
2021-07-23 19:47:43 +09:00
|
|
|
}
|
|
|
|
|
2021-07-20 21:18:57 +09:00
|
|
|
/* DEFAULTS */
|
|
|
|
body,
|
|
|
|
html {
|
2021-07-22 00:39:55 +09:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-07-21 03:30:49 +09:00
|
|
|
height: 100%;
|
|
|
|
width: auto;
|
|
|
|
color: var(--white);
|
2021-07-22 03:21:48 +09:00
|
|
|
font-family: var(--main-font);
|
2021-07-20 03:19:02 +09:00
|
|
|
|
2021-07-21 03:30:49 +09:00
|
|
|
/* BLENDING BANDING IN FIREFOX */
|
|
|
|
background-image: radial-gradient(ellipse at 50% 5%, var(--bg1), var(--bg2)),
|
|
|
|
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAElBMVEUAAACUkpSEhoSMioyMjoyEgoRr6djFAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAU1JREFUKJEVUcl1xTAIpAVLSgECXIAYUoCAX0Bi919LlCPLm5ValiOUUe2+ZRVFuYpKXFsUX9aIp0V6GtC8VRhNL0X2fikvswhKrNDhes7pbpPkufFAtI0B76LEjfc2bgdHDk6RX4A/sjt6LCylfoYpNYYJx/9COhIugsjluzN9VGZ/Hnl51jIH2ba+Ywsy2RJCFdoDe8Obw61TXGAv+ewExMRJs7gd7YcimPuk42uMqY2VJ1fK+bDL32rb7kwok/la/u7Mrz7Xf0DTssSP2Btp1ZS0zw35tM/SsJKgWNLcRh+/th1QqntwtM3Tx0LNosoBYbM3qjJFiMeLsMH2i5BcQdU3n9sJHOE1Hoqn1GA/bm4s0YkVB/y4r0PbltF32FpljXmdlOOwbDvFWkoDYLppSG4pnM6UxX3Src1lhXeU36FOu3o+R2vNaHME/wESUl9/3zMniwAAAABJRU5ErkJggg==);
|
|
|
|
background-blend-mode: multiply;
|
|
|
|
background-attachment: fixed;
|
2021-07-20 23:51:32 +09:00
|
|
|
|
2021-07-23 19:47:43 +09:00
|
|
|
}
|
|
|
|
|
2021-07-20 21:18:57 +09:00
|
|
|
#header {
|
2021-07-21 03:30:49 +09:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
position: fixed;
|
2021-07-20 03:19:02 +09:00
|
|
|
|
2021-07-21 03:30:49 +09:00
|
|
|
width: 100%;
|
|
|
|
height: calc(5 * var(--unit-size));
|
|
|
|
padding: var(--small-size);
|
2021-07-22 03:41:51 +09:00
|
|
|
box-sizing: content-box;
|
2020-06-22 07:56:26 +09:00
|
|
|
|
2021-07-22 03:21:48 +09:00
|
|
|
background-image: radial-gradient(ellipse at 50% 5%, var(--bg1), var(--accent-blue)),
|
2021-07-21 03:30:49 +09:00
|
|
|
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAElBMVEUAAACUkpSEhoSMioyMjoyEgoRr6djFAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAU1JREFUKJEVUcl1xTAIpAVLSgECXIAYUoCAX0Bi919LlCPLm5ValiOUUe2+ZRVFuYpKXFsUX9aIp0V6GtC8VRhNL0X2fikvswhKrNDhes7pbpPkufFAtI0B76LEjfc2bgdHDk6RX4A/sjt6LCylfoYpNYYJx/9COhIugsjluzN9VGZ/Hnl51jIH2ba+Ywsy2RJCFdoDe8Obw61TXGAv+ewExMRJs7gd7YcimPuk42uMqY2VJ1fK+bDL32rb7kwok/la/u7Mrz7Xf0DTssSP2Btp1ZS0zw35tM/SsJKgWNLcRh+/th1QqntwtM3Tx0LNosoBYbM3qjJFiMeLsMH2i5BcQdU3n9sJHOE1Hoqn1GA/bm4s0YkVB/y4r0PbltF32FpljXmdlOOwbDvFWkoDYLppSG4pnM6UxX3Src1lhXeU36FOu3o+R2vNaHME/wESUl9/3zMniwAAAABJRU5ErkJggg==);
|
|
|
|
background-blend-mode: multiply;
|
|
|
|
background-attachment: fixed;
|
|
|
|
box-shadow: var(--shadow);
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
#instance {
|
2021-07-21 03:30:49 +09:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
2021-07-19 21:06:07 +09:00
|
|
|
}
|
2021-07-21 03:30:49 +09:00
|
|
|
|
2021-07-19 21:06:07 +09:00
|
|
|
#instance a {
|
2021-07-21 03:30:49 +09:00
|
|
|
display: flex;
|
|
|
|
color: var(--white);
|
|
|
|
font-size: var(--main-size);
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2020-06-26 03:45:14 +09:00
|
|
|
.icon-logo {
|
2021-07-21 03:30:49 +09:00
|
|
|
margin-right: var(--small-size);
|
|
|
|
fill: var(--white);
|
2021-07-22 03:21:48 +09:00
|
|
|
}
|
2021-07-25 01:38:57 +09:00
|
|
|
|
2021-07-20 23:51:32 +09:00
|
|
|
/* CONTAINS ALL ELEMENTS BESIDES HEADER */
|
|
|
|
.container {
|
2021-07-22 07:13:20 +09:00
|
|
|
order: 2;
|
2021-07-21 03:30:49 +09:00
|
|
|
display: flex;
|
2021-07-22 00:39:55 +09:00
|
|
|
justify-content: space-evenly;
|
|
|
|
width: 100%;
|
2021-07-22 07:13:20 +09:00
|
|
|
margin-top: calc(3 * var(--small-size) + var(--main-size));
|
2021-07-21 03:30:49 +09:00
|
|
|
}
|
2021-07-21 03:30:49 +09:00
|
|
|
|
2021-07-20 23:51:32 +09:00
|
|
|
/* THE FOCUSED (middle) DIV */
|
|
|
|
.content {
|
2021-07-25 02:16:27 +09:00
|
|
|
box-sizing: border-box;
|
|
|
|
padding: calc(2 * var(--main-size));
|
2021-07-22 00:39:55 +09:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-07-24 03:28:11 +09:00
|
|
|
width: calc(3 * (100% / 5));
|
2021-07-22 03:21:48 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
/* NOTES */
|
2021-07-24 03:28:11 +09:00
|
|
|
.h-feed,
|
2021-07-22 03:21:48 +09:00
|
|
|
.notes {
|
|
|
|
margin-top: var(--main-size);
|
|
|
|
}
|
|
|
|
|
2021-07-24 03:28:11 +09:00
|
|
|
.h-feed,
|
|
|
|
.notes hr {
|
|
|
|
margin-top: var(--unit-size);
|
|
|
|
margin-bottom: var(--main-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.h-entry,
|
2021-07-22 03:21:48 +09:00
|
|
|
.note {
|
|
|
|
background-image: radial-gradient(ellipse at 10% 10%, var(--bg3), var(--accent-blue)),
|
|
|
|
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAElBMVEUAAACUkpSEhoSMioyMjoyEgoRr6djFAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAU1JREFUKJEVUcl1xTAIpAVLSgECXIAYUoCAX0Bi919LlCPLm5ValiOUUe2+ZRVFuYpKXFsUX9aIp0V6GtC8VRhNL0X2fikvswhKrNDhes7pbpPkufFAtI0B76LEjfc2bgdHDk6RX4A/sjt6LCylfoYpNYYJx/9COhIugsjluzN9VGZ/Hnl51jIH2ba+Ywsy2RJCFdoDe8Obw61TXGAv+ewExMRJs7gd7YcimPuk42uMqY2VJ1fK+bDL32rb7kwok/la/u7Mrz7Xf0DTssSP2Btp1ZS0zw35tM/SsJKgWNLcRh+/th1QqntwtM3Tx0LNosoBYbM3qjJFiMeLsMH2i5BcQdU3n9sJHOE1Hoqn1GA/bm4s0YkVB/y4r0PbltF32FpljXmdlOOwbDvFWkoDYLppSG4pnM6UxX3Src1lhXeU36FOu3o+R2vNaHME/wESUl9/3zMniwAAAABJRU5ErkJggg==);
|
|
|
|
background-blend-mode: multiply;
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-info {
|
|
|
|
display: flex;
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2021-07-27 02:11:14 +09:00
|
|
|
background-color: var(--translucent);
|
2021-07-22 03:21:48 +09:00
|
|
|
font-size: var(--main-size);
|
|
|
|
padding: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-info .avatar {
|
2021-07-27 02:11:14 +09:00
|
|
|
width: auto;
|
|
|
|
height: var(--main-size);
|
2021-07-22 03:21:48 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.note-content {
|
|
|
|
padding: var(--small-size);
|
|
|
|
}
|
|
|
|
.note-content p {
|
|
|
|
font-size: var(--medium-size);
|
|
|
|
padding-left: var(--small-size);
|
|
|
|
padding-right: var(--small-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-attachments {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.note-attachments > div {
|
|
|
|
margin: var(--small-size) 0 0 0;
|
|
|
|
border-radius: var(--unit-size);
|
2021-07-26 23:30:55 +09:00
|
|
|
background-color: var(--translucent);
|
2021-07-22 03:21:48 +09:00
|
|
|
}
|
2021-07-25 01:38:57 +09:00
|
|
|
|
2021-07-22 03:21:48 +09:00
|
|
|
.note-attachments > div figure {
|
|
|
|
margin: 0;
|
|
|
|
padding: var(--small-size);
|
|
|
|
}
|
2021-07-25 01:38:57 +09:00
|
|
|
|
2021-07-22 03:21:48 +09:00
|
|
|
figcaption a:link {
|
|
|
|
font-size: var(--small-size);
|
|
|
|
color: var(--white);
|
|
|
|
}
|
|
|
|
|
2021-07-25 01:38:57 +09:00
|
|
|
/* MEDIA QUERIES */
|
|
|
|
@media (min-width: 1200px) {
|
2021-07-25 02:16:27 +09:00
|
|
|
.icon-left,
|
|
|
|
.icon-right {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
summary {
|
|
|
|
cursor: none;
|
|
|
|
}
|
|
|
|
|
2021-07-25 01:38:57 +09:00
|
|
|
.panel aside {
|
|
|
|
position: fixed;
|
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: var(--small-size);
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
font-size: var(--main-size);
|
|
|
|
width: calc(100vw / 5);
|
|
|
|
height: calc(100vh - (3 * var(--small-size) + var(--main-size)));
|
|
|
|
animation: fadeIn 300ms cubic-bezier(0, 0.55, 0.45, 1);
|
|
|
|
}
|
2021-07-21 03:30:49 +09:00
|
|
|
}
|
|
|
|
|
2021-07-25 01:38:57 +09:00
|
|
|
@media (max-width: 1200px) {
|
|
|
|
.content {
|
2021-07-25 02:16:27 +09:00
|
|
|
padding: var(--main-size);
|
2021-07-25 01:38:57 +09:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2021-07-25 02:16:27 +09:00
|
|
|
.icon-left,
|
|
|
|
.icon-right {
|
|
|
|
display: flow;
|
|
|
|
}
|
|
|
|
|
2021-07-25 01:38:57 +09:00
|
|
|
.panel aside {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel[open] aside {
|
|
|
|
background-image: radial-gradient(ellipse at 50% 5%, var(--bg1), var(--bg2)),
|
|
|
|
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAElBMVEUAAACUkpSEhoSMioyMjoyEgoRr6djFAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAU1JREFUKJEVUcl1xTAIpAVLSgECXIAYUoCAX0Bi919LlCPLm5ValiOUUe2+ZRVFuYpKXFsUX9aIp0V6GtC8VRhNL0X2fikvswhKrNDhes7pbpPkufFAtI0B76LEjfc2bgdHDk6RX4A/sjt6LCylfoYpNYYJx/9COhIugsjluzN9VGZ/Hnl51jIH2ba+Ywsy2RJCFdoDe8Obw61TXGAv+ewExMRJs7gd7YcimPuk42uMqY2VJ1fK+bDL32rb7kwok/la/u7Mrz7Xf0DTssSP2Btp1ZS0zw35tM/SsJKgWNLcRh+/th1QqntwtM3Tx0LNosoBYbM3qjJFiMeLsMH2i5BcQdU3n9sJHOE1Hoqn1GA/bm4s0YkVB/y4r0PbltF32FpljXmdlOOwbDvFWkoDYLppSG4pnM6UxX3Src1lhXeU36FOu3o+R2vNaHME/wESUl9/3zMniwAAAABJRU5ErkJggg==);
|
|
|
|
background-blend-mode: multiply;
|
|
|
|
background-attachment: fixed;
|
|
|
|
|
|
|
|
position: fixed;
|
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: var(--small-size);
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
font-size: var(--main-size);
|
|
|
|
width: 100%;
|
|
|
|
height: calc(100vh - (3 * var(--small-size) + var(--main-size)));
|
|
|
|
animation: fadeIn 300ms cubic-bezier(0, 0.55, 0.45, 1);
|
|
|
|
}
|
2021-07-21 03:30:49 +09:00
|
|
|
}
|
|
|
|
|
2021-07-25 01:38:57 +09:00
|
|
|
/* ANIMATIONS */
|
2021-07-21 03:30:49 +09:00
|
|
|
@keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: unset;
|
|
|
|
transform: none;
|
|
|
|
}
|
2021-07-20 23:51:32 +09:00
|
|
|
}
|