Skip to content

Commit 052c633

Browse files
committed
p
1 parent 09c5c3c commit 052c633

File tree

1 file changed

+64
-51
lines changed

1 file changed

+64
-51
lines changed

assets/scss/style.scss

Lines changed: 64 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ body {
44
padding-top: 4.5rem;
55
}
66

7-
a {
8-
color: white;
9-
10-
}
11-
7+
128
a:link,
139
a:visited,
1410
a:hover,
@@ -19,52 +15,69 @@ body {
1915
h1, h2 {
2016
text-align: center;
2117
}
22-
.section-bg {
23-
background-color: #f8f9fa;
24-
}
25-
.hero-section {
26-
background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(219, 68, 55, 0.05));
27-
}
28-
.feature-card, .contributor-card {
29-
border: 0;
30-
transition: transform 0.3s ease, box-shadow 0.3s ease;
31-
}
32-
.feature-card:hover, .contributor-card:hover {
33-
transform: translateY(-5px);
34-
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
35-
}
36-
.code-block {
37-
background-color: #282c34;
38-
color: #abb2bf;
39-
padding: 1rem 1.5rem;
40-
border-radius: 0.5rem;
41-
font-family: 'Courier New', Courier, monospace;
42-
white-space: pre-wrap;
43-
word-break: break-all;
44-
}
45-
.responsive-img {
46-
border-radius: 0.75rem;
47-
}
48-
.btn-lg {
49-
padding: 0.75rem 1.5rem;
50-
font-size: 1.1rem;
51-
}
52-
.table {
53-
border-radius: 0.5rem;
54-
overflow: hidden;
55-
}
56-
.table thead {
57-
background-color: #4285F4;
58-
color: white;
59-
}
60-
.icon-button {
61-
display: inline-block;
62-
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
63-
}
64-
.icon-button:hover {
65-
transform: scale(1.1);
66-
opacity: 0.9;
67-
}
18+
/* Latar belakang section yang otomatis beradaptasi dengan dark mode */
19+
.section-bg {
20+
background-color: var(--bs-tertiary-bg);
21+
}
22+
23+
/* Gradient yang juga menggunakan variabel warna */
24+
.hero-section {
25+
background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.08), rgba(219, 68, 55, 0.05));
26+
}
27+
28+
/* Kartu dengan border dan efek hover yang lebih baik */
29+
.feature-card, .contributor-card {
30+
border: 1px solid var(--bs-border-color-translucent);
31+
transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
32+
}
33+
34+
.feature-card:hover, .contributor-card:hover {
35+
transform: translateY(-8px);
36+
box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.1) !important;
37+
border-color: var(--bs-primary);
38+
}
39+
40+
/* Blok kode, gaya sudah bagus dan tidak perlu diubah */
41+
.code-block {
42+
background-color: #282c34;
43+
color: #abb2bf;
44+
padding: 1rem 1.5rem;
45+
border-radius: 0.5rem;
46+
font-family: 'Courier New', Courier, monospace;
47+
white-space: pre-wrap;
48+
word-break: break-all;
49+
}
50+
51+
.responsive-img {
52+
border-radius: 0.75rem;
53+
}
54+
55+
.btn-lg {
56+
padding: 0.75rem 1.5rem;
57+
font-size: 1.1rem;
58+
}
59+
60+
/* Tabel dengan header yang konsisten */
61+
.table {
62+
border-radius: 0.5rem;
63+
overflow: hidden;
64+
}
65+
66+
.table thead {
67+
background-color: var(--bs-primary); /* Menggunakan warna primary dari tema */
68+
color: white;
69+
}
70+
71+
/* Tombol ikon, gaya sudah bagus */
72+
.icon-button {
73+
display: inline-block;
74+
transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
75+
}
76+
77+
.icon-button:hover {
78+
transform: scale(1.1);
79+
opacity: 0.9;
80+
}
6881
.table thead {
6982
background-color: #f8f9fa;
7083
}

0 commit comments

Comments
 (0)