Skip to content

Commit b148bc4

Browse files
committed
Merge #9 commits into /docs
1 parent 4b915b4 commit b148bc4

File tree

6 files changed

+34
-35
lines changed

6 files changed

+34
-35
lines changed

docs/_sass/basically-basic/_global.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
}
2121

2222
a {
23+
display: -ms-flexbox;
2324
display: flex;
25+
-ms-flex-align: center;
2426
align-items: center;
2527
min-height: $site-image-height;
2628
color: $text-color;

docs/_sass/basically-basic/_layout.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@
33
========================================================================== */
44

55
.wrapper {
6+
width: 100%;
67
min-height: 100vh;
78
transition: $global-transition;
9+
box-shadow: -1em 0 5em 0 rgba(0, 0, 0, 0.125);
10+
11+
@include breakpoint($medium) {
12+
position: relative;
13+
z-index: 200;
14+
}
815
}
916

1017
.intro,
@@ -64,17 +71,21 @@ main {
6471
.layout--about {
6572

6673
.entry-wrap {
74+
display: -ms-flexbox;
6775
display: flex;
76+
-ms-flex-wrap: wrap;
6877
flex-wrap: wrap;
6978

7079
@include breakpoint($medium) {
80+
-ms-flex-wrap: nowrap;
7181
flex-wrap: nowrap;
7282
}
7383
}
7484

7585
.entry-content {
7686

7787
@include breakpoint($medium) {
88+
-ms-flex: 1;
7889
flex: 1;
7990
}
8091
}

docs/_sass/basically-basic/_navigation.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@
2121

2222
ul {
2323
@include list-unstyled;
24+
display: -ms-flexbox;
2425
display: flex;
2526

2627
> li {
28+
-ms-flex: 1;
2729
flex: 1;
2830
justify-content: space-between;
2931
-ms-flex-pack: justify;

docs/_sass/basically-basic/_sidebar.scss

Lines changed: 14 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,14 @@
88
left: 0;
99
width: 100%;
1010
height: 100%;
11-
overflow: hidden;
1211
z-index: 150;
13-
pointer-events: none;
14-
15-
/* page overlay dimmer */
16-
&::after {
17-
display: block;
18-
position: absolute;
19-
top: 0;
20-
left: 0;
21-
width: 100%;
22-
height: 100%;
23-
transition: opacity 0.3s cubic-bezier(0, 0, 0.3, 1);
24-
background: rgba($base-color, 0.5);
25-
content: '';
26-
opacity: 0;
27-
pointer-events: none;
28-
will-change: opacity;
12+
13+
@include breakpoint($sidebar-width) {
14+
width: $sidebar-width;
15+
}
16+
17+
@include breakpoint($large) {
18+
width: (1.5 * $sidebar-width);
2919
}
3020

3121
li {
@@ -68,14 +58,8 @@
6858
&.is--visible {
6959
transform: translateX(0);
7060

71-
&::after {
72-
opacity: 1;
73-
pointer-events: auto;
74-
}
75-
7661
> .inner {
7762
transform: none;
78-
box-shadow: 0 1em 5em 0 rgba(0, 0, 0, 0.125);
7963
}
8064

8165
&.is--animatable > .inner {
@@ -95,16 +79,18 @@
9579
padding: 1.5em;
9680
transform: translateX(-1 * $sidebar-width);
9781
background-color: $sidebar-background-color;
98-
box-shadow: none;
9982
z-index: 160;
10083
will-change: transform;
10184
overflow-x: hidden;
102-
pointer-events: auto;
10385

10486
@include breakpoint($medium) {
10587
padding: 3rem;
10688
}
10789

90+
@include breakpoint(max-width $medium) {
91+
box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.125);
92+
}
93+
10894
@include breakpoint($large) {
10995
max-width: (1.5 * $sidebar-width);
11096
transform: translateX(-1.5 * $sidebar-width);
@@ -163,14 +149,17 @@
163149
z-index: 10000;
164150

165151
.toggle {
152+
display: -ms-flexbox;
166153
display: flex;
154+
-ms-flex-align: center;
167155
align-items: center;
168156
color: inherit;
169157
text-decoration: none;
170158
}
171159
}
172160

173161
.sidebar-toggle-label {
162+
-ms-flex-order: 2;
174163
order: 2;
175164
margin-left: 0.5rem;
176165
font-weight: bold;

docs/_sass/basically-basic/_tables.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,6 @@ table {
1212
word-break: keep-all;
1313
}
1414

15-
thead {
16-
17-
th,
18-
td {
19-
background-color: tint($base-color, 80%);
20-
}
21-
}
22-
2315
th,
2416
td {
2517
border-bottom: 1px solid $border-color;

docs/_sass/basically-basic/utilities/_align.scss

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,15 @@ a img.align-left {
5353
========================================================================== */
5454

5555
.is--pushed {
56+
@include clearfix();
5657

5758
@include breakpoint($medium) {
58-
padding-left: $sidebar-width;
59+
width: calc(100% - #{$sidebar-width});
60+
transform: translateX(1 * $sidebar-width);
5961
}
6062

6163
@include breakpoint($large) {
62-
padding-left: (1.5 * $sidebar-width);
64+
width: calc(100% - (1.5 * #{$sidebar-width}));
65+
transform: translateX(1.5 * $sidebar-width);
6366
}
6467
}

0 commit comments

Comments
 (0)