Bläddra i källkod

Adds CSS file in base template instead of importing them in style.css

Talha Mansoor 11 år sedan
förälder
incheckning
ef2877c517
2 ändrade filer med 2 tillägg och 3 borttagningar
  1. 0 3
      static/css/style.css
  2. 2 0
      templates/base.html

+ 0 - 3
static/css/style.css

@@ -1,3 +0,0 @@
-@import url("bootstrap.css")
-
-

+ 2 - 0
templates/base.html

@@ -4,6 +4,8 @@
         {% block head %}
         <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
         <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/bootstrap.css" media="screen"/>
+        <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/bootstrap-responsive.css" media="screen"/>
         <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.css" media="screen"/>
         {% endblock %}
     </head>