forked from jgthms/marksheet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpages.scss
More file actions
103 lines (96 loc) · 2.34 KB
/
Copy pathpages.scss
File metadata and controls
103 lines (96 loc) · 2.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// Index
.route-index{
.main{
section{ position: relative;}
.heading{ text-align: center;}
}
@include on($laptop) {
.icon{ display: none;}
.main{ @include align-items(center); @include display(flex); @include flex-direction(column); @include justify-content(center); min-height: 100vh; padding: 2rem 4rem 4rem;
section{ max-width: 86rem; width: 100%;}
}
}
}
// Sections
.section-web{
.table-of-contents a{ color: $web;}
.content{
a{ color: $web;
&:visited{ color: $visited;}
}
h3 a:visited{ color: $web;}
}
.pagination a{ background: $web;}
}
.section-html{
.table-of-contents a{ color: $html5;}
.content{
a{ color: $html5;
&:visited{ color: $visited;}
}
h3 a:visited{ color: $html5;}
}
.pagination a{ background: $html5;}
}
.section-sass{
.table-of-contents a{ color: $sass;}
.content{
a{ color: $sass;
&:visited{ color: $visited;}
}
h3 a:visited{ color: $sass;}
}
.pagination a{ background: $sass;}
}
// Chapters
.route-chapter{ background: $blue;
.toggle{
&:before,
&:after,
span{ background: rgba(black, 0.2);}
}
.logo{ display: none;}
.heading{ max-width: 50%;
h1{ color: rgba(black, 0.4);
strong{ color: rgba(black, 0.7);}
}
h2{ color: white; text-shadow: 0 1px 2px rgba(black, 0.1);
strong{ color: white;}
}
}
.content{ color: rgba(white, 0.7); font-size: 1.2rem; text-shadow: 0 1px 2px rgba(black, 0.1);
strong{ color: white; font-weight: 400;}
}
.pagination a{ background: white; color: $blue;
&:hover{ background: white; color: $blue;}
}
.navigation a{
&:hover{ background: $black;}
&:before,
&:after{ background: rgba(black, 0.2);}
}
.footer{ display: none;}
&.section-web{ background: $web;
.pagination a{ color: $web;
&:hover{ color: $web;}
}
}
&.section-html{ background: $html5;
.pagination a{ color: $html5;
&:hover{ color: $html5;}
}
}
&.section-sass{ background: $sass;
.pagination a{ color: $sass;
&:hover{ color: $sass;}
}
}
@include on($laptop) {
.main{ @include display(flex); @include flex-direction(column); @include justify-content(center); padding: 4rem 6rem 6rem;
.heading h1{ left: 6rem; position: fixed; top: 2rem;}
.content{ max-width: 50%;
p{ max-width: none;}
}
}
}
}