-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
83 lines (73 loc) · 1.51 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
@import url('https://fonts.googleapis.com/css?family=Quicksand&display=swap');
body {
margin: 0;
padding: 0;
background-color: rgb(255, 255, 255);
}
h1 {
background-image: url(./img/bg.jpg);
background-size: 100%;
background-repeat: no-repeat;
margin-top: 0;
padding: 4rem;
text-align: center;
color: white;
font-size: 5rem;
font-family: 'Quicksand', sans-serif;
}
@media(max-width:460px) {
h1 {
font-size: 3rem;
}
}
.col-5 {
max-width: 400px !important;
width: 100%;
max-height: 1000px;
height: 100%;
background-color: rgb(243, 243, 243);
text-align: center;
margin-top: 7%;
margin-right: auto;
margin-left: auto;
border-radius: 8px;
opacity: 0.8;
}
img {
max-width: 100%;
min-width: 250px;
width: 90%;
margin-top: 30px;
border-radius: 8px;
}
a {
text-decoration: none;
color: rgb(19, 8, 177) !important;
background-image: linear-gradient(rgb(23, 0, 155) 50%, rgb(8, 11, 165) 50%);
background-position: center bottom;
background-repeat: no-repeat;
background-size: 0 2px, 100% 2px;
padding-bottom: 3px;
transition: .5s ease-in-out;
}
a:hover {
background-size: 100% 2px, 100% 2px;
color: #FE5568;
}
ul {
list-style-type: none;
}
li {
font-size: 1.5rem;
text-align: left;
margin-top: 10px;
}
span {
color: black !important;
}
.sub-menu {
display: none;
}
.main-item:focus~.sub-menu, .main-item:active~.sub-menu, .sub-menu:hover {
display: block;
}