307 lines
7.7 KiB
CSS
307 lines
7.7 KiB
CSS
:root {
|
|
/* 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;
|
|
--white: #EEDFD4;
|
|
|
|
--accent-blue: #8E8DBE;
|
|
--accent-red: #FF6666;
|
|
--accent-green: #2EC4B6;
|
|
|
|
--shadow: 0px 0px 16px 0px #383E51;
|
|
--shadow-light: 0px 0px 16px 0px #8E8DBE;
|
|
}
|
|
|
|
/* TYPOGRAPHY */
|
|
html {
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
h1 {
|
|
font-family: var(--display-font);
|
|
font-size: var(--main-size);
|
|
font-weight: 900;
|
|
opacity: 1.00;
|
|
letter-spacing: -0.40px;
|
|
word-spacing: 4.00px;
|
|
}
|
|
|
|
h2 {
|
|
font-family: var(--display-font);
|
|
font-size: var(--medium-size);
|
|
font-weight: 800;
|
|
letter-spacing: -0.75px;
|
|
word-spacing: 3.00px;
|
|
text-transform: none;
|
|
}
|
|
|
|
h3 {
|
|
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;
|
|
}
|
|
|
|
p {
|
|
font-family: var(--main-font);
|
|
font-size: var(--medium-size);
|
|
font-weight: 400;
|
|
letter-spacing: -0.30px;
|
|
word-spacing: -0.10px;
|
|
text-transform: none;
|
|
}
|
|
|
|
ul {
|
|
text-decoration: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
li {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
a:link {
|
|
text-decoration: none;
|
|
color: var(--white);
|
|
outline: 0;
|
|
}
|
|
|
|
a:visited {
|
|
text-decoration: none;
|
|
color: var(--white);
|
|
outline: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
a:focus,
|
|
a:hover,
|
|
a:active {
|
|
border-radius: var(--unit-size);
|
|
padding: 0 var(--unit-size) 0 var(--unit-size);
|
|
background: var(--white);
|
|
color: var(--bg1) !important;
|
|
transition: all 0.8s ease;
|
|
}
|
|
|
|
hr {
|
|
color: var(--bg3) !important;
|
|
border-radius: var(--main-size);
|
|
margin-bottom: var(--main-size);
|
|
}
|
|
|
|
/* DEFAULTS */
|
|
body,
|
|
html {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
width: auto;
|
|
color: var(--white);
|
|
font-family: var(--main-font);
|
|
|
|
/* 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;
|
|
|
|
}
|
|
|
|
#header {
|
|
order: 1;
|
|
display: flex;
|
|
justify-content: center;
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
height: calc(5 * var(--unit-size));
|
|
padding: var(--small-size);
|
|
box-sizing: content-box;
|
|
|
|
background-image: radial-gradient(ellipse at 50% 5%, var(--bg1), 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;
|
|
background-attachment: fixed;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
#instance {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
#instance a {
|
|
display: flex;
|
|
color: var(--white);
|
|
font-size: var(--main-size);
|
|
}
|
|
|
|
.icon-logo {
|
|
margin-right: var(--small-size);
|
|
fill: var(--white);
|
|
}
|
|
|
|
/* CONTAINS ALL ELEMENTS BESIDES HEADER */
|
|
.container {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
width: 100%;
|
|
}
|
|
|
|
/* THE FOCUSED (middle) DIV */
|
|
.content {
|
|
order: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: calc(3 * (100%/5));
|
|
padding: calc(2 * var(--main-size)) var(--small-size) var(--small-size) var(--small-size);
|
|
}
|
|
|
|
/* NAVIGATION */
|
|
.navigation {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
.navigation nav {
|
|
padding: var(--small-size);
|
|
background: radial-gradient(ellipse at 50% 100%, var(--bg1), transparent 35%);
|
|
}
|
|
.navigation a {
|
|
font-family: var(--display-font);
|
|
font-size: var(--main-size);
|
|
color: var(--accent-blue);
|
|
}
|
|
.active {
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
.sec-nav ul {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding-left: 20%;
|
|
padding-right: 20%;
|
|
}
|
|
.sec-nav a {
|
|
font-size: var(--medium-size);
|
|
}
|
|
|
|
/* NOTES */
|
|
.notes {
|
|
margin-top: var(--main-size);
|
|
}
|
|
|
|
.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;
|
|
|
|
background-color: #00000022;
|
|
font-size: var(--main-size);
|
|
padding: var(--unit-size);
|
|
}
|
|
|
|
.note-info .avatar {
|
|
width: var(--main-size);
|
|
height: auto;
|
|
}
|
|
|
|
.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);
|
|
background-color: #00000033;
|
|
}
|
|
.note-attachments > div figure {
|
|
margin: 0;
|
|
padding: var(--small-size);
|
|
}
|
|
figcaption a:link {
|
|
font-size: var(--small-size);
|
|
color: var(--white);
|
|
}
|
|
|
|
/* EVERY SIDE PANEL DETAIL ELEMENT */
|
|
.panel {
|
|
all: unset;
|
|
width: calc(1 * (100%/5));
|
|
}
|
|
|
|
.panel[open] {
|
|
height: 100%;
|
|
}
|
|
|
|
/* ANIMATIONS */
|
|
.content {
|
|
animation: fadeIn 200ms cubic-bezier(0, 0.55, 0.45, 1);
|
|
}
|
|
|
|
details[open] > div {
|
|
animation: fadeIn 200ms cubic-bezier(0, 0.55, 0.45, 1);
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
100% {
|
|
opacity: unset;
|
|
transform: none;
|
|
}
|
|
}
|
|
|
|
/* MEDIA QUERIES */
|
|
@media (min-width: 900px) {
|
|
|
|
}
|
|
@media (max-width: 900px) {
|
|
|
|
} |