-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomepage.css
More file actions
111 lines (94 loc) · 1.7 KB
/
homepage.css
File metadata and controls
111 lines (94 loc) · 1.7 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
/* Homepage Specific Styling */
form {
padding-top: 5px;
border-top: 1px solid rgba(0, 128, 0, 0.7);
max-width: 600px;
}
form>h4 {
margin: 3px;
padding: 0;
font-size: x-large;
display: flex;
align-items: center;
justify-content: space-between;
}
form>ul {
list-style-type: none;
padding: 0;
margin: 0;
font-size: 0;
}
form>p.failure {
color: red;
}
form>p.success {
color: green;
}
form li {
padding: 4px;
font-size: 1.4rem;
}
form li:nth-child(1),
form li:nth-child(2) {
display: inline-block;
width: 50%;
vertical-align: top;
box-sizing: border-box;
}
form li:nth-child(1) {
padding-right: 4px;
}
form li:nth-child(2) {
padding-left: 4px;
}
form li:nth-child(3) {
display: block;
width: 100%;
}
form label {
display: block;
margin-bottom: 3px;
font-size: 0.9em;
}
form input,
form textarea {
border: 2px solid var(--color);
border-radius: 0.4em;
padding: 8px;
background: #ffffff;
color: #333;
width: 100%;
box-sizing: border-box;
resize: none;
font-size: medium;
}
form input:focus,
form textarea:focus {
border-color: darkgreen;
outline: none;
}
form textarea {
display: block;
}
form input[type="submit"] {
background: rgba(0, 128, 0, 0.7);
color: white;
border: none;
border-radius: 50%;
cursor: pointer;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
transition: 0.2s;
}
form input[type="submit"]:hover {
background: green;
transform: scale(1.1);
}
form input[type="submit"]:active {
transform: scale(0.95);
background: darkgreen;
}