-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
147 lines (128 loc) · 2.63 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
/* Import Google Font */
/* This line imports the Roboto font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
/* Global styles */
/* These styles apply to all elements on the page */
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #f2f4f6;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
}
h1 {
font-size: 2.5rem;
color: #0F9D58;
margin-bottom: 20px;
text-align: center;
}
/* Container styles */
/* These styles apply to the main container and its child elements */
.container {
display: flex;
flex-direction: column;
align-items: center;
background-color: #fff;
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#main-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-top: 20px;
}
.box {
background-color: #f9f9f9;
width: 100%;
max-width: 400px;
padding: 20px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.heading {
margin-bottom: 10px;
}
h2 {
font-size: 1.5rem;
color: #333;
}
/* Form styles */
/* These styles apply to the form elements */
form {
display: flex;
flex-direction: column;
gap: 10px;
}
.row {
display: flex;
gap: 10px;
align-items: center;
}
label {
font-weight: 500;
color: #555;
}
input[type="radio"],
input[type="number"] {
margin-right: 5px;
}
button {
background-color: #0F9D58;
color: #fff;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #0c7d48;
}
textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
resize: vertical;
font-family: 'Roboto', sans-serif;
font-size: 14px;
}
/* Output container styles */
/* These styles apply to the output container and the copy button */
.output-container {
position: relative;
}
#copy-btn {
position: absolute;
top: 10px;
right: 10px;
background-color: #0F9D58;
color: #fff;
border: none;
padding: 5px 10px;
cursor: pointer;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s ease;
}
#copy-btn:hover {
background-color: #0c7d48;
}
/* Error message styles */
/* These styles apply to the error message container */
#error-message {
color: red;
margin-top: 10px;
display: none;
}