forked from 18Nikhil786/Test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sirhind.css
147 lines (128 loc) · 2.32 KB
/
Sirhind.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
/*Header*/
header{
background-color: red;
background-image: linear-gradient( to right, white 20%, red 39% ,red 61%,white 81%);
height: 125px;
}
#image{
float: right;
position: absolute;
width: 18.5%;
vertical-align: top;
}
h1{
text-align: center;
display: inline-block;
font-size: 50px;
vertical-align: top;
width: 61%;
}
@media screen and (max-width:710px) {
header{
background-image: none;
}
header img{
width: 0px;
height: 0px;
}
h1{
width: 100%;
margin-top: 16px;
}
span{
width: 0px;
}
}
@media screen and (max-width:450px) {
header a img{
width: 0px;
height: 0px;
}
h1{
width: 100%;
font-size: 40px;
}
span{
width: 0px;
}
header{
height: 100px;
}
}
/*Navigation Bar*/
#horizontal{
background-color: black;
margin-top: 0px;
margin-bottom: 0px;
text-align: center;
}
#horizontal a{
color: wheat;
font-size: large;
margin: 0px 0px;
}
#vertical{
width: 0px;
height: 100%;
background-color: #111;
overflow-x: hidden;
position: fixed;
z-index: 1;
transition: 0.5s;
}
#vertical a{
color: darkgray;
display: block;
font-size: 25px;
padding: 8px 8px 8px 32px;
transition: 0.3s;
}
#vertical a:hover{
color: white;
}
h2{
text-align: center;
font-size: 50px;
background-color: rgb(39 118 250);
margin-top: 1px;
}
body{
background-image: url(background.jpeg);
background-size: cover;
background-attachment: fixed;
}
/*main*/
main{
width: 100%;
height: auto;
flex-wrap: wrap;
display: flex;
margin: 10pt;
flex-direction: row;
align-items: center;
align-content: center;
justify-content: center;
}
.route{
width: 200px;
height: 250px;
margin: 10pt;
padding: 100px 20px;
text-align: center;
box-sizing: border-box;
background-image: url(backgroundnature.jpg);
background-position: 200px 250px;
font-size: large;
font-family: fantasy;
}
main div:hover{
box-shadow: 0px 0px 6px 10px rgb(99, 96, 96);
transition: color 0.5s; font-size: 0.5s;
font-size: x-large;
width: 204px;
height: 244px;
}
a{
text-decoration: none;
color: #000;
}