-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoodlooking.css
More file actions
165 lines (162 loc) · 2.75 KB
/
goodlooking.css
File metadata and controls
165 lines (162 loc) · 2.75 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
*::selection{
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: red;
color: whitesmoke;
}
body, ul, li, a, h1, h2{
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif ;
}
header{
background-color: rgb(78, 151, 151);
/* padding: 5px; */
text-align: center;
position: fixed;
width: 100vw;
z-index: 1;
top: 0;
left: 0%;
/* overflow: hidden; */
}
header h1{
color: rgb(47, 78, 0);
border: solid 5px rgb(212, 205, 171);
display: inline-block;
margin: 10px;
padding: 10px;
border-radius: 36px;
}
.banner{
position: relative;
}
.banner img{
max-width: 100%;
}
.banner .welcome{
position: absolute;
left: 0;
top: 30%;
padding: 20px;
background-color: #6f8f9c;
color: whitesmoke;
}
.banner h2{
font-size: 25px;
}
.banner span{
font-size: 1.5em;
}
nav{
background-color: rgb(126, 148, 151);
padding: 5px;
width: 100vw;
position: sticky;
top: 86px;
z-index: 1;
/* overflow: hidden; */
}
nav ul{
white-space: nowrap;
width: 1200px;
margin: 0 auto;
}
nav li{
width: 25%;
display: inline-block;
font-size: 24px;
text-align: center;
}
nav li a{
text-decoration: none;
color: black;
}
nav li a.join{
color: rgb(102, 32, 32);
}
main{
max-width: 100%;
width: 1200px;
margin: 80px auto;
padding: 0 40px;
box-sizing: border-box;
}
article h2{
color: #e0a422;
font-size: 48px;
}
article p{
line-height: 2em;
color: slategray;
}
.images{
text-align: center;
margin: 80px 0;
white-space: nowrap;
}
.images li{
display: inline-block;
width: 40%;
margin: 0 5%;
}
.images li img{
max-width: 100%;
}
.attach{
background-color: lightgray;
text-align: center;
padding: 20px 40px;
}
.attach h2{
font-size:32px;
color: rgb(84, 102, 56);
}
form input{
margin: 20px 0;
padding: 10px 20px;
font-size: 16px;
border-radius: 26px;
border: 3px solid whitesmoke;
}
footer{
background-color: rgb(170, 104, 92);
color: black;
padding: 10px;
text-align: center;
}
/* Pseudo Classes */
nav li:hover{
text-decoration: underline;
}
.images li:hover{
position: relative;
top: -4px;
}
form input:focus{
border: 3px dashed black;
outline: none;
}
form input:valid{
background-color: rgb(156, 207, 105);
}
section.attach p::first-letter{
font-size: 1.5em;
color: cornflowerblue;
}
/* p::selection{
background-color: crimson;
color: whitesmoke;
} */
@media only screen and (max-width: 625px) {
/* .images{
margin: 0 40px;
white-space: nowrap;
} */
.images li{
width: 100%;
margin: 20px auto;
display: block;
}
}