-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
132 lines (110 loc) · 1.89 KB
/
styles.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
h1, h2, h3, p {
margin: 0;
}
body {
font-family: 'Roboto', sans-serif;
background-color: whitesmoke;
}
#title {
margin-bottom: 0.5em;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
}
@media(min-width: 512px){
main {
display: flex;
flex-direction: row;
align-items: stretch;
justify-content: start;
flex-wrap: wrap;
}
}
header {
margin: 1em;
padding: 0.5em;
}
.container {
display: flex;
flex-direction: column;
padding: 1em;
margin: 0 0.5em;
align-items: center;
}
canvas {
border: solid 1px gray;
margin: 1em;
border-radius: 5px;
background-color: white;
}
#imgCanvas {
width: min(80vw, 768px);
}
form {
display: flex;
flex-direction: column;
}
fieldset {
border-radius: 5px;
margin: 0.5em 0;
background-color: white;
}
legend {
font-weight: bold;
}
#kernelOptions {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
}
.kernelValue {
background-color: rgb(240, 240, 240);
border-radius: 5px;
display: flex;
align-items: center;
column-gap: 10px;
padding: 0.5em;
cursor: pointer;
}
.selectedVal {
background-color: rgb(210, 210, 210);
}
.kernelColor {
width: 20px;
height: 20px;
border: solid 1px;
}
#kernel {
display: grid;
margin: 1em 0;
}
.kernelItem {
aspect-ratio: 1;
border: solid 1px gray;
cursor: pointer;
}
#kernelResetButton {
width: 100%;
}
#imgControlButton {
padding: 0.5em 1em;
}
#kernelExampleList {
list-style-type: none;
margin: 1em 0;
padding: 1em;
background-color: white;
border-radius: 5px;
border: solid 1px gray;
}
.kernelExample {
margin: 0.5em 0;
align-items: center;
}
.kernelExample > button{
padding: 0.25em 0.5em;
margin-left: 0.5em;
}