Skip to content

Instantly share code, notes, and snippets.

@luxifer
Created June 17, 2014 20:01
Show Gist options
  • Save luxifer/34acbae40cad07ade90e to your computer and use it in GitHub Desktop.
Save luxifer/34acbae40cad07ade90e to your computer and use it in GitHub Desktop.
Selfoss one column (because 3 column is awful on desktop)
diff --git a/public/css/style.css b/public/css/style.css
index 2f16989..a3d9630 100644
--- a/public/css/style.css
+++ b/public/css/style.css
@@ -441,19 +441,13 @@ input {
.entry-content {
display:none;
- -moz-column-count: 3;
- -moz-column-gap: 2em;
- -moz-column-rule: 1px solid rgba(204, 204, 204, 0.4);
- -webkit-column-count: 3;
- -webkit-column-gap: 2em;
- -webkit-column-rule: 1px solid rgba(204, 204, 204, 0.4);
- column-count: 3;
- column-gap: 2em;
- column-rule: 1px solid rgba(204, 204, 204, 0.4);
- font-size:0.95em;
+ font-size:1.1em;
margin-top:20px;
line-height: 1.7em;
overflow: hidden;
+ margin: auto;
+ max-width: 600px;
+ font-family: 'Poly', serif;
}
.entry-content a {
diff --git a/templates/home.phtml b/templates/home.phtml
index c6c4649..bdd9665 100644
--- a/templates/home.phtml
+++ b/templates/home.phtml
@@ -29,6 +29,7 @@
<?PHP if(\F3::get('use_system_font')!=true) : ?>
<link rel="stylesheet" href="css/fonts.css" />
<?PHP endif; ?>
+ <link href='https://fonts.googleapis.com/css?family=Poly' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="all.css" />
</head>
@baptistedonaux
Copy link

Thank you for this fix !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment