-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
116 lines (110 loc) · 2.03 KB
/
styles.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
body {
background: red;
}
.ext-nav {
display: inline-block;
position: relative;
}
.ext-nav--inner {
border: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 0 1rem;
margin-block-start: 2.4rem;
margin-block-end: 1.2rem;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block-end: 1.2rem;
opacity: 0.6;
color: var(--color);
border: solid transparent;
border-width: 0 0 0.2rem;
transition: color var(--transition-parameters),
opacity var(--transition-parameters);
}
.ext-nav:hover .ext-nav--inner {
opacity: 1;
cursor: pointer;
}
.ext-container {
opacity: 0;
cursor: default;
visibility: hidden;
position: absolute;
background: var(--charcoal);
width: 50vw;
height: auto;
transform: translate(-50%, 0);
transition: all 0.2s ease-in-out;
border-radius: 0 0 1rem 1rem;
}
.ext-container > ul {
list-style: none;
display: flex;
justify-content: space-between;
row-gap: 1rem;
flex-wrap: wrap;
padding: 2rem;
}
.genres-item {
width: 12rem;
height: 12rem;
}
.genres-item > a {
display: block;
width: inherit;
height: inherit;
overflow: hidden;
background: var(--charcoal);
}
.genres-item .genres-item--img {
background-size: cover;
background-repeat: no-repeat;
background-position: 50%;
width: inherit;
height: inherit;
transition: scale 0.3s ease-in-out;
}
.genres-item--img:hover {
scale: 1.2;
}
#selection_ext ul {
flex-direction: column;
}
#selection_ext .ext-container {
width: fit-content;
transform: translate(0);
}
#selection_ext a {
text-decoration: none;
color: var(--color);
opacity: 0.6;
}
#selection_ext a:hover {
opacity: 1;
cursor: pointer;
}
.ext-nav:hover {
background: var(--charcoal);
}
.ext-nav:hover .ext-container {
visibility: visible;
opacity: 1;
}
.ext_toTop {
--size: 5rem;
position: fixed;
z-index: 99;
right: 0;
bottom: 0;
padding: 0;
margin: 2rem;
width: var(--size);
height: var(--size);
background: var(--charcoal);
border-radius: 0.5rem;
}
.ext_hidden {
display: none;
}