-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstylerules.css
More file actions
158 lines (145 loc) · 2.79 KB
/
stylerules.css
File metadata and controls
158 lines (145 loc) · 2.79 KB
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
@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&family=Titillium+Web:ital@1&display=swap');
body {
margin: 0;
font-family: 'Titillium Web';
color: #ffffff;
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(45,7,97,1) 78%), url('./icons/temp-el.gif') fixed center;
padding: 20px;
background-size: cover;
position: relative;
}
html {
scroll-behavior: smooth;
}
.heading {
font-size: 2em;
margin-bottom: 20px;
color: #fff;
text-align: center;
font-family: 'black ops one';
/* margin-top: 4em; */
}
#temp-effect{
position: absolute;
top:-30%;
left: 30%;
width: 37%;
z-index: 0;
mix-blend-mode:overlay;
transform: rotate(0deg);
filter: sepia(100%) saturate(100%)
}
.nav-container {
display: flex;
justify-content: space-between;
align-items: center;
padding-right:40px;
padding-left:40px;
margin-top: -30px;
/* position: fixed;
top: 0;
left: 0;
right: 0;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 40px;
background-color: rgba(0, 0, 0, 0.8);
z-index: 1000;
*/
}
.nav-main {
display: flex;
list-style-type: none;
margin: 0;
padding: 0;
position:sticky;
}
.nav-main li a {
text-decoration: none;
color: white;
padding: 15px 7px;
border-radius: 5px;
margin: 0 5px;
transition: transform 0.3s ease;
}
.nav-main li a:hover {
color: black;
background-color: white;
font-weight: 600;
transform: translateY(-5px); /* Lift on hover */
}
.nav-current{
font-color: black;
background-color: white;
font-weight: 600;
}
a.nav-link.nav-current {
color: black;
font-weight: 600;
}
.nav-socials {
display: flex;
margin-left: 20px;
}
.nav-socials a {
margin: 0 5px;
}
.logo-unit {
display: flex;
align-items: center;
justify-content: center;
}
.logo-unit p{
font-size: 400%;
height: auto;
font-family: 'black ops one';
margin:0 100px;
}
#title {
text-align: center;
margin-bottom: 20px;
}
h1 {
color: #ffffff;
}
.rule-box {
background-color: #8185ad;
border: 1px solid #ddd;
padding: 20px;
margin: 10px 15%;
border-radius: 8px;
width: 70%;
}
footer {
text-align: center;
margin-top: 20px;
color: #ffffff;
}
@media screen and (max-width: 768px) {
.body{
background-color:rgb(49, 21, 113);
margin: auto;
}
.nav-container{
margin:20px auto;
padding:0 0;
}
.nav-socials{
display: none;
}
.nav-main{
margin:auto;
font-size: 9.5px;
}
p{
font-size: 12px;
}
.rule-box {
padding: 10px;
margin: 10px 12%;
}
footer p{
font-size: 8px;
}
}