Skip to content

Commit ae06499

Browse files
committed
Update page style
1 parent 6b3b6c2 commit ae06499

32 files changed

+6634
-6930
lines changed

docs/assets/css/main.css

Lines changed: 3704 additions & 3923 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/css/noscript.css

Lines changed: 24 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/sass/base/_page.scss

Lines changed: 56 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,58 @@
1-
///
2-
/// Solid State by HTML5 UP
3-
/// html5up.net | @ajlkn
4-
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
5-
///
6-
71
/* Basic */
82

9-
// MSIE: Required for IEMobile.
10-
@-ms-viewport {
11-
width: device-width;
12-
}
13-
14-
// MSIE: Prevents scrollbar from overlapping content.
15-
body {
16-
-ms-overflow-style: scrollbar;
17-
}
18-
19-
// Ensures page width is always >=320px.
20-
@include breakpoint('<=xsmall') {
21-
html, body {
22-
min-width: 320px;
23-
}
24-
}
25-
26-
// Set box model to border-box.
27-
// Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
28-
html {
29-
box-sizing: border-box;
30-
}
31-
32-
*, *:before, *:after {
33-
box-sizing: inherit;
34-
}
35-
36-
body {
37-
background-color:_palette(bg);
38-
39-
background-image:linear-gradient(to top, transparentize(_palette(bg), 0.2), transparentize(_palette(bg), 0.2)),
40-
url('../../images/bg.jpg');
41-
42-
background-size:auto,
43-
cover;
44-
45-
background-attachment:fixed,
46-
fixed;
47-
48-
background-position:center,
49-
center;
50-
51-
// Stops initial animations until page loads.
52-
&.is-preload {
53-
*, *:before, *:after {
54-
@include vendor('animation', 'none !important');
55-
@include vendor('transition', 'none !important');
56-
}
57-
}
58-
59-
}
3+
// MSIE: Required for IEMobile.
4+
@-ms-viewport {
5+
width: device-width;
6+
}
7+
8+
// MSIE: Prevents scrollbar from overlapping content.
9+
body {
10+
-ms-overflow-style: scrollbar;
11+
}
12+
13+
// Ensures page width is always >=320px.
14+
@include breakpoint("<=xsmall") {
15+
html,
16+
body {
17+
min-width: 320px;
18+
}
19+
}
20+
21+
// Set box model to border-box.
22+
// Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice
23+
html {
24+
box-sizing: border-box;
25+
}
26+
27+
*,
28+
*:before,
29+
*:after {
30+
box-sizing: inherit;
31+
}
32+
33+
body {
34+
background-color: _palette(bg);
35+
36+
background-image: linear-gradient(
37+
to top,
38+
transparentize(_palette(bg), $bg-transparent),
39+
transparentize(_palette(bg), $bg-transparent)
40+
),
41+
url("../../images/bg.png");
42+
43+
background-size: auto, cover;
44+
45+
background-attachment: fixed, fixed;
46+
47+
background-position: center, center;
48+
49+
// Stops initial animations until page loads.
50+
&.is-preload {
51+
*,
52+
*:before,
53+
*:after {
54+
@include vendor("animation", "none !important");
55+
@include vendor("transition", "none !important");
56+
}
57+
}
58+
}

0 commit comments

Comments
 (0)