-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (69 loc) · 1.4 KB
/
style.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
body {
background-color:white;
font-family: sans-serif;
}
.index {
align-items: center;
display: flex;
flex-direction: column;
gap: 1rem;
margin-top: 1rem;
}
.index .entry {
cursor: pointer;
background-color:whitesmoke;
display: flex;
height: 6rem;
width: fit-content;
transition: all .2s ease-in-out;
border-radius: 0 1rem 1rem 0;
box-shadow: 0 0 1rem gray;
--entry-color: #f37a58;
}
.index .entry:nth-child(1) {
--entry-color: #81c76c;
}
.index .entry:nth-child(2) {
--entry-color: #84d1d6;
}
.index .entry:nth-child(3) {
--entry-color: #4e8cbd;
}
.index .entry:nth-child(4) {
--entry-color: #b388b9;
}
.index .entry:nth-child(5) {
--entry-color: #ef66a7;
}
.index .entry:hover{
transform: scale(1.05);
}
.index .entry .left-tab {
width: 3rem;
background-color: var(--entry-color);
position: absolute;
height: inherit;
border-radius: 0 1rem 1rem 0;
}
.index .entry .left-margin {
width: 3.8rem;
/* background-image: linear-gradient(to right, rgba(0,0,0,0.7) , transparent); */
/* border-radius: 0 1rem 1rem 0; */
}
.index .entry .entry-content {
width: 24rem;
vertical-align: middle;
}
.index .entry .entry-content p {
margin: 1.9rem;
font-size: 1.3rem;
text-transform: capitalize;
}
.index .entry .thumbnail {
width: 6rem;
}
.index .entry .right-tab {
width: 2rem;
border-radius: 0 1rem 1rem 0;
background-color: var(--entry-color);
}