-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
132 lines (113 loc) · 2.17 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
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
body,
h1,
h2,
p,
input,
canvas {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.EB_Garamond_600 {
font-family: "EB Garamond", sans-serif;
font-optical-sizing: auto;
font-weight: 600;
}
.EB_Garamond_400 {
font-family: "EB Garamond", sans-serif;
font-optical-sizing: auto;
font-weight: normal;
}
header {
background-color: #2A5298;
text-align: center;
margin: 0;
padding: 75px 20px;
}
body {
font-family: 'Poppins', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f4f4f9;
}
main,
footer {
max-width: 960px;
margin: 20px auto;
}
h1 {
color: #e1cbf0;
font-size: 36px;
}
h2 {
color: #3960a4;
font-weight: 500;
}
p {
color: #bfadcb;
/* color: #7a6bac; */
margin-top: 10px;
}
input[type="file"] {
margin: 10px 0;
font-family: 'Poppins', sans-serif;
}
input[type="file"]::file-selector-button {
border-radius: 4px;
padding: 0 16px;
height: 40px;
cursor: pointer;
background-color: white;
border: 1px solid rgba(0, 0, 0, 0.16);
box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
margin-right: 16px;
transition: background-color 200ms;
font-family: 'Poppins', sans-serif;
}
/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
background-color: #f3f4f6;
}
/* file upload button active state */
input[type="file"]::file-selector-button:active {
background-color: #e5e7eb;
}
canvas {
width: 100%;
max-width: 600px;
height: auto;
border: 1px solid #ccc;
display: block;
margin: 20px auto;
}
#examples {
margin: 30px;
}
.example {
margin-bottom: 20px;
background-color: #fff;
border: 1px solid #ddd;
text-align: center;
display: flex;
justify-content: center;
/* Center horizontally */
align-items: center;
/* Center vertically */
flex-direction: column;
height: 100%;
/* Adjust based on your needs */
padding: 30px;
}
.example img {
height: auto;
width: 70%;
display: flex;
justify-content: center;
}
footer {
text-align: center;
margin-top: 40px;
padding-top: 20px;
font-size: 0.8em;
color: #666;
}