-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
107 lines (104 loc) · 1.93 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
body, input, button {
font-family: 'system-ui', 'BlinkMacSystemFont', '-apple-system', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'sans-serif';;
color: #261e66;
font-size: 18px;
}
h2 {
border-top: 2px solid #b0a6ff;
padding-top: 20px;
margin: 20px 0 10px 0;
text-align: center;
}
h3 {
text-align: center;
}
.container {
max-width: 1080px;
margin: 0 auto;
}
.wrapper {
display: grid;
gap: 15px 25px;
grid-template-columns: repeat(auto-fill, minmax(48%, 1fr));
}
.page-header {
text-align: center;
}
fieldset {
position: relative;
padding: 15px;
border: 2px dotted #5c4ae2;
min-height: 105px;
}
fieldset legend {
font-weight: 700;
font-size: 18px;
}
fieldset label {
display: block;
margin: 0 0 10px 0;
}
.default-fieldset {
display: none;
}
.delete-fieldset {
position: absolute;
bottom: -2px;
right: -12px;
padding: 5px 10px;
width: auto;
font-size: 16px;
}
.submit-wrapper {
display: inline-block;
position: sticky;
bottom: 5px;
margin: 20px 0;
text-align: center;
}
.submit-wrapper input {
min-width: 150px;
}
input, button {
border-radius: 0px;
border: 1px solid #5c4ae2;
margin: 0 10px 0 10px;
padding: 5px 10px;
font-size: 19px;
color: #5c4ae2;
background-color: #fff;
}
input:hover, button:hover, input:focus, button:focus {
-webkit-box-shadow: 0 0 10px 0 #b0a6ff;
box-shadow: 0 0 10px 0 #b0a6ff;
background-color: #fff;
}
input:focus, button:focus {
outline: 1px solid #5c4ae2;
}
[type="submit"], .add-fieldset {
padding: 10px;
min-width: 30%;
}
[type="submit"] {
background: #5c4ae2;
color: #fff;
}
[type="submit"]:hover, [type="submit"]:focus {
background-color: #261e66;
color: #fff;
text-decoration: none;
}
.add-fieldset {
margin: 10px 0;
}
nav ul {
text-align: center;
list-style: none;
margin: 40px 0;
padding: 0;
}
nav ul li {
display: inline-block;
margin: 5px 10px;
}