-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmain.css
175 lines (153 loc) · 2.86 KB
/
main.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
* {
margin: 0;
padding: 0;
font-family: "Fira Sans", sans-serif;
}
h1 {
font-size: 1.4rem;
text-transform: uppercase;
padding-bottom: 1rem;
font-weight: 700;
line-height: 1.5;
}
p {
font-size: 15px;
line-height: 19px;
}
a {
color: #1b61e4;
text-decoration: none;
}
/* Notice container */
.chrome-container,
.edge-container {
grid-area: alert-section;
padding: 0.5rem 0;
background-color: #ff794d;
display: flex;
height: 3rem;
align-items: center;
}
/* Icon */
.fas {
margin-left: 3rem;
}
/* Paragraph in the notice */
.notice-p {
margin: auto;
}
/* Styles for Edge */
@supports (-ms-ime-align: auto) {
.chrome-container {
display: none;
}
}
/* Styles for Chrome */
.edge-container:not(*:root) {
display: none;
}
/* Styles for Firefox */
@supports (-moz-appearance: none) {
.chrome-container {
display: none;
}
.edge-container {
display: none;
}
}
.inner-container {
/* Photo by Martin Adams on Unsplash */
background: url(back_photo.jpg) no-repeat center center/cover;
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
}
.section-container {
display: grid;
align-content: space-evenly;
grid-template-areas:
"alert-section alert-section"
"left-section right-section"
"footer-section footer-section";
width: 70%;
}
/* Application & Extension general style */
section {
text-align: center;
margin: 0.5rem 2rem;
border-radius: 5px;
}
/* Application & Extension Container */
.left-section,
.right-section {
display: grid;
grid-template-rows: repeat(2, 1fr);
height: 30rem;
}
.left-section {
background-color: #fff;
grid-area: left-section;
}
.right-section {
/* Photo by Jess Bailey on Unsplash */
background: url(pin.jpg) no-repeat center center/cover;
grid-area: right-section;
border-radius: 5px;
}
.left-section > .app {
padding: 1rem;
color: #000;
position: relative;
transition: all 1s;
z-index: 5;
}
/* Gradient container */
.left-section > .app > .helper {
background-image: linear-gradient(
-125deg,
#5271c4 0%,
#b19fff 48%,
#eca1fe 100%
);
position: absolute;
z-index: -1;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
opacity: 1;
transition: all 1s;
border-radius: 5px 5px 0 0;
}
.left-section > .info {
background: #fff;
padding: 1rem;
display: flex;
align-items: center;
justify-content: center;
color: #000;
border-radius: 0 0 5px 5px;
}
/* Extension */
.right-section > .extension {
padding: 1rem;
color: #a202ca;
transition: all 1s;
}
/* Styles to change gradient background on white one when hover */
.left-section:hover > .app > .helper {
opacity: 0;
}
/* Styles to change font color when hover */
.right-section:hover > .extension {
background-color: inherit;
color: #000;
}
/* Footer */
.footer-section {
text-align: center;
grid-area: footer-section;
}