Create a separeted CSS file
Benjamin Renard

Benjamin Renard commited on 2017-09-17 17:50:59
Showing 3 changed files, with 47 additions and 45 deletions.

... ...
@@ -7,6 +7,8 @@ favicon.png
7 7
 icon-196x196.png
8 8
 icon-128x128.png
9 9
 
10
+inc/main.css
11
+
10 12
 inc/main.js
11 13
 inc/mysc_objects.js
12 14
 
... ...
@@ -0,0 +1,43 @@
1
+body{
2
+  margin-top: 4em;
3
+}
4
+
5
+div.panel-heading, li.list-group-item, a {
6
+  cursor: pointer;
7
+}
8
+
9
+.collapsing {
10
+    -webkit-transition: none;
11
+    transition: none;
12
+    display: none;
13
+}
14
+
15
+.count-tag {
16
+  display: inline-block;
17
+  width: 6em;
18
+  text-align: center;
19
+}
20
+
21
+.done {
22
+	font-style: italic;
23
+	color: #999;
24
+	text-decoration: line-through;
25
+}
26
+
27
+.center {
28
+	text-align: center;
29
+}
30
+
31
+.scase-name {
32
+	font-size: 1.5em;
33
+}
34
+
35
+.add_thing_label, #edit_thing_label {
36
+	width: 80%;
37
+	display: inline-block;
38
+}
39
+
40
+.add_thing_nb, #edit_thing_nb {
41
+	width: 18%;
42
+	display: inline-block;
43
+}
... ...
@@ -16,52 +17,9 @@
16 17
 
17 18
     <!-- Optional theme -->
18 19
     <link rel="stylesheet" href="inc/lib/bootstrap/css/bootstrap-theme.min.css">
19
-  </head>
20
-<style>
21
-body{
22
-  margin-top: 4em;
23
-}
24
-
25
-div.panel-heading, li.list-group-item, a {
26
-  cursor: pointer;
27
-}
28
-
29
-.collapsing {
30
-    -webkit-transition: none;
31
-    transition: none;
32
-    display: none;
33
-}
34
-
35
-.count-tag {
36
-  display: inline-block;
37
-  width: 6em;
38
-  text-align: center;
39
-}
40 20
 
41
-.done {
42
-	font-style: italic;
43
-	color: #999;
44
-	text-decoration: line-through;
45
-}
46
-
47
-.center {
48
-	text-align: center;
49
-}
50
-
51
-.scase-name {
52
-	font-size: 1.5em;
53
-}
54
-
55
-.add_thing_label, #edit_thing_label {
56
-	width: 80%;
57
-	display: inline-block;
58
-}
59
-
60
-.add_thing_nb, #edit_thing_nb {
61
-	width: 18%;
62
-	display: inline-block;
63
-}
64
-</style>
21
+    <link rel="stylesheet" href="inc/main.css">
22
+  </head>
65 23
 
66 24
   <body>
67 25
     <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
68 26