muhammadsalmanalfaridzi commited on
Commit
61eefc0
·
verified ·
1 Parent(s): 4564936

Update resumes/style.css

Browse files
Files changed (1) hide show
  1. resumes/style.css +98 -47
resumes/style.css CHANGED
@@ -1,84 +1,135 @@
1
- /* Sembunyikan elemen h1 pertama (misalnya "Resume") */
2
- body > h1:first-of-type {
3
- display: none;
 
 
 
 
4
  }
5
 
6
- /* Global styling */
7
  body {
8
- font-family: 'Arial', sans-serif;
9
- font-size: 14px;
10
- line-height: 1.4;
11
- color: #333;
12
- margin: 20px;
 
13
  }
14
 
15
- /* Header Styling */
16
- h1, h2, h3 {
17
- color: #004080;
18
- margin-bottom: 5px;
19
- font-weight: bold;
 
 
 
20
  }
21
 
 
22
  h1 {
23
- font-size: 28px;
24
- border-bottom: 2px solid #004080;
25
- padding-bottom: 5px;
26
  }
27
 
 
28
  h2 {
29
- font-size: 22px;
 
 
30
  }
31
 
 
32
  h3 {
33
- font-size: 18px;
 
 
34
  }
35
 
36
- /* Section spacing */
37
- section {
38
- margin-bottom: 15px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  }
40
 
41
- /* Bullet points */
 
 
 
 
 
 
 
 
42
  ul {
43
- margin-left: 20px;
44
- padding-left: 0;
 
45
  }
46
 
47
  li {
48
- margin-bottom: 5px;
49
  }
50
 
 
51
  li::marker {
52
- color: #004080;
53
- font-weight: bold;
54
  }
55
 
56
- /* Paragraph spacing */
57
- p {
58
- margin: 5px 0;
 
 
 
 
 
59
  }
60
 
61
- /* Inline styles */
62
- strong {
63
- color: #000;
64
- font-weight: bold;
65
  }
66
 
67
- a {
68
- color: #0066cc;
69
- text-decoration: none;
70
  }
 
71
 
72
- /* Table of contents or subsections */
 
 
 
73
  .subtitle {
74
- font-size: 16px;
75
- font-weight: bold;
76
- color: #004080;
77
- margin-top: 10px;
78
- margin-bottom: 5px;
79
  }
 
80
 
81
- /* Page Margins */
82
- @page {
83
- margin: 2cm;
 
 
 
84
  }
 
 
1
+ /* style.css */
2
+
3
+ /* ----------------------------- */
4
+ /* GLOBAL STYLES */
5
+ /* ----------------------------- */
6
+ @page {
7
+ margin: 2cm; /* Margin di setiap halaman PDF */
8
  }
9
 
 
10
  body {
11
+ font-family: "Arial", sans-serif;
12
+ font-size: 14px;
13
+ line-height: 1.4;
14
+ color: #333;
15
+ margin: 0; /* Biarkan margin 0 di body, margin PDF diatur via @page */
16
+ padding: 0;
17
  }
18
 
19
+ /* ----------------------------- */
20
+ /* HEADINGS */
21
+ /* ----------------------------- */
22
+ h1, h2, h3, h4 {
23
+ color: #004080;
24
+ font-weight: bold;
25
+ margin-top: 0; /* Hilangkan margin top default heading */
26
+ margin-bottom: 5px;
27
  }
28
 
29
+ /* Heading 1 (misalnya untuk nama) */
30
  h1 {
31
+ font-size: 26px;
32
+ margin-bottom: 8px;
 
33
  }
34
 
35
+ /* Heading 2 (misalnya untuk section: WORK EXPERIENCE, EDUCATION) */
36
  h2 {
37
+ font-size: 20px;
38
+ margin-top: 20px; /* Spasi sebelum heading */
39
+ margin-bottom: 8px;
40
  }
41
 
42
+ /* Heading 3 (misalnya untuk sub-section: nama jabatan, nama universitas) */
43
  h3 {
44
+ font-size: 16px;
45
+ margin-top: 12px;
46
+ margin-bottom: 5px;
47
  }
48
 
49
+ /* Heading 4 (opsional) */
50
+ h4 {
51
+ font-size: 14px;
52
+ margin-top: 10px;
53
+ margin-bottom: 5px;
54
+ }
55
+
56
+ /* ----------------------------- */
57
+ /* PARAGRAPH & TEXT */
58
+ /* ----------------------------- */
59
+ p {
60
+ margin: 5px 0;
61
+ }
62
+
63
+ /* Strong text */
64
+ strong {
65
+ font-weight: bold;
66
+ color: #000;
67
  }
68
 
69
+ /* Link text */
70
+ a {
71
+ color: #0066cc;
72
+ text-decoration: none;
73
+ }
74
+
75
+ /* ----------------------------- */
76
+ /* LISTS (UL, LI) */
77
+ /* ----------------------------- */
78
  ul {
79
+ margin-left: 20px; /* indentasi */
80
+ margin-bottom: 10px;
81
+ padding-left: 0;
82
  }
83
 
84
  li {
85
+ margin-bottom: 5px; /* spasi antar bullet */
86
  }
87
 
88
+ /* Style bullet point */
89
  li::marker {
90
+ color: #004080;
91
+ font-weight: bold;
92
  }
93
 
94
+ /* ----------------------------- */
95
+ /* TABLES (opsional) */
96
+ /* ----------------------------- */
97
+ /* Jika ada tabel, Anda bisa tambahkan styling di sini.
98
+ table {
99
+ width: 100%;
100
+ border-collapse: collapse;
101
+ margin-bottom: 15px;
102
  }
103
 
104
+ th, td {
105
+ border: 1px solid #ccc;
106
+ padding: 8px;
107
+ text-align: left;
108
  }
109
 
110
+ th {
111
+ background-color: #f3f3f3;
 
112
  }
113
+ */
114
 
115
+ /* ----------------------------- */
116
+ /* CUSTOM CLASSES (opsional) */
117
+ /* ----------------------------- */
118
+ /* Jika Anda punya class custom di Markdown, Anda bisa tambahkan di sini.
119
  .subtitle {
120
+ font-size: 16px;
121
+ font-weight: bold;
122
+ color: #004080;
123
+ margin-top: 10px;
124
+ margin-bottom: 5px;
125
  }
126
+ */
127
 
128
+ /* ----------------------------- */
129
+ /* SECTION (opsional) */
130
+ /* ----------------------------- */
131
+ /* Jika di Markdown ada elemen <section>, Anda bisa mengatur spacing di sini.
132
+ section {
133
+ margin-bottom: 15px;
134
  }
135
+ */