-
Notifications
You must be signed in to change notification settings - Fork 2
/
solar.css
183 lines (138 loc) · 3.19 KB
/
solar.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
body{
overflow-x: hidden;
margin: 0;
}
.nav-bar{
width: 100%;
height: 10vh;
display: flex;
justify-content: space-between;
}
.drishti{
width: 10rem;
height: auto;
margin: 0.6rem 0 0 5rem;
}
.drishti img{
width: 100%;
height: auto;
}
.menu{
margin: 1rem 5rem 0 0;
display: flex;
justify-content:center;
align-items: center;
}
.menu a{
text-decoration: none;
color: #223;
font-family: 'Montserrat', sans-serif;
font-size: 1rem;
font-weight: 700;
border-radius: 7px;
border: 2px solid transparent;
margin-left: 1.3rem;
padding: 0.2rem 1rem;
transition: all 100ms ease-in;
}
.menu a:hover{
color: black;
background-color: transparent;
border: 2px solid lightgray;
transition: all 200ms ease-out;
}
.menu .rovers .dropbutton{
text-decoration: none;
color: #223;
font-family: 'Montserrat', sans-serif;
font-size: 1rem;
font-weight: 700;
background-color: transparent;
border-radius: 7px;
border: 2px solid transparent;
margin-left: 1.3rem;
padding: 0.2rem 1rem;
transition: all 100ms ease-in;
}
.menu .rovers .rover-menu{
visibility: hidden;
position: absolute;
display: grid;
z-index: 2;
margin-top: 0.2rem;
background-color: lightgray;
border-radius: 7px;
border: 2px solid transparent;
transition: all 100ms ease-in;
}
.menu .rovers .rover-menu a{
margin-top: 0.2rem;
margin-bottom: 0.2rem;
transition: all 100ms;
}
.menu .rovers .rover-menu a:hover{
background-color: white;
border: 2px solid lightgray;
transition: all 200ms ease-out;
}
.menu .rovers:hover .rover-menu{
visibility: visible;
transition: all 200ms ease-out;
}
.menu .rovers:hover .dropbutton{
color: black;
background-color: transparent;
border: 2px solid lightgray;
transition: all 200ms ease-out;
}
.title-container{
width: 100%;
height: 90vh;
display: flex;
justify-content: center;
align-items: center;
}
.container{
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 75rem; height: 35rem;
background: linear-gradient(60deg, rgba(30, 50, 70, 0.7), rgba(20, 15, 10, 0.9)),
url(solar/solar64link.jpg);
/* background-image: url(solar/solar64link.jpg); */
background-size: cover;
background-position: bottom;
background-blend-mode: hard-light;
background-repeat: no-repeat;
transform: perspective(1000px);
transform-style: preserve-3d;
border-radius: 20px;
box-shadow: 0 15px 40px rgba(0,0,0,0.2),
0 15px 12px rgba(0,0,0,0.15);
transition: all 180ms ease-out;
}
.container h1 {
color: #fff;
font-size: 9rem;
font-weight: 600;
font-family: 'Poppins', sans-serif;
text-shadow: 0 0 22px rgba(0,0,0,0.9);
transform: translateZ(40px);
}
.circle{
position: absolute;
z-index: 1;
top: 3rem;
right: 5rem;
}
.circle span{
display: inline-flex;
width: 0.9rem;
height: 0.9rem;
margin: 0 0.2rem;
border-radius: 25px;
box-shadow: 0 0 22px rgba(0,0,0,0.9);
background: #fff;
transform: translateZ(40px);
}