Skip to content

Commit 9f58d0e

Browse files
committed
add stylings
1 parent 308c1bb commit 9f58d0e

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

Diff for: .vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"markdown.marp.themes": [
3+
"./styles/rust.css"
4+
]
5+
}

Diff for: fonts/NikkyouSans-mLKax.ttf

297 KB
Binary file not shown.

Diff for: styles/rust.css

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* @theme rust */
2+
3+
@import 'default';
4+
5+
@font-face {
6+
font-family: 'Nikkyou Sans';
7+
src: url('https://rust-stuco.github.io/assets/fonts/NikkyouSans-mLKax.ttf');
8+
}
9+
10+
section.communism h2, section.communism h1 {
11+
font-family:'Nikkyou Sans', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
12+
color: #D84A39;
13+
font-size: 2rem;
14+
text-shadow: 3px 3px 0 #000;
15+
line-height: 0;
16+
max-width: 75%;
17+
}
18+
19+
section.communism h1 {
20+
font-size: 2.5rem;
21+
line-height: 1;
22+
}
23+
24+
section.communism {
25+
background-image: url('../images/bg2.jpg');
26+
}

0 commit comments

Comments
 (0)