-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
135 lines (125 loc) · 2.12 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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Montserrat", sans-serif;
color: black;
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.shadow {
width: 100px;
height: 100px;
background: red;
box-shadow: -10px 0 10px 10px rgba(0, 0, 0, 1);
transition-duration: 1s;
transition-timing-function: ease;
}
.shadow:hover {
background: blue;
}
header {
width: 100%;
padding: 1rem 1.5rem;
font-size: 0.9rem;
}
header img {
border-radius: 100%;
width: 2.5rem;
}
footer {
width: 100%;
}
a {
text-decoration: none;
color: inherit;
}
nav {
display: flex;
justify-content: end;
align-items: center;
gap: 1.5rem;
}
main {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
text-align: center;
align-items: center;
}
main img {
margin: auto;
height: 5rem;
}
main ul {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 0.5rem 2rem;
list-style-type: none;
}
main input {
padding: 1rem;
border-radius: 50px;
border: 1px solid #ccc;
width: 500px;
}
main button {
display: inline-block;
padding: 0.8rem 1rem;
border: none;
text-transform: capitalize;
background: #f6f6f6;
cursor: pointer;
margin-inline: 0.5rem;
margin-top: 0.5rem;
}
main button:hover{
box-shadow:0px 0px 1px 1px rgba(0, 0, 0, 0.2) ;
background-color: #f8f9fa;
border: 1px solid #a8a998;
border-radius: 5px;
}
main ul {
color: blue;
text-decoration: underline;
margin-top: 2rem;
font-size: 0.8rem;
}
footer {
background: #f2f2f2;
font-size: 0.8rem;
color: #70757a;
font-weight: 500;
}
footer p {
padding: 1rem 2rem;
}
footer ul {
padding: 1rem 2rem;
}
footer hr {
height: 1px;
background: #ddd;
border: none;
}
.footer-nav {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.footer-nav ul {
display: flex;
justify-content: center;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
list-style-type: none;
}