summaryrefslogtreecommitdiff
path: root/public/assets/css/main.css.bk
blob: 1d006ad33669a9099db176642210287a7c13436d (plain)
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
/* === Global reset & base styles === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background-color: #1e1e2f;        /* darker, richer background */
  color: #e0e0e0;                  /* lighter text */
  font-family: 'IBM Plex Sans', 'FreeSerif', serif; /* modern + fallback */
  line-height: 1.7;
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* === Header & nav === */
header {
  text-align: center;
  margin-bottom: 40px;
}

nav ul {
  list-style: none;
  text-align: center;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li.logo img {
  max-height: 70px;
}

nav ul li a {
  color: #a39cff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul li a:hover {
  color: #ffffff;
}

/* === Links === */
a {
  color: #9fa7ff;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* === Main content === */
main {
  margin: 0 auto;
  padding: 0 10px;
  font-size: 18px;
}

h1, h2, h3 {
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: #c0c0ff;
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 1.6rem;
}

/* === Paragraphs & spacing === */
p {
  margin: 1rem 0;
}

/* === Images === */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
}

.right-image {
  float: right;
  margin: 0 0 10px 15px;
}

.left-image {
  float: left;
  margin: 0 15px 10px 0;
}

/* === Tags / meta === */
.tags, .tags2 {
  display: block;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #b0b0ff;
}

/* === Blockquotes === */
blockquote {
  border-left: 6px solid #a39cff;      /* keeps your accent color */
  background-color: #2e2460;           /* slightly brighter than current bg */
  color: #d0d0ff;                      /* lighter text for contrast */
  font-style: italic;
  margin: 1.5rem 0;
  padding: 15px 20px;                  /* more breathing room inside */
  border-radius: 8px;                  /* softer corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* subtle shadow for depth */
  line-height: 1.6;
}


/* === Lists === */
ul, ol {
  margin: 1rem 0 1rem 2rem;
}

/* === Footer === */
footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #999;
  font-size: 0.9rem;
}

/* === Media queries (responsive) === */
@media (max-width: 600px) {
  main {
    padding: 0 5px;
  }

  nav ul li {
    display: block;
    margin: 10px 0;
  }

  .right-image, .left-image {
    float: none;
    margin: 10px auto;
  }
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: #2a2a40;  /* slightly lighter than body for contrast */
  color: #e0e0e0;
  font-size: 16px;
}

thead {
  background-color: #3a3a5a; /* header row darker */
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #444;  /* subtle row separation */
}

th {
  font-weight: 600;
  color: #c0c0ff;
}

tr:hover {
  background-color: #404060;  /* highlight row on hover */
}

/* Responsive table tweaks */
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead tr {
    display: none; /* hide header row on small screens */
  }

  tr {
    margin-bottom: 15px;
    border-bottom: 2px solid #444;
  }

  td {
    padding-left: 50%;
    position: relative;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: 600;
    color: #a39cff;
  }
}