Commit 853a5e43 by Scott

SnowFlat: move CSS into qa-styles.css

parent 39a04bbd
/*
Question2Answer by Gideon Greenspan and contributors
http://www.question2answer.org/
File: qa-theme/Candy/qa-styles.css
Version: See define()s at top of qa-include/qa-base.php
Description: CSS file for included Candy theme
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
More about this license: http://www.question2answer.org/license.php
*/
/*
Theme Name: Candy
Theme URI:
Theme Version: 1.5
Theme Date: 2012-09-11
......
/*
Question2Answer by Gideon Greenspan and contributors
http://www.question2answer.org/
File: qa-theme/Classic/qa-styles.css
Version: See define()s at top of qa-include/qa-base.php
Description: CSS file for included Classic theme
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
More about this license: http://www.question2answer.org/license.php
*/
/*
Theme Name: Classic
Theme URI:
Theme Version: 1.5
Theme Date: 2012-09-11
......
/*
Snow Theme for Question2Answer
Copyright (C) 2014 Q2A Market <http://www.q2amarket.com>
File: snow-core-rtl.css
Version: Snow 1.4
Description: Snow theme core stylesheet for RTL version
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/*------[ variables css ]------*/
/*------[ mixins ]------*/
body {
......
......@@ -84,10 +84,9 @@ class qa_html_theme extends qa_html_theme_base
*/
public function head_css()
{
// add Snow CSS file
$this->content['css_src'][] = $this->rooturl . $this->css_dir . 'snow-core.css?' . QA_VERSION;
// add RTL CSS file
if ($this->isRTL)
$this->content['css_src'][] = $this->rooturl . $this->css_dir . 'snow-rtl.css?' . QA_VERSION;
$this->content['css_src'][] = $this->rooturl . $this->css_dir . 'qa-styles-rtl.css?' . QA_VERSION;
// add Ubuntu font CSS file
$this->content['css_src'][] = 'http://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic,700italic';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment