-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (87 loc) · 1.58 KB
/
style.css
File metadata and controls
100 lines (87 loc) · 1.58 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
body {
font-family: Arial, sans-serif;
padding: 15px;
margin: 0;
background-color: lightyellow;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
font-size: 14px;
}
h1 {
color: navy;
margin-bottom: 15px;
font-size: 1.5em;
}
input {
width: 300px;
padding: 8px;
margin: 8px 0;
border: 1px solid lightgray;
border-radius: 5px;
font-size: 14px;
}
button {
padding: 8px 16px;
background-color: green;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
}
button:hover {
background-color: darkgreen;
}
#body {
margin-top: 15px;
padding: 10px;
background-color: lightblue;
border-radius: 5px;
width: 100%;
max-width: 350px;
margin-left: auto;
margin-right: auto;
}
#body div {
padding: 8px;
margin: 8px 0;
background-color: lightgreen;
border-radius: 5px;
text-align: left;
font-size: 14px;
box-shadow: 0 2px 4px (lightgray);
}
#body div button {
margin-top: 5px;
padding: 6px 12px;
background-color: red;
border-radius: 5px;
font-size: 14px;
}
#body div button:hover {
background-color: darkred;
}
#body div p {
margin: 0;
}
@media (max-width: 600px) {
body {
padding: 10px;
}
input, button {
width: 100%;
max-width: 100%;
}
#body {
width: 100%;
padding: 10px;
}
#body div {
width: 100%;
padding: 8px;
}
}