2020-07-06 05:56:09 +09:00
|
|
|
:root {
|
2020-08-14 07:32:41 +09:00
|
|
|
/* fonts */
|
2020-07-14 07:51:19 +09:00
|
|
|
--head-font: 'Montserrat', sans-serif;
|
|
|
|
--main-font: 'Open Sans', sans-serif;
|
2020-08-14 07:32:41 +09:00
|
|
|
|
|
|
|
/* font and margin sizes */
|
2020-08-15 08:37:25 +09:00
|
|
|
--main-size: 1.2em;
|
2020-08-20 12:26:12 +09:00
|
|
|
--medium-size: 0.75em;
|
2020-07-14 07:51:19 +09:00
|
|
|
--small-size: 0.65em;
|
|
|
|
--unit-size: 1em;
|
2020-07-21 02:42:44 +09:00
|
|
|
--side-margin: 2em;
|
2020-08-15 08:37:25 +09:00
|
|
|
--nav-size: 15em;
|
2020-08-14 07:32:41 +09:00
|
|
|
|
|
|
|
/* colours and shadows */
|
|
|
|
--fg: #eceff4;
|
|
|
|
--accent: #81a1c1;
|
2020-08-20 12:26:12 +09:00
|
|
|
--accent-low: #81a1c140;
|
2020-08-14 07:32:41 +09:00
|
|
|
--bg1: #2e3440;
|
|
|
|
--bg2: #3b4252;
|
2020-08-15 08:37:25 +09:00
|
|
|
--bg3: #434c5e;
|
|
|
|
--bg4: #4c566a;
|
2020-08-20 12:26:12 +09:00
|
|
|
--bg5: #d8dee9;
|
|
|
|
--shadow: 0px 0px 20px 0px rgba(46,52,64,0.95);
|
2020-07-06 05:56:09 +09:00
|
|
|
}
|
|
|
|
|
2020-08-14 07:32:41 +09:00
|
|
|
/* DEFAULTS */
|
2020-06-22 07:56:26 +09:00
|
|
|
body,
|
|
|
|
html {
|
2020-08-20 12:26:12 +09:00
|
|
|
background: var(--bg1);
|
2020-07-14 07:51:19 +09:00
|
|
|
background-attachment: fixed;
|
|
|
|
background-size: cover;
|
2020-08-14 07:32:41 +09:00
|
|
|
color: var(--fg);
|
2020-07-14 07:51:19 +09:00
|
|
|
font-family: var(--main-font);
|
|
|
|
font-size: var(--main-size);
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2020-08-15 08:37:25 +09:00
|
|
|
hr {
|
|
|
|
margin: 0;
|
2020-08-20 12:26:12 +09:00
|
|
|
color: var(--accent-low);
|
2020-08-15 08:37:25 +09:00
|
|
|
}
|
|
|
|
|
2020-06-22 07:56:26 +09:00
|
|
|
ul {
|
2020-07-14 07:51:19 +09:00
|
|
|
text-decoration: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2020-07-13 07:32:24 +09:00
|
|
|
li {
|
2020-07-14 07:51:19 +09:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
a:link {
|
2020-07-14 07:51:19 +09:00
|
|
|
text-decoration: none;
|
|
|
|
outline: 0;
|
2020-08-14 07:32:41 +09:00
|
|
|
color: var(--fg);
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
a:visited {
|
2020-07-14 07:51:19 +09:00
|
|
|
outline: 0;
|
2020-08-14 07:32:41 +09:00
|
|
|
color: var(--fg);
|
2020-07-14 07:51:19 +09:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
2020-08-06 08:26:07 +09:00
|
|
|
a:hover {
|
2020-08-14 07:32:41 +09:00
|
|
|
color: var(--fg);
|
2020-08-06 08:26:07 +09:00
|
|
|
transition: all 0.8s ease;
|
|
|
|
}
|
|
|
|
a:focus {
|
2020-08-14 07:32:41 +09:00
|
|
|
color: var(--fg);
|
2020-08-06 08:26:07 +09:00
|
|
|
transition: all 0.8s ease;
|
|
|
|
}
|
2020-06-22 07:56:26 +09:00
|
|
|
|
|
|
|
b {
|
2020-07-14 07:51:19 +09:00
|
|
|
font-family: var(--head-font);
|
|
|
|
font-weight: 800;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2020-08-14 07:32:41 +09:00
|
|
|
/* HEADER */
|
2020-06-22 07:56:26 +09:00
|
|
|
#header {
|
2020-07-14 07:51:19 +09:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2020-08-14 07:32:41 +09:00
|
|
|
background-color: var(--bg1);
|
2020-07-22 01:42:16 +09:00
|
|
|
padding: var(--main-size);
|
|
|
|
height: var(--main-size);
|
2020-08-20 12:26:12 +09:00
|
|
|
margin-left: -1px;
|
|
|
|
margin-right: 1px;
|
|
|
|
margin-top: -1px;
|
|
|
|
border: solid 1px var(--accent-low);
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2020-06-26 03:45:14 +09:00
|
|
|
#top {
|
2020-07-14 07:51:19 +09:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2020-08-15 08:47:16 +09:00
|
|
|
align-items: center;
|
2020-07-14 07:51:19 +09:00
|
|
|
flex-wrap: wrap;
|
|
|
|
width: 100%;
|
2020-06-26 03:45:14 +09:00
|
|
|
}
|
|
|
|
|
2020-06-22 07:56:26 +09:00
|
|
|
.icon-menu {
|
2020-07-14 07:51:19 +09:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: inline-block;
|
|
|
|
width: var(--unit-size);
|
|
|
|
height: var(--unit-size);
|
|
|
|
stroke-width: 0;
|
|
|
|
stroke: currentColor;
|
|
|
|
fill: currentColor;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#instance {
|
2020-08-15 08:37:25 +09:00
|
|
|
order: 2;
|
2020-07-19 19:44:44 +09:00
|
|
|
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2020-06-26 03:45:14 +09:00
|
|
|
#instance b {
|
2020-07-14 07:51:19 +09:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-07-22 01:42:16 +09:00
|
|
|
vertical-align: middle;
|
|
|
|
margin-left: calc(0.2 * var(--unit-size));
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2020-06-26 03:45:14 +09:00
|
|
|
.icon-logo {
|
2020-07-14 07:51:19 +09:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
display: inline-block;
|
|
|
|
width: var(--unit-size);
|
|
|
|
height: var(--unit-size);
|
|
|
|
stroke-width: 0;
|
|
|
|
stroke: currentColor;
|
|
|
|
fill: currentColor;
|
2020-07-22 01:42:16 +09:00
|
|
|
vertical-align: middle;
|
2020-07-14 07:51:19 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
#left-panel {
|
2020-08-15 08:37:25 +09:00
|
|
|
order: 1;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
|
|
|
|
2020-08-14 07:32:41 +09:00
|
|
|
/* left panel z-index fix */
|
|
|
|
.form {
|
|
|
|
position: relative;
|
|
|
|
z-index: 0;
|
2020-06-22 07:56:26 +09:00
|
|
|
}
|
2020-08-14 07:32:41 +09:00
|
|
|
#header {
|
|
|
|
z-index: 1;
|
2020-08-13 10:54:51 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
/* RIGHT PANEL */
|
|
|
|
#right-panel {
|
2020-08-14 07:32:41 +09:00
|
|
|
order: 3;
|
2020-08-13 10:54:51 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.arrow {
|
2020-08-14 07:32:41 +09:00
|
|
|
border: solid var(--fg);
|
2020-08-13 10:54:51 +09:00
|
|
|
border-width: 0 3px 3px 0;
|
2020-08-15 08:37:25 +09:00
|
|
|
display: none;
|
2020-08-13 10:54:51 +09:00
|
|
|
padding: 0.3em;
|
|
|
|
}
|
|
|
|
.right {
|
|
|
|
transform: rotate(135deg);
|
|
|
|
-webkit-transform: rotate(135deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.rss {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
width: var(--nav-size);
|
|
|
|
height: calc(100vh - (3 * var(--unit-size)));
|
|
|
|
position: fixed;
|
2020-08-15 08:37:25 +09:00
|
|
|
background-color: var(--bg1);
|
2020-08-13 10:54:51 +09:00
|
|
|
margin-top: calc(3 * var(--main-size));
|
2020-08-14 07:32:41 +09:00
|
|
|
z-index: 0;
|
2020-08-20 12:26:12 +09:00
|
|
|
border: solid 1px var(--accent-low);
|
2020-08-13 10:54:51 +09:00
|
|
|
}
|
|
|
|
|
2020-08-14 10:39:54 +09:00
|
|
|
input.larger {
|
|
|
|
width: var(--main-size);
|
|
|
|
height: calc( 2 * var(--main-size));
|
2020-08-13 10:54:51 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
/* untoggled */
|
|
|
|
.rss {
|
2020-08-15 08:37:25 +09:00
|
|
|
right: 0;
|
2020-08-13 10:54:51 +09:00
|
|
|
top: 0;
|
|
|
|
transition: 0.3s ease;
|
|
|
|
}
|
|
|
|
.arrow label {
|
|
|
|
display: block;
|
2020-08-14 07:32:41 +09:00
|
|
|
cursor: pointer;
|
2020-08-13 10:54:51 +09:00
|
|
|
}
|
|
|
|
#toggle-right {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 2;
|
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
#toggle-right:not(:checked)+.arrow {
|
|
|
|
transform: rotate(135deg);
|
|
|
|
transition: 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* toggled */
|
|
|
|
#toggle-right:checked~.rss {
|
|
|
|
display: flex;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
transition: 0.3s ease;
|
|
|
|
}
|
|
|
|
#toggle-right:checked+.arrow {
|
|
|
|
transform: rotate(-45deg);
|
|
|
|
transition: 0.3s ease;
|
2020-07-24 07:48:49 +09:00
|
|
|
}
|