Skip to content

Commit b78707f

Browse files
committed
Redesign complete
1 parent 919ba3a commit b78707f

File tree

1 file changed

+105
-6
lines changed

1 file changed

+105
-6
lines changed

assets/site.css

Lines changed: 105 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -254,33 +254,35 @@ a:hover {
254254
color: #ccc;
255255
}
256256
}
257-
/* Page layout */
258257
header.cd-container {
259258
position: relative;
260259
background-size: cover;
261260
background-position: center;
262261
padding: 2rem 1rem;
262+
/* smaller padding */
263263
text-align: center;
264264
color: #fff;
265-
border-radius: 10px;
266-
margin-bottom: 2rem;
265+
border-radius: 8px;
266+
margin: 1.5rem 0 2rem;
267+
/* less spacing */
267268
overflow: hidden;
268269
}
269270

270-
/* subtle dark overlay on top of header image */
271271
header.cd-container::before {
272272
content: "";
273273
position: absolute;
274274
inset: 0;
275-
background: rgba(0, 0, 0, 0.45);
275+
background: rgba(0, 0, 0, 0.25);
276+
/* lighter overlay */
276277
z-index: 0;
277278
}
278279

279280
header.cd-container h1 {
280281
position: relative;
281282
z-index: 1;
282283
font-family: "Poppins", sans-serif;
283-
font-size: 2.5rem;
284+
font-size: 1.8rem;
285+
/* smaller heading */
284286
font-weight: 600;
285287
margin: 0;
286288
color: #fff;
@@ -491,4 +493,101 @@ article.page tr:nth-child(even) td {
491493
article.page tr:nth-child(even) td {
492494
background: #262626;
493495
}
496+
}
497+
/* -------------------- */
498+
/* Search Page Styling */
499+
/* -------------------- */
500+
#search-container {
501+
max-width: 700px;
502+
margin: 2rem auto;
503+
text-align: center;
504+
}
505+
506+
#search-input {
507+
width: 100%;
508+
padding: 0.75rem 1rem;
509+
font-size: 1rem;
510+
border: 1px solid var(--border-color, #ddd);
511+
border-radius: 8px;
512+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
513+
outline: none;
514+
transition: border-color 0.2s, box-shadow 0.2s;
515+
}
516+
517+
#search-input:focus {
518+
border-color: var(--accent-color, #0077cc);
519+
box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.2);
520+
}
521+
522+
#results-container {
523+
list-style: none;
524+
padding: 0;
525+
margin: 1.5rem 0;
526+
}
527+
528+
#results-container li,
529+
#results-container div {
530+
background: var(--card-bg, #fff);
531+
border: 1px solid var(--border-color, #e0e0e0);
532+
border-radius: 8px;
533+
margin: 0.75rem 0;
534+
padding: 1rem;
535+
text-align: left;
536+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
537+
transition: transform 0.1s ease-in-out;
538+
}
539+
540+
#results-container li:hover,
541+
#results-container div:hover {
542+
transform: translateY(-2px);
543+
}
544+
545+
#results-container a {
546+
color: var(--accent-color, #0077cc);
547+
font-weight: 600;
548+
text-decoration: none;
549+
}
550+
551+
#results-container span {
552+
display: block;
553+
margin-top: 0.25rem;
554+
font-size: 0.9rem;
555+
color: var(--text-muted, #666);
556+
}
557+
558+
/* -------------------- */
559+
/* Wordcloud Page Styling */
560+
/* -------------------- */
561+
#controls {
562+
margin: 2rem auto 1.5rem;
563+
text-align: center;
564+
}
565+
566+
#controls label {
567+
font-weight: 600;
568+
margin-right: 0.5rem;
569+
color: var(--text-color, #333);
570+
}
571+
572+
#controls select {
573+
padding: 0.5rem 0.75rem;
574+
border-radius: 8px;
575+
border: 1px solid var(--border-color, #ddd);
576+
background: var(--card-bg, #fff);
577+
font-size: 1rem;
578+
cursor: pointer;
579+
transition: border-color 0.2s, box-shadow 0.2s;
580+
}
581+
582+
#controls select:focus {
583+
border-color: var(--accent-color, #0077cc);
584+
box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.2);
585+
outline: none;
586+
}
587+
588+
#wordcloud {
589+
margin: 2rem auto;
590+
max-width: 100%;
591+
overflow-x: auto;
592+
text-align: center;
494593
}

0 commit comments

Comments
 (0)