forked from intsystems/intsystems.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_page.scss
126 lines (106 loc) · 1.99 KB
/
_page.scss
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.container {
width: 100%;
padding: 0px;
}
.content {
padding: 10px;
margin-left: auto;
margin-right: auto;
text-align: justify;
min-height: 100vh;
}
.sidebar-left {
display: flex;
overflow-y: scroll;
background-color: $bg-sidecar;
}
@media (min-width: $lt-width) {
.container {
width: $lt-width;
}
.content {
margin-left: calc(#{$page-margin}*100%);
width: calc(#{$lt-width} * 0.7);
}
.sidebar-left {
position: fixed;
top: 50px;
bottom: 0px;
width: calc(#{$lt-width} * #{$page-margin});
}
}
@media (min-width: $lt-width) {
.container {
width: 100%;
}
.content {
margin-left: calc(#{$page-margin}*100%);
width: 70%;
}
.sidebar-left {
position: fixed;
top: 50px;
bottom: 0px;
width: calc(#{$page-margin}*100%);
}
}
@media (min-width: $xl-width) {
.container {
width: $lg-width;
}
.content {
margin-left: calc(#{$page-margin}*100%);
width: calc(#{$lg-width} * 0.7);
}
.sidebar-left {
position: fixed;
top: 50px;
bottom: 0px;
width: calc(#{$lg-width} * #{$page-margin});
}
}
@media (min-width: $qhd-width) {
.container {
width: $xl-width;
}
.content {
margin-left: calc(#{$page-margin}*100%);
width: calc(#{$xl-width} * 0.7);
}
.sidebar-left {
position: fixed;
top: 50px;
bottom: 0px;
width: calc(#{$xl-width} * #{$page-margin});
}
}
@media (min-width: $wqhd-width) {
.container {
width: $qhd-width;
}
.content {
margin-left: calc(#{$page-margin}*100%);
width: calc(#{$qhd-width} * 0.7);
}
.sidebar-left {
position: fixed;
top: 50px;
bottom: 0px;
width: calc(#{$qhd-width} * #{$page-margin});
}
}
@media (min-width: $uhd-width) {
.container {
width: $wqhd-width;
}
.content {
margin-left: calc(#{$page-margin}*100%);
width: calc(#{$wqhd-width} * 0.7);
}
.sidebar-left {
position: fixed;
top: 50px;
bottom: 0px;
width: calc(#{$wqhd-width} * #{$page-margin});
}
}