Skip to content

Commit 55175c7

Browse files
committed
change theme
1 parent 6e4cc0e commit 55175c7

File tree

1 file changed

+83
-2
lines changed

1 file changed

+83
-2
lines changed

assets/css/main.scss

Lines changed: 83 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,86 @@
22
# front matter so Jekyll processes it
33
---
44

5-
@import "minimal-mistakes/skins/contrast"; // base skin
6-
@import "minimal-mistakes"; // main theme
5+
6+
/* Core colors */
7+
$background-color: #0d1b2a; // page background
8+
$text-color: #e0e1dd; // main text
9+
$muted-text-color: #a9bcd0; // subtle text
10+
$link-color: #f4a261; // warm orange links
11+
$brand-color: #e67e22; // brand accent
12+
$border-color: #415a77; // separators
13+
$code-background-color: #1b263b; // code blocks
14+
$footer-background-color: #1b263b;
15+
$footer-text-color: #e0e1dd;
16+
17+
@import "minimal-mistakes/skins/contrast"; // basis-skin
18+
@import "minimal-mistakes"; // lädt das theme
19+
20+
/* === General page background and text === */
21+
body {
22+
background-color: $background-color;
23+
color: $text-color;
24+
}
25+
26+
/* Masthead (top bar) */
27+
.masthead, .site-title, .site-nav, .site-nav .page-link {
28+
background-color: $brand-color;
29+
color: #fff !important;
30+
}
31+
32+
.masthead a:hover,
33+
.site-nav .page-link:hover {
34+
color: lighten($brand-color, 20%) !important;
35+
}
36+
37+
/* Sidebar and widgets */
38+
.sidebar {
39+
background-color: darken($background-color, 3%);
40+
color: $text-color;
41+
}
42+
43+
/* Links */
44+
a, a:visited {
45+
color: $link-color;
46+
}
47+
a:hover {
48+
color: lighten($link-color, 15%);
49+
}
50+
51+
/* Buttons */
52+
.btn, .btn--primary {
53+
background-color: $brand-color;
54+
border-color: darken($brand-color, 5%);
55+
color: #fff;
56+
57+
&:hover, &:focus {
58+
background-color: lighten($brand-color, 5%);
59+
border-color: lighten($brand-color, 10%);
60+
color: #fff;
61+
}
62+
}
63+
64+
/* Footer */
65+
.page__footer {
66+
background-color: $footer-background-color;
67+
color: $footer-text-color;
68+
border-top: 1px solid $border-color;
69+
}
70+
71+
/* === Author avatar: circular and properly clipped === */
72+
.author__avatar {
73+
border: none;
74+
border-radius: 50%;
75+
overflow: hidden;
76+
box-shadow: none;
77+
margin-bottom: 0.75em;
78+
width: 200px; /* adjust as needed */
79+
height: 200px; /* keep it square */
80+
}
81+
82+
.author__avatar img {
83+
width: 100%;
84+
height: 100%;
85+
object-fit: cover; /* keeps aspect ratio while filling the circle */
86+
border-radius: 50%;
87+
}

0 commit comments

Comments
 (0)