-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
176 lines (153 loc) · 3.56 KB
/
styles.css
File metadata and controls
176 lines (153 loc) · 3.56 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #1e1e1e;
/* Set body background color */
color: #ffffff;
display: flex;
justify-content: center;
align-items: center;
height: auto;
margin: 0;
padding: 0 10px;
/* Add padding for small screens */
box-sizing: border-box;
overflow-x: hidden;
/* Prevent horizontal overflow */
}
.container {
background-color: #1e1e1e;
padding: 20px;
border-radius: 10px;
width: 100%;
/* Make the container take full width on small screens */
max-width: 600px;
text-align: center;
/* Align all contents to center */
overflow: hidden;
/* Prevent overflow */
}
.profile-picture {
margin-bottom: 20px;
}
.profile-picture img {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
border: 0px solid #fff;
/* Optional: add a border around the image */
}
h1 {
font-size: 24px;
margin-bottom: 20px;
color: #ffffff;
}
textarea {
width: calc(100% - 20px);
/* Adjusted width to account for padding */
margin: 10px 0;
padding: 10px;
font-size: 16px;
border: 1px solid #333;
border-radius: 5px;
background-color: #2c2c2c;
color: #ffffff;
resize: none;
box-sizing: border-box;
max-height: 150px;
/* Set max height for smaller screens */
overflow-y: auto;
/* Enable vertical scrolling if needed */
}
button {
padding: 10px;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
background-color: #007bff;
color: white;
box-sizing: border-box;
}
button:hover {
background-color: #0056b3;
}
.color-picker input[type="color"] {
align-self: center;
padding: 0;
border: none;
border-radius: 5px;
background-color: #2c2c2c;
}
.color-picker {
margin: 10px auto;
/* Center the color picker horizontally */
max-width: 200px;
/* Set a max-width to prevent it from stretching too wide */
display: inline-block;
/* Ensure inline-block behavior for centering */
}
.button-group {
margin: 10px 0;
}
.copy-button {
display: inline-block;
/* Ensure inline-block behavior for centering */
width: auto;
/* Let the button take the necessary width */
margin-top: 20px;
/* Increase top margin for better spacing */
margin-bottom: 10px;
/* Add bottom margin for separation */
}
/* Alignment buttons style */
.alignment-container {
margin: 10px 0;
}
.alignment-container h2 {
margin-bottom: 10px;
font-size: 18px;
}
.alignment-buttons {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1px;
background-color: #2c2c2c;
padding: 5px;
border-radius: 5px;
}
.alignment-buttons button {
padding: 10px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.alignment-buttons button:hover {
background-color: #0056b3;
}
/* Responsive design */
@media (max-width: 600px) {
h1 {
font-size: 20px;
}
button {
padding: 8px;
font-size: 20px;
}
.color-picker label {
display: block;
margin-bottom: 5px;
}
.color-picker input[type="color"] {
width: 100%;
}
.button-group {
display: flex;
justify-content: space-around;
}
textarea {
max-height: 100px;
}
}