-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.css
148 lines (112 loc) · 4.5 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/**
* This program has been developed by students from the bachelor Computer Science at Utrecht University within the Software Project course.
* © Copyright Utrecht University (Department of Information and Computing Sciences)
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 210 40% 98%; /* hsl(210, 40%, 98%) */
--foreground: 215 25% 27%; /* hsl(215, 25%, 27%) */
--muted: 214 32% 91%; /* hsl(214, 32%, 91%) */
--muted-foreground: 215 25% 27%; /* hsl(215, 25%, 27%) */
--popover: 210 40% 98%; /* hsl(210, 40%, 98%) */
--popover-foreground: 215 25% 27%; /* hsl(215, 25%, 27%) */
--highlight: 0 0% 100%; /* hsl(0, 0%, 100%) */
--highlight-foreground: 215 25% 27%; /* hsl(215, 25%, 27%) */
--border: 214 32% 91%; /* hsl(214, 32%, 91%) */
--input: 214 32% 91%; /* hsl(214, 32%, 91%) */
--success: 142 69% 58%; /* hsl(142, 69%, 58%) */
--success-background: 120 100% 90%; /* hsl(120, 100%, 90%) */
--success-foreground: 216 34% 17%; /* hsl(216, 34%, 17%) */
--primary: 215 54% 34%; /* hsl(215, 54%, 34%) */
--primary-foreground: 210 40% 98%; /* hsl(210, 40%, 98%) */
--primary-highlight: 213 52% 60%; /* hsl(213, 52%, 60%) */
--secondary: 213 27% 84%; /* hsl(213, 27%, 84%) */
--secondary-foreground: 216 34% 15%; /* hsl(216, 34%, 17%) */
--accent: 210 40% 94%; /* hsl(210, 40%, 94%) */
--accent-foreground: 222 47% 11%; /* hsl(222, 47%, 11%) */
--destructive: 0 91% 71%; /* hsl(0, 91%, 71%) */
--destructive-background: 0 96% 89%; /* hsl(0, 96%, 89%) */
--destructive-foreground: 216 34% 17%; /* hsl(216, 34%, 17%) */
--ring: 215 20% 65%; /* hsl(215, 20%, 65%) */
--radius: 0.5rem; /* 8px */
}
.dark {
--background: 225 29% 11%; /* hsl(224, 29%, 11%) */
--foreground: 213 27% 84%; /* hsl(213, 27%, 84%) */
--muted: 222 47% 11%; /* hsl(223, 47%, 11%) */
--muted-foreground: 213 27% 84%; /* hsl(213, 27%, 84%) */
--popover: 223 24% 20%; /* hsl(223, 24%, 20%) */
--popover-foreground: 213 27% 84%; /* hsl(213, 27%, 84%) */
--highlight: 226 28% 16%; /* hsl(226, 28%, 16%) */
--highlight-foreground: 213 27% 84%; /* hsl(213, 27%, 84%) */
--border: 223 24% 25%; /* hsl(223, 24%, 25%) */
--input: 223 24% 25%; /* hsl(223, 24%, 25%) */
--success: 142 77% 73%; /* hsl(142, 77%, 73%) */
--success-background: 134 77% 86%; /* hsl(134, 77%, 86%) */
--success-foreground: 216 34% 17%; /* hsl(216, 34%, 17%) */
--primary: 213 50% 48%; /* hsl(213, 50%, 48%) */
--primary-foreground: 210 40% 98%; /* hsl(210, 40%, 98%) */
--primary-highlight: 213 61% 64%; /* hsl(213, 61%, 64%) */
--secondary: 215 19% 35%; /* hsl(215, 19%, 35%) */
--secondary-foreground: 213 27% 84%; /* hsl(213, 27%, 84%) */
--accent: 223 24% 22%; /* hsl(216, 34%, 17%) */
--accent-foreground: 210 40% 98%; /* hsl(210, 40%, 98%) */
--destructive: 0 94% 82%; /* hsl(0, 94%, 82%) */
--destructive-background: 0 94% 82%; /* hsl(0, 94%, 82%) */
--destructive-foreground: 216 34% 17%; /* hsl(216, 34%, 17%) */
--ring: 223 24% 28%; /* hsl(223, 24%, 28%) */
--radius: 0.5rem; /* 8px */
color-scheme: dark;
}
}
@layer base {
body {
@apply min-h-screen scroll-smooth bg-background text-foreground;
font-feature-settings:
'rlig' 1,
'calt' 1;
}
::-moz-selection {
/* Code for Firefox */
@apply bg-primary text-primary-foreground;
}
::selection {
@apply bg-primary text-primary-foreground;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
@apply shadow-[inset_0_0_0_30px] shadow-background;
-webkit-text-fill-color: #aaa !important;
}
}
.styled-editor-content .ProseMirror {
padding: 12px 16px;
height: 100%;
min-height: 112px;
}
.styled-editor-content .ProseMirror:focus {
outline: none;
}
.styled-editor-content ul {
list-style-type: disc;
padding: 0 1rem;
}
.styled-editor-content ol {
list-style-type: decimal;
padding: 0 1rem;
}
.styled-editor-content a {
@apply cursor-pointer rounded-sm font-bold text-primary-highlight underline transition-colors duration-200 hover:text-primary-highlight/80;
}
.styled-editor-content .ProseMirror p.is-editor-empty:first-child::before {
@apply pointer-events-none float-left h-0 text-highlight-foreground/50;
content: attr(data-placeholder);
}