-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.css
189 lines (164 loc) · 3.62 KB
/
settings.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
min-width: 100%;
scroll-behavior: smooth;
}
body {
min-width: 100%;
background-image: url(background/o-background.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
.grid-template {
display: grid;
height: 5580px;
min-width: 100%;
grid: auto;
overflow: hidden;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 960px 1000px 2500px 800px 300px;
grid-template-areas:
"header header header "
"about about about"
"gallery gallery gallery"
"events events events"
"contact contact contact";
}
#back-video {
width: 100vw;
height: 100vh;
max-height: 1020px;
object-fit: cover;
background-size: cover;
padding: 5% 5% 5% 5%;
z-index: -1;
position: absolute;
}
:root {
--grey: #808080;
--blue: #00dada;
--withe: #ffff;
--black: #0000;
}
/*------font selection(change in what you want)--------*/
@font-face {
font-family: Poppins;
src: url(../fonts/Poppins/Poppins-Regular.ttf);
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Poppins;
src: url(../fonts/Poppins/Poppins-Light.ttf);
font-weight: 300;
font-style: light;
font-display: swap;
}
@font-face {
font-family: Poppins;
src: url(../fonts/Poppins/Poppins-Bold.ttf);
font-weight: 700;
font-style: bold;
font-display: swap;
}
/*---------responsive design----------*/
@media only screen and (max-width: 1500px) {
#back-video {
height: fit-content;
}
}
@media only screen and (max-width: 1325px) {
.grid-template {
height: 5420px;
grid-template-rows: 820px 1000px 2500px 800px 300px;
}
}
@media only screen and (max-width: 1240px) {
.grid-template {
height: 5520px;
grid-template-rows: 720px 1000px 2500px 730px 300px;
}
}
@media only screen and (max-width: 1150px) {
.grid-template {
height: 5480px;
grid-template-rows: 720px 1000px 2400px 730px 300px;
}
}
@media only screen and (max-width: 1050px) {
#back-video {
height: fit-content;
}
}
@media only screen and (max-width: 950px) {
.grid-template {
height: 5400px;
grid-template-rows: 650px 1000px 2360px 680px 350px;
}
}
@media only screen and (max-width: 860px) {
.grid-template {
height: 5280px;
grid-template-rows: 650px 1000px 2360px 680px 350px;
}
}
@media only screen and (max-width: 780px) {
.grid-template {
height: 5000px;
grid-template-rows: 500px 1100px 2300px 500px 300px;
}
}
@media only screen and (max-width: 620px) {
.grid-template {
height: 4800px;
grid-template-rows: 500px 1100px 2300px 500px 300px;
}
}
@media only screen and (max-width: 560px) {
.grid-template {
height: 4200px;
grid-template-rows: 460px 800px 1800px 640px 200px;
}
}
@media only screen and (max-width: 530px) {
.grid-template {
height: 4200px;
grid-template-rows: 460px 800px 1800px 640px 200px;
}
}
@media only screen and (max-width: 490px) {
.grid-template {
height: 4150px;
grid-template-rows: 400px 800px 1900px 640px 400px;
}
}
@media only screen and (max-width: 470px) {
.grid-template {
height: 4250px;
grid-template-rows: 320px 800px 1900px 740px 400px;
}
}
@media only screen and (max-width: 420px) {
.grid-template {
height: 3950px;
grid-template-rows: 320px 800px 1900px 740px 200px;
}
}
@media only screen and (max-width: 350px) {
.grid-template {
height: 4000px;
grid-template-rows: 320px 800px 1900px 640px 400px;
}
}
@media only screen and (max-width: 330px) {
.grid-template {
height: 4050px;
grid-template-rows: 320px 800px 1900px 640px 400px;
}
}