forked from 2knal/BitsPlease-Enroot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
41 lines (40 loc) · 965 Bytes
/
index.css
File metadata and controls
41 lines (40 loc) · 965 Bytes
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
nav{
height: 80px;
font-size: 20px;
color: white;
}
.navbar-brand {
padding: 0 15px;
height: 80px;
line-height: 80px;
}
.resultcard {
min-height: 325px;
width: 30%;
margin: 1.5%;
background-color: var(--color-white-dark);
position: relative;
transition: all .3s;
cursor: pointer;
border-radius: 5px;
box-shadow: 0 0 0.5rem 0 rgba(0, 0, 0, 0.5); }
.resultcard:hover {
transform: translateY(-3px);
box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3); }
.resultcard:active {
transform: translateY(-1px);
box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.3); }
.resultcard__img {
width: 90%;
height: 150px;
display: inline-block;
margin: 1rem 5%; }
.resultcard__heading {
padding: 0 2rem 0 2rem;
font-size: 2rem; }
.resultcard__source {
position: absolute;
bottom: .5rem;
right: .5rem;
text-align: right;
padding: 2rem; }