styles.css

  1/*
  2 * SPDX-FileCopyrightText: Amolith <amolith@secluded.site>
  3 *
  4 * SPDX-License-Identifier: CC0-1.0
  5 */
  6
  7@font-face {
  8	font-family: 'Atkinson Hyperlegible';
  9	font-weight: normal;
 10	font-style: normal;
 11	font-display: swap;
 12	src: url("/static/fonts/regular-102a.woff2") format("woff2");
 13}
 14
 15@font-face {
 16	font-family: 'Atkinson Hyperlegible';
 17	font-weight: normal;
 18	font-style: italic;
 19	font-display: swap;
 20	src: url("/static/fonts/regular-102a.woff2") format("woff2");
 21}
 22
 23@font-face {
 24	font-family: 'Atkinson Hyperlegible';
 25	font-weight: bold;
 26	font-style: normal;
 27	font-display: swap;
 28	src: url("/static/fonts/bold-102a.woff2") format("woff2");
 29}
 30
 31@font-face {
 32	font-family: 'Atkinson Hyperlegible';
 33	font-weight: bold;
 34	font-style: italic;
 35	font-display: swap;
 36	src: url("/static/fonts/bolditalic-102a.woff2") format("woff2");
 37}
 38
 39html {
 40    margin: auto auto;
 41    color: #2f2f2f;
 42    background: white;
 43    font-family: 'Atkinson Hyperlegible', sans-serif;
 44    scroll-behavior: smooth;
 45}
 46
 47a {
 48    color: #0640e0;
 49}
 50
 51a:visited {
 52    color: #0640e0;
 53}
 54
 55.two_column {
 56    display: flex;
 57    gap: 30px;
 58    flex-direction: row;
 59    margin: auto auto;
 60    max-width: 1000px;
 61    height: 92vh;
 62}
 63
 64.projects, .release_notes {
 65    overflow: scroll;
 66    flex: 0 0 500px;
 67}
 68
 69.release_note.card:not(:target) { display: none;  }
 70.release_note.card:target       { display: block; }
 71
 72.return_to_project {
 73    display: none;
 74}
 75
 76.card {
 77    border: 2px solid #2f2f2f;
 78    background: #f8f8f8;
 79    border-radius: 5px;
 80    margin-top: 20px;
 81    padding: 20px 20px 0 20px;
 82    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
 83}
 84
 85.card > h3 {
 86    margin-top: 0;
 87}
 88
 89.card > p:first-of-type {
 90    margin-bottom: 16px;
 91}
 92
 93.card > p:last-of-type {
 94    margin-bottom: 16px;
 95}
 96
 97.close, .delete { float: right; }
 98.delete { font-size: 12px; }
 99.close > a {
100    text-decoration: none;
101    color: #2f2f2f;
102}
103
104.card > pre, .card > div > pre { overflow: scroll; }
105
106.wrapper {
107    max-width: 500px;
108    margin: auto auto;
109}
110
111header > h1 > span {
112    font-size: 12px;
113    float: right;
114}
115
116@media (prefers-color-scheme: dark) {
117    html {
118        background: #171717;
119        color: #ccc;
120    }
121
122    a {
123        color: #5582ff;
124    }
125
126    a:visited {
127        color: #5582ff;
128    }
129
130    .card {
131        border: 2px solid #ccc;
132        background: #1c1c1c;
133    }
134
135    .close > a {
136        color: #ccc;
137    }
138}
139
140@media only screen and (max-width: 1000px) {
141    div[id] {
142        display: block;
143    }
144
145    .two_column {
146        flex-direction: column;
147    }
148
149    .projects, .release_notes {
150        overflow: visible;
151        flex: 0 0 100%;
152    }
153
154    .return_to_project {
155        display: block;
156    }
157
158    .close {
159        display: none;
160    }
161}
162