Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
165 lines (138 loc) · 3.16 KB
/
Copy pathstyles.css
File metadata and controls
165 lines (138 loc) · 3.16 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
/* css styles */
/* === EFEK HOVER UNTUK KARTU TEKNOLOGI === */
.card-hover {
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.card-hover:hover {
transform: translateY(-5px);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}
/* === STYLING UNTUK KARTU PROFIL TIM ASISTEN === */
.profile-card {
display: block;
text-align: center;
text-decoration: none;
color: inherit;
transition: transform 0.2s ease-in-out;
}
.profile-card:hover {
transform: scale(1.05);
}
.profile-img {
width: 100%;
aspect-ratio: 1 / 1; /* Membuat gambar selalu persegi */
object-fit: cover; /* Memastikan gambar tidak penyok */
border-radius: 50%; /* Membuat gambar menjadi lingkaran */
border: 3px solid #eee;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.profile-body {
padding-top: 0.5rem;
}
/* Opsi untuk tema gelap */
body.quarto-dark .profile-img {
border-color: #444;
}
/* === STYLING UNTUK TOMBOL KOMUNITAS === */
.btn-community {
border-radius: 0.5rem;
border-width: 2px;
font-weight: 500;
transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.btn-community:hover {
transform: translateY(-4px);
}
/* Warna khusus WhatsApp */
.btn-whatsapp {
background-color: #25D366;
border-color: #25D366;
color: white;
}
.btn-whatsapp:hover {
background-color: #1DAA51;
border-color: #1DAA51;
color: white;
}
/* Warna khusus Discord */
.btn-discord {
background-color: #5865F2;
border-color: #5865F2;
color: white;
}
.btn-discord:hover {
background-color: #4A55D1;
border-color: #4A55D1;
color: white;
}
/* Warna khusus Instagram */
.btn-instagram {
background: #d6249f;
background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
border: none;
color: white;
}
.btn-instagram:hover {
opacity: 0.9;
color: white;
}
/* === STYLING UNTUK ARSIP PRAKTIKUM INTERAKTIF === */
.praktikum-card {
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.praktikum-card:hover {
transform: translateY(-5px);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.praktikum-card .card-footer {
background-color: transparent;
border-top: 1px solid rgba(0,0,0,.125);
font-size: 0.8rem;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Membuat link mencakup seluruh kartu */
.praktikum-card .stretched-link::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1;
content: "";
}
.badge-matematika {
background-color: #e74c3c;
color: white;
}
.badge-statistika {
background-color: #f39c12;
color: white;
}
.badge-aktuaria {
background-color: #27ae60;
color: white;
}
.badge-lainnya {
background-color: #4B07FB;
color: white;
}
/* Styling untuk tombol filter */
.filter-btn.active {
background-color: var(--bs-primary);
color: var(--bs-light);
}
/* Tambahan untuk kartu yang non-aktif */
.disabled-card {
opacity: 0.6;
pointer-events: none; /* Mencegah kartu diklik */
background-color: var(--bs-gray-200);
}
body.quarto-dark .disabled-card {
background-color: var(--bs-gray-800);
}
/*Justify Text*/
.justify {
text-align: justify !important
}