2020-07-05 21:56:09 +01:00
|
|
|
:root {
|
2021-07-20 19:30:49 +01: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;
|
2021-08-03 18:39:55 +01:00
|
|
|
--main-size: 1.3rem;
|
|
|
|
--medium-size: 1.15rem;
|
2021-07-20 19:30:49 +01:00
|
|
|
--small-size: 1rem;
|
|
|
|
|
|
|
|
/* colours and shadows */
|
|
|
|
--black: #040506;
|
2021-08-03 15:49:22 +01:00
|
|
|
--bg1: #1e222b;
|
|
|
|
--bg2: #35394c;
|
|
|
|
--bg3: #46465e;
|
2021-07-26 15:30:55 +01:00
|
|
|
--translucent: #00000033;
|
2021-07-26 18:11:14 +01:00
|
|
|
--translucent-light: #FFFFFF33;
|
2021-07-20 19:30:49 +01:00
|
|
|
--white: #EEDFD4;
|
|
|
|
|
2021-08-03 15:49:22 +01:00
|
|
|
--accent-blue: #8E8DBEAA;
|
|
|
|
--accent-red: #FF6666AA;
|
|
|
|
--accent-green: #2EC4B6AA;
|
2021-07-20 19:30:49 +01:00
|
|
|
|
2021-08-03 15:49:22 +01:00
|
|
|
--shadow: 0px 0px 32px 0px var(--bg1);
|
|
|
|
--shadow-light: 0px 0px 32px 0px var(--accent-blue);
|
2021-07-29 10:27:43 +01: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-05 21:56:09 +01:00
|
|
|
}
|
|
|
|
|
2021-08-03 15:49:22 +01:00
|
|
|
.bg {
|
2021-08-03 18:39:55 +01:00
|
|
|
background-color: var(--bg1);
|
|
|
|
background-image: url(bg.png);
|
2021-08-03 15:49:22 +01:00
|
|
|
background-size: cover;
|
2021-08-03 18:39:55 +01:00
|
|
|
background-repeat: no-repeat;
|
2021-08-03 15:49:22 +01:00
|
|
|
border: solid 2px var(--bg2);
|
|
|
|
}
|
|
|
|
|
2021-07-19 13:06:07 +01:00
|
|
|
/* TYPOGRAPHY */
|
|
|
|
html {
|
2021-07-20 19:30:49 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2021-07-19 13:06:07 +01:00
|
|
|
}
|
2021-08-03 18:39:55 +01:00
|
|
|
body {
|
|
|
|
background-image: url(bg.png);
|
|
|
|
background-size: cover;
|
|
|
|
}
|
2021-07-19 13:06:07 +01:00
|
|
|
|
|
|
|
h1 {
|
2021-07-20 19:30:49 +01: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 13:06:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2021-07-20 19:30:49 +01: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 13:06:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2021-07-20 19:30:49 +01: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 13:06:07 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
2021-07-20 19:30:49 +01:00
|
|
|
font-family: var(--main-font);
|
2021-07-21 19:21:48 +01:00
|
|
|
font-size: var(--medium-size);
|
2021-07-20 19:30:49 +01:00
|
|
|
font-weight: 400;
|
|
|
|
letter-spacing: -0.30px;
|
|
|
|
word-spacing: -0.10px;
|
2021-07-23 19:28:11 +01:00
|
|
|
margin-bottom: var(--small-size) !important;
|
2021-07-20 19:30:49 +01:00
|
|
|
text-transform: none;
|
2021-07-19 13:06:07 +01:00
|
|
|
}
|
|
|
|
|
2021-07-19 13:06:07 +01:00
|
|
|
ul {
|
2021-07-20 19:30:49 +01:00
|
|
|
text-decoration: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
2021-07-26 17:14:24 +01:00
|
|
|
}
|
|
|
|
|
2021-07-19 13:06:07 +01:00
|
|
|
li {
|
2021-07-20 19:30:49 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
2021-07-20 19:30:49 +01:00
|
|
|
|
2021-07-19 13:06:07 +01:00
|
|
|
a:link {
|
2021-07-20 19:30:49 +01:00
|
|
|
text-decoration: none;
|
2021-07-21 19:21:48 +01:00
|
|
|
color: var(--white);
|
2021-07-20 19:30:49 +01:00
|
|
|
outline: 0;
|
2021-07-19 13:06:07 +01:00
|
|
|
}
|
2021-07-20 19:30:49 +01:00
|
|
|
|
2020-06-21 23:56:26 +01:00
|
|
|
a:visited {
|
2021-07-21 19:21:48 +01:00
|
|
|
text-decoration: none;
|
|
|
|
color: var(--white);
|
2021-07-20 19:30:49 +01:00
|
|
|
outline: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
2021-07-23 11:47:43 +01:00
|
|
|
|
2021-07-21 19:21:48 +01:00
|
|
|
a:focus,
|
2021-07-23 11:47:43 +01:00
|
|
|
a:hover {
|
2021-07-26 17:14:24 +01:00
|
|
|
border-radius: var(--unit-size) !important;
|
2021-07-23 19:28:11 +01:00
|
|
|
background: var(--white) !important;
|
2021-07-21 19:21:48 +01:00
|
|
|
color: var(--bg1) !important;
|
2021-07-29 10:27:43 +01:00
|
|
|
padding: 0 var(--unit-size) 0 var(--unit-size) !important;
|
|
|
|
transition: var(--cubic-transition);
|
2020-08-06 00:26:07 +01:00
|
|
|
}
|
2021-07-20 19:30:49 +01:00
|
|
|
|
2021-08-03 16:43:41 +01:00
|
|
|
|
2021-07-29 11:02:53 +01:00
|
|
|
button,
|
|
|
|
input[type=file]::file-selector-button {
|
|
|
|
font-family: var(--display-font);
|
|
|
|
font-size: var(--medium-size);
|
|
|
|
padding: .2em .4em;
|
|
|
|
|
|
|
|
border-radius: var(--unit-size);
|
2021-08-03 15:49:22 +01:00
|
|
|
border: 2px solid var(--bg2);
|
2021-07-29 11:02:53 +01:00
|
|
|
|
|
|
|
background-color: var(--translucent);
|
|
|
|
color: var(--white);
|
|
|
|
transition: var(--cubic-transition);
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=file]::file-selector-button:hover,
|
|
|
|
button:hover {
|
|
|
|
border: 2px solid var(--white) !important;
|
|
|
|
background-color: var(--white) !important;
|
2021-08-03 15:49:22 +01:00
|
|
|
color: var(--bg2) !important;
|
2021-07-29 11:02:53 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
align-self: flex-end;
|
|
|
|
}
|
|
|
|
|
2021-07-28 15:37:54 +01:00
|
|
|
#instance:focus svg,
|
|
|
|
#instance:hover svg {
|
2021-07-23 11:47:43 +01:00
|
|
|
fill: var(--bg1);
|
2021-08-03 16:43:41 +01:00
|
|
|
transition: all 400ms ease;
|
2021-07-23 11:47:43 +01:00
|
|
|
}
|
|
|
|
|
2021-07-24 17:38:57 +01:00
|
|
|
summary:hover > svg,
|
|
|
|
summary:focus > svg {
|
2021-07-23 11:47:43 +01:00
|
|
|
border-radius: var(--unit-size);
|
2021-08-03 16:43:41 +01:00
|
|
|
background-color: var(--white);
|
2021-07-28 15:54:58 +01:00
|
|
|
fill: var(--bg1) !important;
|
2021-08-03 16:43:41 +01:00
|
|
|
stroke: var(--bg1) !important;
|
|
|
|
border: unset !important;
|
2021-07-29 10:27:43 +01:00
|
|
|
transition: var(--cubic-transition);
|
2021-07-23 11:47:43 +01:00
|
|
|
}
|
|
|
|
|
2021-07-21 19:21:48 +01:00
|
|
|
hr {
|
2021-07-24 18:16:27 +01:00
|
|
|
all: unset;
|
2021-07-21 23:13:20 +01:00
|
|
|
display: block;
|
2021-07-23 19:28:11 +01:00
|
|
|
height: 2px;
|
2021-08-03 15:49:22 +01:00
|
|
|
background: var(--bg2);
|
2021-07-23 11:47:43 +01:00
|
|
|
}
|
|
|
|
|
2021-07-20 13:18:57 +01:00
|
|
|
/* DEFAULTS */
|
|
|
|
body,
|
|
|
|
html {
|
2021-07-20 19:30:49 +01:00
|
|
|
color: var(--white);
|
2021-07-21 19:21:48 +01:00
|
|
|
font-family: var(--main-font);
|
2021-07-23 11:47:43 +01:00
|
|
|
}
|
|
|
|
|
2021-07-20 13:18:57 +01:00
|
|
|
#header {
|
2021-07-28 15:37:54 +01:00
|
|
|
font-size: var(--main-size);
|
2021-07-20 19:30:49 +01:00
|
|
|
display: flex;
|
2021-07-28 15:37:54 +01:00
|
|
|
justify-content: space-between;
|
2021-07-20 19:30:49 +01:00
|
|
|
position: fixed;
|
2021-07-28 15:37:54 +01:00
|
|
|
top: 0;
|
2021-07-19 19:19:02 +01:00
|
|
|
|
2021-07-28 15:37:54 +01:00
|
|
|
padding: var(--unit-size);
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100vw;
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
|
|
align-items: center;
|
2020-06-21 23:56:26 +01:00
|
|
|
|
2021-08-03 15:49:22 +01:00
|
|
|
border: unset !important;
|
|
|
|
background-attachment: fixed !important;
|
|
|
|
box-shadow: var(--shadow-light);
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2021-07-19 13:06:07 +01:00
|
|
|
#instance {
|
2021-07-20 19:30:49 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2020-06-21 23:56:26 +01:00
|
|
|
}
|
|
|
|
|
2020-06-25 19:45:14 +01:00
|
|
|
.icon-logo {
|
2021-07-20 19:30:49 +01:00
|
|
|
margin-right: var(--small-size);
|
|
|
|
fill: var(--white);
|
2021-07-21 19:21:48 +01:00
|
|
|
}
|
2021-07-24 17:38:57 +01:00
|
|
|
|
2021-07-20 15:51:32 +01:00
|
|
|
/* CONTAINS ALL ELEMENTS BESIDES HEADER */
|
|
|
|
.container {
|
2021-07-20 19:30:49 +01:00
|
|
|
display: flex;
|
2021-07-27 16:48:17 +01:00
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-around;
|
2021-08-03 18:39:55 +01:00
|
|
|
/*margin-top: calc(3 * var(--small-size) + var(--main-size));*/
|
|
|
|
margin-top: 4.3rem;
|
2021-07-20 19:30:49 +01:00
|
|
|
}
|
2021-07-20 19:30:49 +01:00
|
|
|
|
2021-07-20 15:51:32 +01:00
|
|
|
/* THE FOCUSED (middle) DIV */
|
|
|
|
.content {
|
2021-07-21 16:39:55 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-08-03 18:39:55 +01:00
|
|
|
margin-left: 20%;
|
|
|
|
margin-right: 20%;
|
2021-07-28 15:37:54 +01:00
|
|
|
padding: var(--small-size);
|
2021-07-27 13:51:49 +01:00
|
|
|
|
2021-07-27 16:48:17 +01:00
|
|
|
width: 100%;
|
2021-08-03 18:39:55 +01:00
|
|
|
max-width: 60%;
|
2021-07-21 19:21:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/* NOTES */
|
2021-07-23 19:28:11 +01:00
|
|
|
.h-feed,
|
2021-07-21 19:21:48 +01:00
|
|
|
.notes {
|
|
|
|
margin-top: var(--main-size);
|
|
|
|
}
|
|
|
|
|
2021-07-23 19:28:11 +01:00
|
|
|
.h-feed,
|
|
|
|
.notes hr {
|
|
|
|
margin-top: var(--unit-size);
|
|
|
|
margin-bottom: var(--main-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.h-entry,
|
2021-07-21 19:21:48 +01:00
|
|
|
.note {
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-info {
|
|
|
|
display: flex;
|
|
|
|
border-radius: var(--unit-size);
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2021-07-26 18:11:14 +01:00
|
|
|
background-color: var(--translucent);
|
2021-07-21 19:21:48 +01:00
|
|
|
font-size: var(--main-size);
|
|
|
|
padding: var(--unit-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.note-info .avatar {
|
2021-07-26 18:11:14 +01:00
|
|
|
width: auto;
|
|
|
|
height: var(--main-size);
|
2021-07-21 19:21:48 +01: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;
|
|
|
|
}
|
2021-07-24 17:38:57 +01:00
|
|
|
|
2021-07-29 17:29:25 +01:00
|
|
|
.note-attachments > figure {
|
2021-07-27 16:48:17 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2021-07-21 19:21:48 +01:00
|
|
|
margin: 0;
|
2021-07-29 17:29:25 +01:00
|
|
|
border-radius: var(--unit-size);
|
|
|
|
background-color: var(--translucent);
|
2021-07-21 19:21:48 +01:00
|
|
|
padding: var(--small-size);
|
|
|
|
}
|
2021-07-24 17:38:57 +01:00
|
|
|
|
2021-07-29 17:29:25 +01:00
|
|
|
.note-attachments > figure figcaption {
|
2021-07-28 15:54:58 +01:00
|
|
|
display: flex;
|
|
|
|
padding-top: var(--small-size);
|
|
|
|
}
|
|
|
|
|
2021-07-29 17:29:25 +01:00
|
|
|
.note-attachments > figure img,
|
|
|
|
.note-attachments > figure video {
|
2021-07-27 16:48:17 +01:00
|
|
|
width: 100%;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
2021-07-21 19:21:48 +01:00
|
|
|
figcaption a:link {
|
|
|
|
font-size: var(--small-size);
|
|
|
|
color: var(--white);
|
|
|
|
}
|
|
|
|
|
2021-07-27 13:51:49 +01:00
|
|
|
/* SIDE PANELS */
|
|
|
|
.panel {
|
|
|
|
font-size: var(--main-size);
|
|
|
|
}
|
2021-07-24 18:16:27 +01:00
|
|
|
|
2021-07-27 13:51:49 +01:00
|
|
|
.panel aside {
|
2021-07-29 10:27:43 +01:00
|
|
|
animation: var(--fade-in);
|
2021-08-03 18:39:55 +01:00
|
|
|
padding: var(--unit-size);
|
|
|
|
|
|
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 20%;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel aside .footer {
|
|
|
|
margin-top: auto;
|
2021-07-27 13:51:49 +01:00
|
|
|
}
|
2021-07-24 17:38:57 +01:00
|
|
|
|
2021-07-27 13:51:49 +01:00
|
|
|
.icon-left,
|
|
|
|
.icon-right {
|
|
|
|
display: none;
|
2021-07-20 19:30:49 +01:00
|
|
|
}
|
|
|
|
|
2021-07-28 15:37:54 +01:00
|
|
|
|
|
|
|
/* MEDIA RESIZE */
|
2021-07-27 13:51:49 +01:00
|
|
|
@media (max-width: 1200px) {
|
2021-07-24 18:16:27 +01:00
|
|
|
.icon-left,
|
|
|
|
.icon-right {
|
2021-07-27 16:48:17 +01:00
|
|
|
display: flex;
|
2021-07-28 15:37:54 +01:00
|
|
|
padding: var(--unit-size);
|
2021-07-27 13:51:49 +01:00
|
|
|
}
|
|
|
|
|
2021-07-27 16:48:17 +01:00
|
|
|
.content {
|
2021-07-28 15:37:54 +01:00
|
|
|
margin: unset;
|
2021-07-27 16:48:17 +01:00
|
|
|
max-width: 100% !important;
|
2021-07-27 13:51:49 +01:00
|
|
|
}
|
|
|
|
|
2021-07-24 17:38:57 +01:00
|
|
|
.panel aside {
|
2021-07-27 16:48:17 +01:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel[open] {
|
|
|
|
width: 100%;
|
|
|
|
font-size: var(--main-size);
|
2021-07-24 17:38:57 +01:00
|
|
|
}
|
|
|
|
|
2021-07-27 13:51:49 +01:00
|
|
|
.panel[open] {
|
2021-07-28 15:37:54 +01:00
|
|
|
all: unset;
|
2021-08-03 18:39:55 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.panel aside {
|
|
|
|
display: none !important;
|
2021-07-27 13:51:49 +01:00
|
|
|
}
|
2021-07-24 17:38:57 +01:00
|
|
|
|
2021-07-27 13:51:49 +01:00
|
|
|
.panel[open] aside {
|
2021-07-28 15:37:54 +01:00
|
|
|
padding: var(--unit-size);
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
2021-08-03 18:39:55 +01:00
|
|
|
height: 100vh;
|
|
|
|
background: url("bg.png") !important;
|
|
|
|
background-size: cover !important;
|
|
|
|
|
|
|
|
display: block !important;
|
2021-07-24 17:38:57 +01:00
|
|
|
}
|
2021-07-20 19:30:49 +01:00
|
|
|
}
|
|
|
|
|
2021-07-24 17:38:57 +01:00
|
|
|
/* ANIMATIONS */
|
2021-07-20 19:30:49 +01:00
|
|
|
@keyframes fadeIn {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
opacity: unset;
|
|
|
|
transform: none;
|
|
|
|
}
|
2021-07-28 20:16:27 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeOut {
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translateY(-10px);
|
|
|
|
}
|
|
|
|
|
|
|
|
0% {
|
|
|
|
opacity: unset;
|
|
|
|
transform: none;
|
|
|
|
}
|
2021-07-20 15:51:32 +01:00
|
|
|
}
|