diff options
Diffstat (limited to 'src/internal-server/public/css')
-rw-r--r-- | src/internal-server/public/css/main.css | 72 | ||||
-rw-r--r-- | src/internal-server/public/css/vanilla.css | 138 |
2 files changed, 210 insertions, 0 deletions
diff --git a/src/internal-server/public/css/main.css b/src/internal-server/public/css/main.css new file mode 100644 index 000000000..b20b67922 --- /dev/null +++ b/src/internal-server/public/css/main.css | |||
@@ -0,0 +1,72 @@ | |||
1 | input { | ||
2 | margin-bottom: 1rem; | ||
3 | width: 100%; | ||
4 | padding: 0.5rem; | ||
5 | } | ||
6 | |||
7 | button, | ||
8 | .button { | ||
9 | display: flex; | ||
10 | overflow: hidden; | ||
11 | padding: 12px 12px; | ||
12 | cursor: pointer; | ||
13 | width: 100%; | ||
14 | -webkit-user-select: none; | ||
15 | -moz-user-select: none; | ||
16 | -ms-user-select: none; | ||
17 | user-select: none; | ||
18 | @media (prefers-reduced-motion: no-preference) { | ||
19 | transition: all 150ms linear; | ||
20 | } | ||
21 | text-align: center; | ||
22 | white-space: nowrap; | ||
23 | text-decoration: none !important; | ||
24 | text-transform: none; | ||
25 | text-transform: capitalize; | ||
26 | color: #fff !important; | ||
27 | border: 0 none; | ||
28 | border-radius: 4px; | ||
29 | font-size: 13px; | ||
30 | font-weight: 500; | ||
31 | line-height: 1.3; | ||
32 | -webkit-appearance: none; | ||
33 | -moz-appearance: none; | ||
34 | appearance: none; | ||
35 | justify-content: center; | ||
36 | align-items: center; | ||
37 | flex: 0 0 160px; | ||
38 | box-shadow: 2px 5px 10px #e4e4e4; | ||
39 | color: #ffffff; | ||
40 | background: #161616; | ||
41 | } | ||
42 | |||
43 | #dropzone { | ||
44 | width: 100%; | ||
45 | height: 30vh; | ||
46 | background-color: #ebebeb; | ||
47 | |||
48 | display: flex; | ||
49 | align-items: center; | ||
50 | justify-content: center; | ||
51 | text-align: center; | ||
52 | |||
53 | cursor: pointer; | ||
54 | } | ||
55 | |||
56 | #dropzone p { | ||
57 | font-size: 0.85rem; | ||
58 | } | ||
59 | |||
60 | #files { | ||
61 | display: none; | ||
62 | } | ||
63 | |||
64 | .alert { | ||
65 | background-color: #e7a8a6; | ||
66 | padding: 0.8rem; | ||
67 | margin-bottom: 1rem; | ||
68 | } | ||
69 | |||
70 | td { | ||
71 | word-break: break-all; | ||
72 | } | ||
diff --git a/src/internal-server/public/css/vanilla.css b/src/internal-server/public/css/vanilla.css new file mode 100644 index 000000000..37bc051a2 --- /dev/null +++ b/src/internal-server/public/css/vanilla.css | |||
@@ -0,0 +1,138 @@ | |||
1 | /* Reset */ | ||
2 | html, body, div, span, applet, object, iframe, | ||
3 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, | ||
4 | a, abbr, acronym, address, big, cite, code, | ||
5 | del, dfn, em, img, ins, kbd, q, s, samp, | ||
6 | small, strike, strong, sub, sup, tt, var, | ||
7 | b, u, i, center, | ||
8 | dl, dt, dd, ol, ul, li, | ||
9 | fieldset, form, label, legend, | ||
10 | table, caption, tbody, tfoot, thead, tr, th, td, | ||
11 | article, aside, canvas, details, embed, | ||
12 | figure, figcaption, footer, header, hgroup, | ||
13 | menu, nav, output, ruby, section, summary, | ||
14 | time, mark, audio, video { | ||
15 | margin: 0; | ||
16 | padding: 0; | ||
17 | border: 0; | ||
18 | font-size: 100%; | ||
19 | font: inherit; | ||
20 | vertical-align: baseline; | ||
21 | } | ||
22 | * { | ||
23 | box-sizing: border-box; | ||
24 | } | ||
25 | |||
26 | |||
27 | |||
28 | /* Variables */ | ||
29 | :root { | ||
30 | --desktop-font-size: 1.3rem/1.5; | ||
31 | --mobile-font-size: 1.1rem/1.4; | ||
32 | --text-color: #2d2d2d; | ||
33 | --link-color: blue; | ||
34 | --primary-color: lightsteelblue; | ||
35 | --secondary-color: aliceblue; | ||
36 | --tertiary-color: whitesmoke; | ||
37 | } | ||
38 | |||
39 | |||
40 | |||
41 | |||
42 | /* Typography */ | ||
43 | body { | ||
44 | color: var(--text-color); | ||
45 | padding: 3rem; | ||
46 | font: var(--desktop-font-size) -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto, Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol"; | ||
47 | } | ||
48 | |||
49 | h1,h2,h3,h4,h5,h6,p,blockquote,dl,img,figure { | ||
50 | margin: 2rem 0; | ||
51 | } | ||
52 | |||
53 | h1,h2,h3,h4,h5,h6 { font-weight: bold; } | ||
54 | h1 { font-size: 200%; } | ||
55 | h2 { font-size: 150%; } | ||
56 | h3 { font-size: 120%; } | ||
57 | h4,h5,h6 { font-size: 100%; } | ||
58 | h5, h6 { text-transform: uppercase; } | ||
59 | |||
60 | header h1 { border-bottom: 1px solid; } | ||
61 | |||
62 | p { margin: 2rem 0; } | ||
63 | |||
64 | a,a:visited { color: var(--link-color); } | ||
65 | |||
66 | strong, time, b { font-weight: bold; } | ||
67 | em, dfn, i { font-style: italic; } | ||
68 | sub { font-size: 60%; vertical-align: bottom; } | ||
69 | small { font-size: 80%; } | ||
70 | |||
71 | blockquote, q { | ||
72 | background: var(--secondary-color); | ||
73 | border-left: 10px solid var(--primary-color); | ||
74 | font-family: "Georgia", serif; | ||
75 | padding: 1rem; | ||
76 | } | ||
77 | blockquote p:first-child { margin-top: 0; } | ||
78 | cite { | ||
79 | font-family: "Georgia", serif; | ||
80 | font-style: italic; | ||
81 | font-weight: bold; | ||
82 | } | ||
83 | |||
84 | kbd,code,samp,pre,var { font-family: monospace; font-weight: bold; } | ||
85 | code, pre { | ||
86 | background: var(--tertiary-color); | ||
87 | padding: 0.5rem 1rem; | ||
88 | } | ||
89 | code pre , pre code { padding: 0; } | ||
90 | |||
91 | |||
92 | |||
93 | /* Elements */ | ||
94 | hr { | ||
95 | background: var(--text-color); | ||
96 | border: 0; | ||
97 | height: 1px; | ||
98 | margin: 4rem 0; | ||
99 | } | ||
100 | |||
101 | img { max-width: 100%; } | ||
102 | |||
103 | figure { | ||
104 | border: 1px solid var(--primary-color); | ||
105 | display: inline-block; | ||
106 | padding: 1rem; | ||
107 | width: auto; | ||
108 | } | ||
109 | figure img { margin: 0; } | ||
110 | figure figcaption { font-size: 80%; } | ||
111 | |||
112 | ul, ol { margin: 2rem 0; padding: 0 0 0 4rem; } | ||
113 | |||
114 | dl dd { padding-left: 2rem; } | ||
115 | |||
116 | table { | ||
117 | border: 1px solid var(--primary-color); | ||
118 | border-collapse: collapse; | ||
119 | table-layout: fixed; | ||
120 | width: 100%; | ||
121 | } | ||
122 | table caption { margin: 2rem 0; } | ||
123 | table thead { text-align: center; } | ||
124 | table tbody { text-align: right; } | ||
125 | table tr { border-bottom: 1px solid var(--primary-color); } | ||
126 | table tbody tr:nth-child(even) { background: var(--tertiary-color); } | ||
127 | table th { background: var(--secondary-color); font-weight: bold; } | ||
128 | table th, table td { padding: 1rem; } | ||
129 | table th:not(last-of-type), table td:not(last-of-type) { border-right: 1px solid var(--primary-color); } | ||
130 | |||
131 | |||
132 | |||
133 | /* Mobile Styling */ | ||
134 | @media screen and (max-width: 50rem) { | ||
135 | body { | ||
136 | font: var(--mobile-font-size) -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto, Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol" | ||
137 | } | ||
138 | } \ No newline at end of file | ||