-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
170 lines (143 loc) · 2.44 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
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
166
167
168
169
170
* {
margin: auto;
padding: auto;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
a {
text-decoration: none;
color: white;
}
li {
list-style: none;
}
/* header */
.header {
background-color: #222;
display: flex;
justify-content: space-between;
}
.header .logo {
display: flex;
align-items: center;
justify-content: center;
}
.header .logo .logo-img a img {
display: flex;
width: 50px;
}
.header .logo .logo-text {
margin-left: 5px;
}
.header .logo .logo-text a {
display: block;
padding: 15px 20px;
font-size: 16px;
}
.header .logo .logo-text a:hover {
color: #aaa;
}
.header .nav {
display: flex;
justify-content: space-around;
}
.header .nav li {
margin: 5px;
}
.header .nav li a {
display: block;
padding: 15px 20px;
font-size: 16px;
}
.header .nav li a:hover {
color: #bbb;
}
/* main section */
.main {
background-color: #aaa;
min-height: 70vh;
}
/* card-gallery */
.card-gallery {
display: flex;
align-items: center;
justify-content: center;
}
.card {
display: inline-block;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
width: 300px;
margin: 20px auto;
border-radius: 10px;
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.card-body {
padding: 20px;
}
.card-title {
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
}
.card-text {
font-size: 14px;
line-height: 1.5;
color: #444;
margin-bottom: 20px;
}
.btn {
padding: 10px 20px;
border-radius: 20px;
background-color: #222;
color: #fff;
text-decoration: none;
transition: all 0.3s ease;
}
.btn:hover {
color: #333;
background-color: #fff;
}
/* Footer section */
.footer {
background-color: #222;
color: #fff;
padding: 30px 150px;
}
.footer .row{
display: flex;
justify-content: space-between;
align-items: center;
}
/* Footer headings */
.footer h3 {
font-weight: bold;
}
/* Footer social icons */
.footer .social-icons li a {
font-size: 18px;
display: inline-block;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
border-radius: 50%;
transition: all 0.3s ease;
}
.footer .social-icons li a:hover {
color: #333;
background-color: #fff;
}
/* Footer copyright */
.footer .copyright{
margin-top: 30px;
}
.footer .text-center {
text-align: center;
}
.footer .small {
font-size: small;
}