-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
72 lines (61 loc) · 1.62 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
/* style.css */
html, body {
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #f7f7f7;
/* Center all text */
text-align: center;
/* Ensure box sizing so padding doesn't cause overflow */
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
h1, p {
margin: 10px 0;
}
/* Container for the textareas and button */
.container {
display: block; /* Make it a block-level element */
max-width: 800px; /* Constrain max width */
width: 100%; /* Let it scale down on smaller screens */
margin: 0 auto 20px; /* Center horizontally & add bottom margin */
text-align: left; /* Keep the textarea text left-aligned */
padding: 0 10px; /* Small horizontal padding */
}
textarea {
display: block;
width: 100%;
margin: 10px 0;
padding: 10px;
font-family: "Courier New", monospace;
}
/* Description at the bottom */
.description {
display: block; /* Make it a block-level element */
max-width: 800px;
width: 100%;
margin: 0 auto 20px; /* Center horizontally & add some bottom margin */
text-align: left; /* Left-align this paragraph by default */
padding: 0 10px; /* Small horizontal padding */
}
.button-row {
display: flex;
gap: 10px; /* Add some space between buttons */
justify-content: center;
margin-bottom: 10px;
}
button {
background: #007acc;
color: #ffffff;
border: none;
padding: 10px 15px;
cursor: pointer;
font-size: 16px;
}
button:hover {
background: #005fa3;
}