summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2016-04-01 11:41:48 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2016-04-01 11:41:48 +0200
commit013dd94816c1185d4cd52f80e36a23bb67439984 (patch)
tree64655177c27f659bc6884101f651b119fe5002a3
parentf9a64d57bbff4d253ed89ce286071f84968f37a9 (diff)
Place custom CSS in its own file.
-rw-r--r--static/css/fripost.css12
-rw-r--r--templates/page.tmpl15
2 files changed, 13 insertions, 14 deletions
diff --git a/static/css/fripost.css b/static/css/fripost.css
new file mode 100644
index 0000000..e87ac22
--- /dev/null
+++ b/static/css/fripost.css
@@ -0,0 +1,12 @@
+.navbar-fripost {
+ background-color: inherit;
+ border-bottom: black thin solid;
+ border-radius: 0;
+ margin-top: 1em
+}
+.navbar-fripost a {
+ color: black;
+}
+.navbar-fripost .navbar-toggle .icon-bar {
+ background-color: black;
+}
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 3032d0d..6bc0e77 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -6,6 +6,7 @@
<meta charset="utf-8" />
<!-- Bootstrap -->
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
+ <link rel="stylesheet" href="/static/css/fripost.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
@@ -22,20 +23,6 @@
<TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
<TMPL_IF META><TMPL_VAR META></TMPL_IF>
</head>
- <style>
- .navbar-fripost {
- background-color: inherit;
- border-bottom: black thin solid;
- border-radius: 0;
- margin-top: 1em
- }
- .navbar-fripost a {
- color: black;
- }
- .navbar-fripost .navbar-toggle .icon-bar {
- background-color: black;
- }
- </style>
<body>
<div class="container">
<nav class="navbar navbar-fripost" role="navigation">