diff options
| author | 2013-11-25 21:31:00 +0100 | |
|---|---|---|
| committer | 2013-11-25 21:31:00 +0100 | |
| commit | c8a7913f79955e284288468ef88adc90aa788c50 (patch) | |
| tree | 2e0e23131f267f188c266e697494081bf97e7e36 /public/themes/flat-design | |
| parent | 03081fe9a21a3746ba3dac689f449b7ff3254f95 (diff) | |
Page Speed : bouge le style 'print' dans la CSS principale
Bouge le petit style dédié à l'impression dans la CSS principale, pour
de meilleures performances, et aussi pour permettre aux thèmes de
changer le rendu à l'impression.
Au passage, ajout de `@charset "UTF-8";` en tête de CSS
Diffstat (limited to 'public/themes/flat-design')
| -rw-r--r-- | public/themes/flat-design/freshrss.css | 39 | ||||
| -rw-r--r-- | public/themes/flat-design/global.css | 2 |
2 files changed, 41 insertions, 0 deletions
diff --git a/public/themes/flat-design/freshrss.css b/public/themes/flat-design/freshrss.css index 04c61085b..c2e824c22 100644 --- a/public/themes/flat-design/freshrss.css +++ b/public/themes/flat-design/freshrss.css @@ -1,3 +1,5 @@ +@charset "UTF-8"; + /* STRUCTURE */ body { background: #fafafa; @@ -752,3 +754,40 @@ body { -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); } + +@media print { + .header, + .aside, + .nav_menu, + .day, + .flux_header, + .flux_content .bottom, + .pagination { + display: none; + } + + html, body { + background: #fff; + color: #000; + font-family: Serif; + font-size: 12pt; + } + + #global, + .flux_content { + display: block !important; + } + + .flux_content .content { + width: 100% !important; + text-align: justify; + } + + .flux_content .content a { + color: #000; + } + .flux_content .content a:after { + content: " (" attr(href) ") "; + text-decoration: underline; + } +} diff --git a/public/themes/flat-design/global.css b/public/themes/flat-design/global.css index c53ec863c..8cf6412b3 100644 --- a/public/themes/flat-design/global.css +++ b/public/themes/flat-design/global.css @@ -1,3 +1,5 @@ +@charset "UTF-8"; + /* FONTS */ @font-face { font-family: "OpenSans"; |
