-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
133 lines (111 loc) · 2.25 KB
/
styles.css
File metadata and controls
133 lines (111 loc) · 2.25 KB
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
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Inter";
background-color: #f8f1e5;
color: #031919;
padding: 20px;
}
header{
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 2em;
}
.container {
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
max-width: 80%;
margin: 0 auto;
}
h2 {
display: block;
justify-content: center;
align-items: center;
text-align: center;
color: #031919;
font-size: 2rem;
margin-bottom: 20px;
}
form {
display: flex;
flex-direction: column;
gap: 15px;
}
label {
font-size: 1.2rem;
color: #031919;
}
input, textarea, select, button {
font-size: 1rem;
padding: 10px;
border-radius: 5px;
border: 2px solid #00000053;
outline: none;
width: 100%;
box-sizing: border-box;
}
button {
background-color: #57966f;
border: none;
color: white;
cursor: pointer;
transition: background-color 0.3s;
margin-top: 10px;
}
button:hover {
background-color: #57966f;
}
/* Add spacing between buttons on the second page */
#exportJSON, #exportCSV, #clearAndRestart {
margin-top: 20px; /* Add space between the buttons */
}
/* Spacing for QR Code section */
#qrSection {
margin-top: 40px; /* Add space between buttons and QR code */
}
#qrSection h2 {
margin-bottom: 20px; /* Space between heading and canvas */
}
#downloadQR, #downloadFile {
margin-top: 20px; /* Space between QR code and the download button */
}
/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
.container {
max-width: 90%;
}
header h1 {
font-size: 2.5rem;
}
h2 {
font-size: 1.8rem;
}
}
@media screen and (max-width: 480px) {
.container {
max-width: 95%;
}
header h1 {
font-size: 2rem;
}
h2 {
font-size: 1.6rem;
}
input, textarea, select, button {
font-size: 0.9rem;
padding: 8px;
}
#exportJSON, #exportCSV, #clearAndRestart {
margin-top: 15px; /* Smaller spacing for mobile */
}
#qrSection {
margin-top: 30px;
}
}