Main genişliği 75% yapıldı, fotoğraf max genişliği 450px oldu.

master
Özcan Oğuz 3 years ago
parent f65b919fa4
commit 491f0636c5
Signed by: ooguz
GPG Key ID: 2D33E2BD3D975818
  1. 6
      src/theme/css/general.css
  2. 3
      src/theme/css/variables.css

@ -89,7 +89,11 @@ h4 a.header:target {
.content ul { line-height: 1.45em; } .content ul { line-height: 1.45em; }
.content a { text-decoration: none; } .content a { text-decoration: none; }
.content a:hover { text-decoration: underline; } .content a:hover { text-decoration: underline; }
.content img { max-width: 100%; } .content img {
max-width: var(--img-max-width);
margin-left: auto;
margin-right: auto;
}
.content .header:link, .content .header:link,
.content .header:visited { .content .header:visited {
color: var(--fg); color: var(--fg);

@ -4,8 +4,9 @@
:root { :root {
--sidebar-width: 300px; --sidebar-width: 300px;
--page-padding: 15px; --page-padding: 15px;
--content-max-width: 750px; --content-max-width: 75%;
--menu-bar-height: 50px; --menu-bar-height: 50px;
--img-max-width: 450px;
} }
/* Themes */ /* Themes */

Loading…
Cancel
Save