-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
82 lines (81 loc) · 1.46 KB
/
index.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
*{
font-family: sans-serif;
margin: 0;
padding: 0;
}
ul {
list-style-type: none;
}
a {
text-decoration: none;
}
nav{
background: goldenrod;
height: 3rem;
box-shadow: 5px 1px black;
display: grid;
align-items: center;
text-transform: capitalize;
}
.nav-center{
width: 900vh;
max-width: 500px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.nav-center h4{
margin-bottom: 0px;
font-size: 30px;
color: lightgoldenrodyellow;
}
.nav-links{
display: flex;
}
nav a{
margin-right: 1rem;
font-size: 1rem;
font-weight: 600;
letter-spacing: 1px;
text-transform: capitalize;
transition: 0.5s;
color: white;
}
nav a:hover{
color: black;
letter-spacing: 2px;
}
main{
min-height: calc(100vh - 3rem);
display: grid;
place-items: center;
}
.container{
text-align: center;
}
.container h2{
background: darkgoldenrod;
color: aliceblue;
padding: 1rem;
border-radius: 10px;
margin-bottom: 1rem;
}
.color{
color: black;
}
button{
background: white;
padding: 10px 20px;
border-radius: 5px;
border: 3px solid black;
font-weight: 600;
font-family: sans-serif;
}
button:hover{
background-color: darkgoldenrod;
transition: 0.5s;
cursor: pointer;
letter-spacing: 1px;
color: white;
}