File tree Expand file tree Collapse file tree 5 files changed +85
-84
lines changed Expand file tree Collapse file tree 5 files changed +85
-84
lines changed Original file line number Diff line number Diff line change
1
+ html , body {
2
+ position : relative;
3
+ height : 100% ;
4
+ }
5
+
6
+ body {
7
+ margin : 0 ;
8
+ padding : 0 ;
9
+ overflow : hidden;
10
+ }
Original file line number Diff line number Diff line change
1
+ html , body {
2
+ position : relative;
3
+ height : 100% ;
4
+ margin : 0 ;
5
+ padding : 0 ;
6
+ overflow : hidden;
7
+ background : # 262C38 ;
8
+ }
9
+
10
+ div .sidebar {
11
+ width : 300px ;
12
+ float : left;
13
+ position : relative;
14
+ height : 100% ;
15
+ overflow : auto;
16
+ }
17
+
18
+ .sidebar h1 {
19
+ font-family : 'Montserrat' , sans-serif;
20
+ color : white;
21
+ text-align : center;
22
+ }
23
+
24
+ ul {
25
+ color : white;
26
+ list-style : none;
27
+ }
28
+
29
+ li .h {
30
+ color : white;
31
+ text-decoration : none;
32
+ font-family : 'Oxygen' , sans-serif;
33
+ font-size : 14pt ;
34
+ font-weight : bold;
35
+ line-height : 2 ;
36
+ padding-top : 15px ;
37
+ }
38
+
39
+ li a {
40
+ color : white;
41
+ text-decoration : none;
42
+ font-family : 'Oxygen' , sans-serif;
43
+ }
44
+
45
+ li a : hover {
46
+ text-decoration : underline;
47
+ }
48
+
49
+ iframe {
50
+ width : calc (100% - 300px );
51
+ float : right;
52
+ height : 100% ;
53
+ border : none;
54
+ }
55
+
56
+ a .source {
57
+ position : fixed;
58
+ bottom : 50px ;
59
+ right : 50px ;
60
+ color : white;
61
+ border : 2px solid white;
62
+ padding : 5px 10px ;
63
+ border-radius : 5px ;
64
+ text-decoration : none;
65
+ font-family : 'Oxygen' , sans-serif;
66
+ transition : all 0.1s linear;
67
+ }
68
+
69
+ a .source : hover {
70
+ background : # fff ;
71
+ color : # 078BDA ;
72
+ }
Original file line number Diff line number Diff line change 1
1
html
2
2
head
3
3
include meta.pug
4
+ include style.pug
4
5
style .
5
6
@import url (' https://fonts.googleapis.com/css?family=Cabin|Fjalla+One|Montserrat|Oxygen' );
6
-
7
- html , body {
8
- position : relative ;
9
- height : 100% ;
10
- margin :0 ;
11
- padding : 0 ;
12
- overflow : hidden ;
13
- background : #262C38 ;
14
- }
15
-
16
- div .sidebar {
17
- width : 300px ;
18
- float : left ;
19
- position : relative ;
20
- height : 100% ;
21
- overflow : auto ;
22
- }
23
-
24
- .sidebar h1 {
25
- font-family : ' Montserrat' , sans-serif ;
26
- color : white ;
27
- text-align : center ;
28
- }
29
-
30
- ul {
31
- color : white ;
32
- list-style : none ;
33
- }
34
-
35
- li .h {
36
- color : white ;
37
- text-decoration : none ;
38
- font-family : ' Oxygen' , sans-serif ;
39
- font-size : 14pt ;
40
- font-weight : bold ;
41
- line-height : 2 ;
42
- padding-top : 15px ;
43
- }
44
-
45
- li a {
46
- color : white ;
47
- text-decoration : none ;
48
- font-family : ' Oxygen' , sans-serif ;
49
- }
50
-
51
- li a :hover {
52
- text-decoration : underline ;
53
- }
54
-
55
- iframe {
56
- width : calc (100% - 300px );
57
- float : right ;
58
- height : 100% ;
59
- border : none ;
60
- }
61
-
62
- a .source {
63
- position : fixed ;
64
- bottom : 50px ;
65
- right : 50px ;
66
- color : white ;
67
- border : 2px solid white ;
68
- padding : 5px 10px ;
69
- border-radius : 5px ;
70
- text-decoration : none ;
71
- font-family : ' Oxygen' , sans-serif ;
72
- transition : all 0.1s linear ;
73
- }
74
-
75
- a .source :hover {
76
- background : #fff ;
77
- color : #078BDA ;
78
- }
79
7
body
80
8
div.sidebar
81
9
h1 Examples
Original file line number Diff line number Diff line change 3
3
title Example
4
4
include meta.pug
5
5
block head
6
- style ( type ='text/css' ) .
7
- html , body {
8
- position : relative ;
9
- height : 100% ;
10
- }
11
-
12
- body {
13
- margin : 0 ;
14
- padding : 0 ;
15
- overflow : hidden ;
16
- }
6
+ link( rel ='stylesheet' , href ='../../assets/css/layout.css' , type ='text/css' )
17
7
body
18
8
block body
19
9
Original file line number Diff line number Diff line change
1
+ link( rel ='stylesheet' , href ='assets/css/style.css' , type ='text/css' )
You can’t perform that action at this time.
0 commit comments