-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
124 lines (98 loc) · 2.06 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
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
/* Desktop (Default) */
body {
background-color: #232129;
color: white;
font-family: Arial, Helvetica, sans-serif;
}
.centre-col {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.project-box-list {
width: 32rem;
min-height: 90vh;
margin-top: 4rem;
justify-content: flex-start;
}
.project-box {
width: 100%;
aspect-ratio: 1.618;
border-radius: 12px;
margin-top: 3rem;
overflow: hidden;
cursor: pointer;
position: relative;
}
.bg-div {
height: 100%;
width: 100%;
background-size: 100% !important;
background-repeat: no-repeat !important;
background-position: center center !important;
filter: blur(1.5px);
transition: 0.2s;
pointer-events: none;
}
.project-box:hover .bg-div {
background-size: 110% !important;
filter: blur(0);
}
.project-box:active .bg-div {
background-size: 105% !important;
}
.card-title {
min-width: 8em;
min-height: 2em;
max-width: 80%;
padding: 8px 16px;
font-size: 18px;
letter-spacing: 2px;
font-weight: bold;
text-align: right;
color: rgba(0, 0, 0, 0.56);
background-color: #ffffffd0;
border-radius: 8px;
position: absolute;
bottom: 8px;
right: 8px;
transition: 0.2s;
}
.project-box:hover .card-title {
bottom: 16px;
background-color: #ffffffef;
color: rgba(0, 0, 0, 0.75);
letter-spacing: 2.125px;
}
.project-box:active .card-title { bottom: 18px; }
/* Mobile */
.mobile.project-box-list {
width: 90%;
margin-top: 2rem;
}
@keyframes fade-in {
from {opacity: 0;}
to {opacity: 1}
}
@keyframes fade-out {
from {opacity: 1;}
to {opacity: 0}
}
/* Scrollbar */
/* width */
::-webkit-scrollbar {
width: 10px;
}
/* Track */
::-webkit-scrollbar-track {}
/* Handle */
::-webkit-scrollbar-thumb {
border-radius: 8px;
background-color: #d5d5d547;
transition: 0.3s !important;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background-color: #b8b8b880;
}