-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainStyle.css
117 lines (101 loc) · 1.91 KB
/
mainStyle.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
:root {
--hoverColor: rgba(27, 27, 47, 50);
--defaultHomeColor: rgb(74, 72, 95);
}
html {
scroll-behavior: smooth;
background-image: url("images/Shadow.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: 780px auto;
background-position: center 10%;
background-color: black;
}
body {
color: white;
}
#nav {
font-family: "Poppins", sans-serif;
position: relative;
top: 20px;
margin-bottom: 5px;
font-weight: 400;
font-size: 25px;
max-width: 1080px;
}
.navbar {
-webkit-box-align: center !important;
text-align: left;
display: flex;
flex-wrap: wrap;
width: 100%;
margin: auto;
}
.navbar > div {
padding-bottom: 25px;
}
.home {
-webkit-box-flex: 0;
width: 100%;
padding-left: 15px;
padding-right: 15px;
margin: auto;
flex: 0 0 16.666%;
max-width: 0 0 16.666%;
display: block !important;
box-sizing: border-box;
text-align: left;
}
.home > a {
background-color: var(--defaultHomeColor);
padding: 5px 20px;
border-radius: 30px;
transition: all 0.3s ease;
color: currentColor !important;
text-decoration: currentColor !important;
}
.home > a:hover {
background-color: var(--hoverColor);
}
.dropdown {
padding-left: -15px;
padding-right: -15px;
display: block !important;
-webkit-box-flex: 0;
flex: 0 0 83.3333%;
max-width: 83.3333%;
box-sizing: border-box;
text-align: right;
margin-bottom: 0;
margin-right: auto !important;
}
.list {
box-sizing: border-box;
}
.list::first-line {
padding: 10px 0;
text-decoration: none;
}
.navbar .dropdown .list > li {
display: inline-block;
}
.list > li {
position: relative;
display: inline-block;
box-sizing: border-box;
padding-left: 15px;
padding-right: 15px;
}
.list > li > a {
text-decoration: currentColor !important;
color: white;
padding: 10px 0;
transition: all 0.3s ease;
}
.list > li > a:hover {
background-color: var(--hoverColor);
border-radius: 30px;
}
.list > li > a > span {
padding: 5px 20px;
}