2021-10-31 14:01:27 -07:00
|
|
|
// OmegaUpload Web Frontend
|
|
|
|
// Copyright (C) 2021 Edward Shen
|
|
|
|
//
|
|
|
|
// This program is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
2021-10-23 10:10:55 -07:00
|
|
|
@use '../vendor/highlight.js/src/styles/github-dark.css';
|
|
|
|
|
|
|
|
$padding: 1em;
|
|
|
|
|
2021-10-22 19:15:23 -07:00
|
|
|
@font-face {
|
|
|
|
font-family: "Mplus Code";
|
2022-01-15 22:47:56 -08:00
|
|
|
src: url("./MPLUSCodeLatin[wdth,wght].ttf") format("truetype");
|
2021-10-22 19:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: #404040;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-10-23 10:10:55 -07:00
|
|
|
.unselectable {
|
|
|
|
user-select: none;
|
2021-10-22 19:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2021-10-23 10:10:55 -07:00
|
|
|
@extend .hljs;
|
|
|
|
margin: $padding 0;
|
2021-10-22 19:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
display: inline-flex;
|
|
|
|
min-width: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.paste {
|
2021-10-23 10:10:55 -07:00
|
|
|
@extend .hljs;
|
|
|
|
border-radius: $padding;
|
|
|
|
margin: $padding;
|
|
|
|
padding: 2 * $padding;
|
|
|
|
box-shadow: 0 0 $padding black;
|
2021-10-22 19:15:23 -07:00
|
|
|
min-width: 120ch;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hljs {
|
|
|
|
font-family: 'Mplus Code', sans-serif;
|
|
|
|
}
|
|
|
|
|
2021-10-27 01:49:06 -07:00
|
|
|
.align-right {
|
2021-10-22 19:15:23 -07:00
|
|
|
text-align: right;
|
2021-10-27 01:49:06 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.hljs-ln td.hljs-ln-numbers {
|
|
|
|
@extend .align-right;
|
2021-10-23 10:10:55 -07:00
|
|
|
padding-right: $padding;
|
2021-10-22 19:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.centered {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2021-10-23 10:10:55 -07:00
|
|
|
.fullscreen {
|
|
|
|
min-height: 100vh;
|
|
|
|
min-width: 100vw;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2021-10-22 19:15:23 -07:00
|
|
|
.display-anyways {
|
2021-10-24 02:25:42 -07:00
|
|
|
margin-top: 4em;
|
2021-10-22 19:15:23 -07:00
|
|
|
text-decoration: underline;
|
2021-10-24 02:25:42 -07:00
|
|
|
cursor: pointer;
|
2021-10-22 19:15:23 -07:00
|
|
|
}
|
|
|
|
|
2021-10-24 11:40:19 -07:00
|
|
|
img, audio, video {
|
|
|
|
border-radius: $padding;
|
|
|
|
margin-bottom: $padding;
|
2021-10-23 10:10:55 -07:00
|
|
|
max-height: 75vh;
|
|
|
|
max-width: 75vw;
|
2021-10-22 19:15:23 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
2021-10-23 10:10:55 -07:00
|
|
|
@extend .hljs;
|
2021-10-27 01:49:06 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive {
|
|
|
|
&-table {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-file-size {
|
|
|
|
@extend .align-right;
|
|
|
|
padding-left: $padding;
|
|
|
|
}
|
2021-10-24 02:25:42 -07:00
|
|
|
}
|