Skip to content

Commit 070b002

Browse files
committed
Minor stylesheet changes: logo rotate animation, letter spacing, etc.
Signed-off-by: Ivan Movchan <[email protected]>
1 parent ed3422c commit 070b002

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

css/style.css

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,14 @@ html, body {
6161
body {
6262
margin: 8px auto;
6363
padding: 24px 32px;
64-
max-width: 1024px;
6564
font-family: var(--font);
6665
font-size: var(--font-size);
6766
line-height: 1.4;
67+
letter-spacing: -0.5px;
68+
}
69+
70+
body, img, .gallery-box img:hover {
71+
max-width: 800px;
6872
}
6973

7074
h1, h2, h3, h4, h5, h6, b, .button {
@@ -159,7 +163,7 @@ hr {
159163
}
160164

161165
.gallery-box img {
162-
max-width: 800px;
166+
max-width: 480px;
163167
border: var(--border) var(--link-fg);
164168
}
165169

@@ -172,7 +176,16 @@ hr {
172176
}
173177

174178
#logo {
175-
max-width: 880px;
179+
max-width: 256px;
180+
transform: rotate(0deg);
181+
}
182+
183+
#logo:hover {
184+
transform: rotate(360deg);
185+
}
186+
187+
#logo, #logo:hover {
188+
transition: 2s ease;
176189
}
177190

178191
@media screen and (max-width: 720px) {

0 commit comments

Comments
 (0)