Skip to content

Commit 8312706

Browse files
committed
making it look better
1 parent baeab87 commit 8312706

File tree

2 files changed

+85
-2
lines changed

2 files changed

+85
-2
lines changed

_layouts/default.html

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,88 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>{{ page.title }}</title>
7+
8+
<style>
9+
body {
10+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
11+
line-height: 1.6;
12+
color: #222;
13+
background-color: #fafafa;
14+
margin: 0;
15+
padding: 0;
16+
}
17+
18+
main {
19+
max-width: 850px; /* limit width for readability */
20+
margin: 3rem auto; /* center content */
21+
padding: 0 1.5rem; /* left/right padding on mobile */
22+
background-color: white;
23+
border-radius: 8px;
24+
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
25+
}
26+
27+
h1, h2, h3 {
28+
line-height: 1.25;
29+
color: #111;
30+
}
31+
32+
img {
33+
display: block;
34+
margin: 1.5rem auto;
35+
max-width: 100%;
36+
height: auto;
37+
}
38+
39+
figure {
40+
text-align: center;
41+
margin: 2rem 0;
42+
}
43+
44+
figcaption {
45+
font-size: 0.9rem;
46+
color: #555;
47+
margin-top: 0.5rem;
48+
}
49+
50+
pre {
51+
background: #f6f8fa;
52+
padding: 1rem;
53+
border-radius: 6px;
54+
overflow-x: auto;
55+
}
56+
57+
code {
58+
background: #f6f8fa;
59+
padding: 0.2em 0.4em;
60+
border-radius: 4px;
61+
}
62+
63+
a {
64+
color: #0366d6;
65+
text-decoration: none;
66+
}
67+
a:hover {
68+
text-decoration: underline;
69+
}
70+
71+
@media (prefers-color-scheme: dark) {
72+
body {
73+
background-color: #1e1e1e;
74+
color: #ddd;
75+
}
76+
main {
77+
background-color: #2b2b2b;
78+
box-shadow: none;
79+
}
80+
a { color: #58a6ff; }
81+
code, pre { background: #333; color: #ddd; }
82+
}
83+
</style>
784
</head>
85+
886
<body>
9-
{{ content }}
87+
<main>
88+
{{ content }}
89+
</main>
1090
</body>
1191
</html>

index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ $$
7272

7373
The plot below shows the displacement $x(t)$ with respect to $t$ (already containing anomalies).
7474

75-
<img src="plots/Damped_Oscillator_Data.png" width="70%">
75+
<p align="center">
76+
<img src="plots/Damped_Oscillator_Data.png" width="70%">
77+
</p>
78+
7679

7780

7881
## LSTM Autoencoder model

0 commit comments

Comments
 (0)