From 79237470d8fac9c1c18cfe3c4bcf1c142fb83654 Mon Sep 17 00:00:00 2001 From: Simon Grim Date: Tue, 14 Jul 2015 05:51:21 +0500 Subject: [PATCH] quick fix of CSS to be able to set up style of posts text with b, i, etc tags --- css/style.css | 15 ++++++++------- theme_calm/css/style.css | 23 ++++++++++++----------- theme_nin/css/style.css | 1 - 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/css/style.css b/css/style.css index ff61c80..ba6beb4 100644 --- a/css/style.css +++ b/css/style.css @@ -1,19 +1,21 @@ -@font-face -{ +@font-face { font-family: "Open Sans"; src: url("OpenSans-Regular.ttf"); + font-weight: normal; + font-style: normal; } -@font-face -{ + +@font-face { font-family: "Open Sans"; src: url("OpenSans-Bold.ttf"); font-weight: bold; } -@font-face -{ + +@font-face { font-family: "Symbola"; src: url("Symbola.ttf"); } + html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -32,7 +34,6 @@ time, mark, audio, video, textarea padding: 0; border: 0; font-size: 100%; - font: inherit; vertical-align: baseline; box-sizing: border-box; font-family: 'Open Sans', sans-serif, Symbola; diff --git a/theme_calm/css/style.css b/theme_calm/css/style.css index c91f8fc..cb6c1f6 100644 --- a/theme_calm/css/style.css +++ b/theme_calm/css/style.css @@ -1,30 +1,32 @@ -@font-face -{ +@font-face { font-family: "Open Sans"; src: url("OpenSans-Regular.ttf"); + font-weight: normal; + font-style: normal; } -@font-face -{ + +@font-face { font-family: "Open Sans"; src: url("OpenSans-Bold.ttf"); font-weight: bold; } -@font-face -{ + +@font-face { font-family: "Open Sans"; src: url("OpenSans-Italic.ttf"); font-style: italic; } -@font-face -{ + +@font-face { font-family: "Open Sans Condensed"; src: url("OpenSansCondensed300.ttf"); } -@font-face -{ + +@font-face { font-family: "Symbola"; src: url("/css/Symbola.ttf"); } + html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, @@ -43,7 +45,6 @@ time, mark, audio, video, textarea padding: 0; border: 0; font-size: 100%; - font: inherit; vertical-align: baseline; box-sizing: border-box; font-family: 'Open Sans', sans-serif, Symbola; diff --git a/theme_nin/css/style.css b/theme_nin/css/style.css index 31d3d99..519623a 100644 --- a/theme_nin/css/style.css +++ b/theme_nin/css/style.css @@ -232,7 +232,6 @@ time, mark, audio, video { margin: 0; padding: 0; border: 0; - font: inherit; font-size: 100%; vertical-align: baseline; }