-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (90 loc) · 1.94 KB
/
style.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
:root{
--border-rounding: 6px;
--table-hue: 102deg;
}
html {
background: rgb(243, 243, 243);
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-size: 15pt;
}
html, body {
height: 100%;
margin: 0;
}
body {
display: grid;
grid-template-columns: 1fr 3fr 1fr;
grid-template-rows: 1fr 5fr;
place-items: start center;
}
header {
grid-column-start: 2;
grid-column-end: 3;
grid-row-start: 1;
grid-row-end: 2;
}
main {
grid-column-start: 2;
grid-column-end: 3;
grid-row-start: 2;
grid-row-end: 3;
}
aside {
grid-column-start: 3;
grid-column-end: 4;
grid-row-start: 1;
grid-row-end: 3;
}
table {
border-spacing: 0 var(--border-rounding);
border-collapse: separate;
background-color: hsl(var(--table-hue), 45%, 89%);
color: hsl(var(--table-hue), 45%, 20%);
padding: var(--border-rounding);
border-bottom-left-radius: var(--border-rounding);
border-bottom-right-radius: var(--border-rounding);
}
td {
background-color: hsl(var(--table-hue) 45% 70%);
padding: var(--border-rounding);
border-color: green;
}
td:first-child {
border-top-left-radius: var(--border-rounding);
border-bottom-left-radius: var(--border-rounding);
}
td:last-child {
border-top-right-radius: var(--border-rounding);
border-bottom-right-radius: var(--border-rounding);
}
canvas {
border: 1px solid black;
}
.alert {
padding: 20px;
border: 1px solid #d6e9c6;
border-radius: 4px;
background-color: #dff0d8; /* Green */
color: #3c763d;
margin-bottom: 15px;
opacity: 1;
transition: opacity 0.6s;
}
/* The close button */
.close-button {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}
/* When moving the mouse over the close button */
.close-button:hover {
color: black;
}
input.error {
background-color: pink;
}