-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
76 lines (75 loc) · 1.54 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
@import url("https://fonts.googleapis.com/css2?family=Genos&family=Montserrat&display=swap");
:root {
--genos: "Genos", sans-serif;
--montserrat: "Montserrat", sans-serif;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: var(--montserrat);
}
body {
margin: 0;
max-width: 100%;
height: 100%;
background-color: ghostwhite;
}
#title-page {
font-family: var(--genos);
font-size: 20pt;
}
.page-container h1 {
font-size: 20pt;
font-family: var(--genos);
font-weight: 800;
}
.new-page {
max-width: 100%;
height: auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
grid-gap: 10px;
}
.item-container {
width: 150px;
height: auto;
overflow: hidden;
}
.item-container .hover {
width: inherit;
height: 200px;
overflow: hidden;
}
.hover img{
width: inherit;
height: inherit;
}
.item-container p {
font-size: 12pt;
font-weight: 600;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
-webkit-line-clamp: 2;
}
/*Loader*/
.loader {
border: 8px solid #f3f3f3; /* Light gray border */
border-top: 8px solid #3498db; /* Blue border on top */
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite; /* Rotate animation */
margin: auto; /* Center the loader */
margin-top: 10vh; /* Adjust vertical position */
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
/* Page */