2020-07-06 05:56:09 +09:00
|
|
|
:root {
|
2021-07-21 03:30:49 +09:00
|
|
|
/* FONTS */
|
2021-08-11 02:36:52 +09:00
|
|
|
--display-font: 'Manrope', sans-serif;
|
|
|
|
--main-font: 'Inter var', sans-serif;
|
2021-07-21 03:30:49 +09:00
|
|
|
|
|
|
|
/* 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;
|
2021-08-09 21:25:08 +09:00
|
|
|
--main-size: 1.4rem;
|
|
|
|
--medium-size: 1.2rem;
|
|
|
|
--small-size: 1rem;
|
2021-07-21 03:30:49 +09:00
|
|
|
|
|
|
|
/* colours and shadows */
|
2021-08-05 05:12:59 +09:00
|
|
|
--bg1: #242434;
|
|
|
|
--bg2: #46465E;
|
|
|
|
--bg3: #8081BA;
|
2021-07-21 03:30:49 +09:00
|
|
|
|
2021-08-05 05:12:59 +09:00
|
|
|
--translucent: #1A1A2666;
|
2021-08-05 21:09:18 +09:00
|
|
|
--white: #FFFFFF;
|
2021-07-21 03:30:49 +09:00
|
|
|
|
2021-08-05 05:12:59 +09:00
|
|
|
--shadow: 0px 0px 32px 0px #00000066;
|
2021-08-10 02:27:24 +09:00
|
|
|
--shadow-light: 0px 0px 32px 0px #FFFFFF66;
|
2021-07-29 18:27:43 +09:00
|
|
|
|
|
|
|
/* transitions and animations */
|
|
|
|
--cubic-transition: all 200ms cubic-bezier(0, 0.55, 0.45, 1);
|
|
|
|
--fade-in: fadeIn 200ms cubic-bezier(0, 0.55, 0.45, 1);
|
|
|
|
--fade-out: fadeOut 200ms cubic-bezier(0, 0.55, 0.45, 1);
|
2020-07-06 05:56:09 +09:00
|
|
|
}
|
|
|
|
|
2021-08-11 05:05:47 +09:00
|
|
|
/* BACKGROUND IMG GRADIENT */
|
2021-08-05 05:12:59 +09:00
|
|
|
.bg {
|
|
|
|
background-color: var(--bg3);
|
|
|
|
background-image: url(../images/bg.png);
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
2021-07-23 19:47:43 +09:00
|
|
|
}
|
|
|
|
|
2021-08-11 05:05:47 +09:00
|
|
|
/* HEADER AND SIDEPANELS */
|
2021-07-20 21:18:57 +09:00
|
|
|
#header {
|
2021-08-06 01:30:45 +09:00
|
|
|
z-index: 1;
|
|
|
|
|
2021-08-11 02:36:52 +09:00
|
|
|
height: 3rem;
|
2021-07-21 03:30:49 +09:00
|
|
|
display: flex;
|
|
|
|
position: fixed;
|
2021-07-28 23:37:54 +09:00
|
|
|
top: 0;
|
2021-08-05 05:12:59 +09:00
|
|
|
background-color: var(--bg1);
|
2021-07-20 03:19:02 +09:00
|
|
|
|
2021-07-28 23:37:54 +09:00
|
|
|
padding: var(--unit-size);
|
2021-08-05 22:46:17 +09:00
|
|
|
width: 100%;
|
2021-07-28 23:37:54 +09:00
|
|
|
align-items: center;
|
2020-06-22 07:56:26 +09:00
|
|
|
|
2021-08-05 05:12:59 +09:00
|
|
|
box-shadow: var(--shadow);
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
2021-08-11 05:05:47 +09:00
|
|
|
|
|
|
|
/* content should be rendered after the header, not bellow */
|
2021-08-11 02:36:52 +09:00
|
|
|
#header + * {
|
|
|
|
margin-top: 3rem;
|
|
|
|
}
|
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;
|
2021-08-19 06:37:34 +09:00
|
|
|
align-self: center;
|
2021-08-21 15:05:54 +09:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2021-08-23 00:26:19 +09:00
|
|
|
#instance h1 {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
2021-08-11 05:05:47 +09:00
|
|
|
#instance:focus svg,
|
|
|
|
#instance:hover svg {
|
|
|
|
fill: var(--bg1);
|
2021-08-10 02:06:45 +09:00
|
|
|
transition: var(--cubic-transition);
|
|
|
|
}
|
|
|
|
|
2021-08-11 05:05:47 +09:00
|
|
|
.icon {
|
|
|
|
fill: var(--white);
|
2021-08-23 00:26:19 +09:00
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2021-08-11 05:05:47 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
/* CURRENT PAGE LINK */
|
|
|
|
.active {
|
2021-08-23 00:26:19 +09:00
|
|
|
border-radius: 4px;
|
2021-08-11 05:05:47 +09:00
|
|
|
background: var(--white);
|
|
|
|
color: var(--bg1) !important;
|
|
|
|
transition: var(--cubic-transition);
|
|
|
|
}
|
|
|
|
|
2021-07-20 23:51:32 +09:00
|
|
|
/* CONTAINS ALL ELEMENTS BESIDES HEADER */
|
|
|
|
.container {
|
2021-07-21 03:30:49 +09:00
|
|
|
display: flex;
|
2021-07-28 00:48:17 +09:00
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-around;
|
2021-08-29 05:23:25 +09:00
|
|
|
|
|
|
|
margin-left: 20%;
|
|
|
|
margin-right: 20%;
|
2021-08-11 02:36:52 +09:00
|
|
|
padding: var(--unit-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-22 00:39:55 +09:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-07-27 21:51:49 +09:00
|
|
|
|
2021-07-28 00:48:17 +09:00
|
|
|
width: 100%;
|
2021-07-22 03:21:48 +09:00
|
|
|
}
|
|
|
|
|
2021-08-09 21:25:08 +09:00
|
|
|
.markdown-blocks {
|
|
|
|
background-color: var(--translucent);
|
|
|
|
border-radius: 0 0 var(--unit-size) var(--unit-size);
|
|
|
|
border: solid 2px var(--bg2);
|
|
|
|
border-top: solid 2px var(--bg3);
|
|
|
|
padding: var(--unit-size);
|
|
|
|
}
|
|
|
|
.markdown-blocks ul {
|
|
|
|
margin-left: 1em;
|
|
|
|
list-style: disc;
|
|
|
|
}
|
|
|
|
.markdown-blocks ul li {
|
|
|
|
margin-bottom: 0.2em;
|
|
|
|
}
|
|
|
|
.doc-navigation {
|
|
|
|
background-color: var(--translucent);
|
|
|
|
border-radius: var(--unit-size) var(--unit-size) 0 0;
|
|
|
|
border: solid 2px var(--bg2);
|
|
|
|
border-bottom: none;
|
|
|
|
padding: var(--unit-size);
|
|
|
|
}
|
|
|
|
.doc-navigation ul {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
font-size: var(--main-size);
|
|
|
|
font-family: var(--display-font);
|
|
|
|
}
|
|
|
|
|
2021-07-22 03:21:48 +09:00
|
|
|
/* NOTES */
|
2021-07-24 03:28:11 +09:00
|
|
|
.notes hr {
|
|
|
|
margin-top: var(--unit-size);
|
|
|
|
margin-bottom: var(--main-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.h-entry,
|
2021-07-22 03:21:48 +09:00
|
|
|
.note {
|
2021-08-05 05:12:59 +09:00
|
|
|
background-color: var(--translucent);
|
|
|
|
border: solid 2px var(--bg2);
|
2021-08-10 02:06:45 +09:00
|
|
|
/*border-top: solid 2px var(--bg3);*/
|
2021-07-22 03:21:48 +09:00
|
|
|
border-radius: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-info {
|
|
|
|
display: flex;
|
2021-08-12 05:45:59 +09:00
|
|
|
justify-content: space-between;
|
2021-08-19 06:37:34 +09:00
|
|
|
align-items: center;
|
|
|
|
border-radius: var(--unit-size) var(--unit-size) 0 0;
|
2021-07-22 03:21:48 +09:00
|
|
|
|
2021-07-27 02:11:14 +09:00
|
|
|
background-color: var(--translucent);
|
2021-08-12 05:45:59 +09:00
|
|
|
font-size: var(--medium-size);
|
2021-08-11 05:05:47 +09:00
|
|
|
padding: 4px;
|
2021-07-22 03:21:48 +09:00
|
|
|
}
|
2021-08-20 04:37:16 +09:00
|
|
|
|
|
|
|
.note-author {
|
|
|
|
font-family: var(--display-font);
|
|
|
|
font-size: var(--medium-size);
|
|
|
|
font-weight: bold;
|
|
|
|
display: flex;
|
2021-08-19 06:37:34 +09:00
|
|
|
align-items: center;
|
|
|
|
align-self: center;
|
|
|
|
}
|
2021-07-22 03:21:48 +09:00
|
|
|
|
|
|
|
.note-info .avatar {
|
2021-07-27 02:11:14 +09:00
|
|
|
width: auto;
|
2021-08-12 05:45:59 +09:00
|
|
|
height: var(--medium-size);
|
2021-08-19 06:37:34 +09:00
|
|
|
border-radius: var(--unit-size);
|
2021-08-20 04:37:16 +09:00
|
|
|
margin-right: 4px;
|
2021-07-22 03:21:48 +09:00
|
|
|
}
|
|
|
|
|
2021-08-11 10:49:23 +09:00
|
|
|
/* TODO: icons */
|
|
|
|
.note-actions {
|
2021-08-12 05:45:59 +09:00
|
|
|
display: flex;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
.favourite-button-container {
|
2021-08-19 06:37:34 +09:00
|
|
|
width: 1em !important;
|
|
|
|
height: 1em !important;
|
2021-08-11 10:49:23 +09:00
|
|
|
}
|
2021-08-12 02:42:15 +09:00
|
|
|
.favourite-button-container button {
|
2021-08-19 06:37:34 +09:00
|
|
|
all: unset;
|
|
|
|
border: none !important;
|
2021-08-12 05:45:59 +09:00
|
|
|
width: inherit !important;
|
|
|
|
height: inherit !important;
|
2021-08-19 06:37:34 +09:00
|
|
|
background-size: cover !important;
|
|
|
|
|
|
|
|
-webkit-mask-image: url("../icons/heart.svg") !important;
|
|
|
|
-o-mask-image: url("../icons/heart.svg") !important;
|
|
|
|
-moz-mask-image: url("../icons/heart.svg") !important;
|
2021-08-12 02:42:15 +09:00
|
|
|
mask-image: url("../icons/heart.svg") !important;
|
|
|
|
}
|
2021-08-19 06:37:34 +09:00
|
|
|
.favourite-button-container button:hover,
|
|
|
|
.favourite-button-container button:focus {
|
|
|
|
border: none !important;
|
|
|
|
background: var(--bg3) !important;
|
|
|
|
}
|
2021-08-12 02:42:15 +09:00
|
|
|
.favourite-button-off {
|
|
|
|
background: var(--bg2) !important;
|
2021-08-11 10:49:23 +09:00
|
|
|
}
|
|
|
|
.favourite-button-on {
|
2021-08-12 02:42:15 +09:00
|
|
|
background: var(--white) !important;
|
2021-08-11 10:49:23 +09:00
|
|
|
}
|
|
|
|
|
2021-07-22 03:21:48 +09:00
|
|
|
.note-content {
|
|
|
|
padding: var(--small-size);
|
|
|
|
}
|
|
|
|
.note-content p {
|
|
|
|
padding-left: var(--small-size);
|
|
|
|
padding-right: var(--small-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-attachments {
|
|
|
|
display: flex;
|
2021-08-19 06:37:34 +09:00
|
|
|
max-width: 100%;
|
2021-07-22 03:21:48 +09:00
|
|
|
}
|
2021-07-25 01:38:57 +09:00
|
|
|
|
2021-07-30 01:29:25 +09:00
|
|
|
.note-attachments > figure {
|
2021-07-28 00:48:17 +09:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-07-22 03:21:48 +09:00
|
|
|
margin: 0;
|
2021-07-30 01:29:25 +09:00
|
|
|
border-radius: var(--unit-size);
|
|
|
|
background-color: var(--translucent);
|
2021-07-22 03:21:48 +09:00
|
|
|
padding: var(--small-size);
|
|
|
|
}
|
2021-07-25 01:38:57 +09:00
|
|
|
|
2021-07-30 01:29:25 +09:00
|
|
|
.note-attachments > figure figcaption {
|
2021-07-28 23:54:58 +09:00
|
|
|
display: flex;
|
|
|
|
padding-top: var(--small-size);
|
|
|
|
}
|
|
|
|
|
2021-07-30 01:29:25 +09:00
|
|
|
.note-attachments > figure img,
|
|
|
|
.note-attachments > figure video {
|
2021-07-28 00:48:17 +09:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2021-08-17 05:59:19 +09:00
|
|
|
/* SECTIONS */
|
|
|
|
.section-widget {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
padding: var(--unit-size);
|
|
|
|
|
|
|
|
background-color: var(--translucent);
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
border: solid 2px var(--bg2);
|
|
|
|
|
|
|
|
font-family: var(--main-font);
|
|
|
|
font-weight: 400;
|
|
|
|
color: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-title {
|
|
|
|
font-family: var(--display-font);
|
|
|
|
font-weight: 900;
|
|
|
|
font-size: var(--main-size);
|
|
|
|
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
padding: 2px var(--unit-size);
|
|
|
|
|
|
|
|
background-color: var(--translucent);
|
|
|
|
}
|
|
|
|
.section-title-menu {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
.section-title-menu svg {
|
|
|
|
align-self: center;
|
|
|
|
fill: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-form {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: var(--unit-size);
|
|
|
|
}
|
|
|
|
.section-form-legend {
|
|
|
|
padding: unset;
|
|
|
|
margin-bottom: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-form-label {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
font-family: var(--display-font);
|
|
|
|
font-size: var(--small-size);
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1.00;
|
|
|
|
letter-spacing: -0.20px;
|
|
|
|
word-spacing: 1.00px;
|
|
|
|
text-transform: none;
|
|
|
|
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
.section-form-label + input {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.help-text {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: var(--small-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-form-options {
|
|
|
|
display: block !important;
|
|
|
|
margin-bottom: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-form-textarea {
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
background-color: var(--translucent);
|
|
|
|
color: var(--white);
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
height: calc(6 * var(--main-size));
|
|
|
|
|
|
|
|
border: 2px solid transparent;
|
|
|
|
margin-top: var(--unit-size);
|
|
|
|
margin-bottom: var(--unit-size);
|
|
|
|
padding: var(--unit-size);
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
2021-08-11 05:05:47 +09:00
|
|
|
/* BUTTONS AND INPUT SHENANIGANS */
|
|
|
|
button,
|
2021-08-21 15:05:54 +09:00
|
|
|
input:not([type=radio]):not([type=checkbox]):not([type=text]):not([type=password]):not([type=email]) {
|
2021-08-11 05:05:47 +09:00
|
|
|
font-size: var(--small-size) !important;
|
|
|
|
background-image: linear-gradient(180deg, var(--bg2), transparent) !important;
|
|
|
|
color: var(--white) !important;
|
|
|
|
|
|
|
|
border: solid 2px var(--bg2) !important;
|
|
|
|
}
|
|
|
|
|
2021-08-19 06:37:34 +09:00
|
|
|
textarea,
|
2021-08-20 04:37:16 +09:00
|
|
|
input[type=text],
|
2021-08-21 15:05:54 +09:00
|
|
|
input[type=password],
|
|
|
|
input[type=email] {
|
2021-08-19 06:37:34 +09:00
|
|
|
font-size: inherit !important;
|
2021-08-20 04:37:16 +09:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
color: var(--white);
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
padding: var(--unit-size);
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 2px solid var(--bg2);
|
|
|
|
background-color: var(--translucent);
|
2021-08-19 06:37:34 +09:00
|
|
|
}
|
|
|
|
|
2021-08-11 05:05:47 +09:00
|
|
|
textarea:hover,
|
|
|
|
textarea:focus {
|
|
|
|
border-color: var(--bg3) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=radio] {
|
|
|
|
border: solid 0.25em var(--bg2) !important;
|
|
|
|
background-color: var(--bg1) !important;
|
|
|
|
}
|
2021-08-20 04:37:16 +09:00
|
|
|
input:hover,
|
|
|
|
input:focus {
|
2021-08-17 05:59:19 +09:00
|
|
|
border-color: var(--bg3) !important;
|
|
|
|
}
|
2021-08-11 05:05:47 +09:00
|
|
|
input[type=radio]:checked {
|
|
|
|
background-color: var(--white) !important;
|
|
|
|
}
|
|
|
|
|
2021-08-17 05:59:19 +09:00
|
|
|
input[type=checkbox] {
|
|
|
|
background-color: var(--bg2) !important;
|
|
|
|
background-size: cover;
|
|
|
|
|
2021-08-20 04:37:16 +09:00
|
|
|
-webkit-mask-image: url("../icons/check-off.svg") !important;
|
|
|
|
-o-mask-image: url("../icons/check-off.svg") !important;
|
|
|
|
-moz-mask-image: url("../icons/check-off.svg") !important;
|
|
|
|
mask-image: url("../icons/check-off.svg") !important;
|
2021-08-17 05:59:19 +09:00
|
|
|
}
|
|
|
|
input[type=checkbox]:hover,
|
|
|
|
input[type=checkbox]:focus {
|
|
|
|
background-color: var(--bg3) !important;
|
|
|
|
}
|
|
|
|
input[type=checkbox]:checked {
|
|
|
|
background-color: var(--bg3) !important;
|
2021-08-20 04:37:16 +09:00
|
|
|
-webkit-mask-image: url("../icons/check-on.svg") !important;
|
|
|
|
-o-mask-image: url("../icons/check-on.svg") !important;
|
|
|
|
-moz-mask-image: url("../icons/check-on.svg") !important;
|
2021-08-17 05:59:19 +09:00
|
|
|
mask-image: url("../icons/check-on.svg") !important;
|
|
|
|
}
|
|
|
|
|
2021-08-11 05:05:47 +09:00
|
|
|
button:hover,
|
|
|
|
button:focus,
|
|
|
|
input:hover,
|
|
|
|
input:focus {
|
|
|
|
border-color: var(--bg3) !important;
|
|
|
|
color: var(--white) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
button:hover,
|
|
|
|
input:is([type=reset], [type=button], [type=submit]):hover {
|
|
|
|
color: var(--white) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
:focus-visible::-moz-focus-inner {
|
|
|
|
border-color: var(--bg3) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
:is(:disabled, :disabled:active)::file-selector-button,
|
|
|
|
button:is(:disabled, :disabled:active),
|
|
|
|
input:is([type=reset], [type=button], [type=submit]):is(:disabled, :disabled:active),
|
|
|
|
select:is(:disabled, :disabled:active) > button {
|
|
|
|
color: var(--white) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* file selector */
|
|
|
|
input[type=file] {
|
|
|
|
background: linear-gradient(180deg, var(--bg2), transparent) !important;
|
|
|
|
}
|
|
|
|
input[type=file]:focus,
|
|
|
|
input[type=file]:hover {
|
|
|
|
background: linear-gradient(180deg, var(--bg2), var(--bg3) 200%) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* button part of file selector */
|
|
|
|
::file-selector-button {
|
|
|
|
color: var(--white) !important;
|
|
|
|
}
|
|
|
|
|
2021-08-29 05:23:25 +09:00
|
|
|
/* MEDIA QUERIES */
|
|
|
|
|
|
|
|
/* sidepanels need to be shown by default on desktop, hidden on mobile */
|
|
|
|
.panel .panel-content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
/* should remain in place for the user */
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
/* should be bellow header */
|
|
|
|
margin-top: 3rem;
|
|
|
|
|
|
|
|
/* should occupy the entire vertical real estate */
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
padding: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1200px) {
|
|
|
|
.panel label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.panel .panel-content {
|
|
|
|
width: 100%;
|
|
|
|
max-width: 20%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
|
|
/* content should occupy the entire width at this size */
|
|
|
|
.container {
|
|
|
|
margin: unset;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#panel-left-toggle:not(:checked) ~ .panel-content,
|
|
|
|
#panel-right-toggle:not(:checked) ~ .panel-content {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#panel-left-toggle:checked ~ .panel-content,
|
|
|
|
#panel-right-toggle:checked ~ .panel-content {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
background-color: var(--bg2);
|
|
|
|
background-image: url(../images/bg.png);
|
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
}
|
|
|
|
}
|
2021-08-11 05:05:47 +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-29 04:16:27 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeOut {
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
0% {
|
|
|
|
opacity: unset;
|
|
|
|
transform: none;
|
|
|
|
}
|
2021-08-31 01:56:59 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.accessibility-menu {
|
|
|
|
position: absolute;
|
|
|
|
left: -1000px;
|
|
|
|
top: -1000px;
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 5000;
|
|
|
|
background-color: var(--bg1);
|
|
|
|
padding: var(--unit-size);
|
|
|
|
border: solid 2px var(--bg3);
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
box-shadow: var(--shadow);
|
|
|
|
}
|
|
|
|
.accessibility-menu ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
#anchor-menu:target + .accessibility-menu,
|
|
|
|
.accessibility-menu:focus {
|
|
|
|
top: var(--unit-size) !important;
|
|
|
|
left: var(--unit-size) !important;
|
|
|
|
width: 30% !important;
|
|
|
|
height: min-content !important;
|
|
|
|
}
|
|
|
|
.anchor-hidden {
|
|
|
|
width: 1px;
|
|
|
|
height: 1px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
*:target + * {
|
|
|
|
border: 2px solid var(--bg3) !important;
|
2021-07-20 23:51:32 +09:00
|
|
|
}
|