-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
119 lines (105 loc) · 3.49 KB
/
Copy pathstyle.css
File metadata and controls
119 lines (105 loc) · 3.49 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
/* 1. Import Font Keren */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&display=swap');
/* 2. Reset & Variabel Warna */
:root {
--bg-color: #0d1117; /* Gelap */
--text-primary: #e6edf3; /* Putih */
--accent-color: #00ff41; /* Hijau Matrix/Elins */
--grid-color: rgba(48, 54, 61, 0.5);
}
* {
box-sizing: border-box;
}
/* 3. Layout Utama */
body {
background-color: var(--bg-color);
color: var(--text-primary);
font-family: 'Fira Code', monospace;
line-height: 1.6;
margin: 0;
padding: 0;
/* Background Grid */
background-image:
linear-gradient(var(--grid-color) 1px, transparent 1px),
linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
background-size: 40px 40px;
/* Bikin konten di tengah */
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
/* 4. Container Pembungkus */
/* Asumsi konten utama dibungkus div/main */
body > div:first-of-type, main, section {
max-width: 700px;
width: 90%;
background: rgba(13, 17, 23, 0.85);
padding: 30px;
margin-top: 40px;
margin-bottom: 100px; /* Ruang buat osiloskop di bawah */
border: 1px solid #30363d;
border-radius: 10px;
backdrop-filter: blur(5px);
text-align: center;
}
/* 5. Style Foto Profil */
img {
width: 150px !important;
height: 150px !important;
object-fit: cover;
border-radius: 50%;
border: 3px solid var(--accent-color);
box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
margin: 0 auto 20px auto;
display: block;
}
/* 6. Typography */
h1, h2, h3 {
color: var(--accent-color);
margin-bottom: 15px;
text-transform: uppercase;
letter-spacing: 1px;
}
h1 { font-size: 1.8rem; }
h2 { font-size: 1.4rem; border-bottom: 1px dashed #30363d; padding-bottom: 10px; margin-top: 30px;}
/* 7. Link/Tombol (CYBER BUTTON STYLE) */
a {
display: inline-block; /* Supaya bentuknya kotak, bukan teks biasa */
position: relative;
text-decoration: none;
color: var(--accent-color); /* Warna Teks Hijau */
border: 1px solid var(--accent-color); /* Garis pinggir hijau */
padding: 10px 20px; /* Jarak dalam tombol (AtasBawah KiriKanan) */
margin: 10px 5px; /* Jarak antar tombol */
border-radius: 4px; /* Sudut sedikit tumpul */
transition: all 0.3s ease; /* Animasi perubahan halus */
background: rgba(0, 255, 65, 0.05); /* Background hijau super tipis */
font-weight: bold;
letter-spacing: 1px; /* Jarak antar huruf */
text-transform: uppercase; /* Huruf kapital semua */
}
/* Efek pas Kursor Nempel (Hover) */
a:hover {
background-color: var(--accent-color); /* Latar jadi hijau full */
color: #0d1117; /* Teks jadi hitam biar kontras */
box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color); /* Efek NEON GLOW */
transform: translateY(-3px); /* Tombol melayang naik dikit */
cursor: pointer;
}
/* Efek Klik (Active) */
a:active {
transform: translateY(1px); /* Efek mendem pas diklik */
box-shadow: 0 0 5px var(--accent-color);
}
/* List Proyek */
ul {
list-style: none;
padding: 0;
text-align: left;
}
li {
margin-bottom: 10px;
padding-left: 20px;
border-left: 2px solid var(--accent-color);
}