-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathminima.scss
95 lines (76 loc) · 1.83 KB
/
minima.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
@charset "utf-8";
// Define defaults for each variable.
$base-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$base-font-size: 16px !default;
$base-font-weight: 400 !default;
$small-font-size: $base-font-size * 0.875 !default;
$base-line-height: 1.5 !default;
$spacing-unit: 30px !default;
$text-color: #111 !default;
$background-color: #fdfdfd !default;
$brand-color: #2373db !default;
$grey-color: #757575 !default;
$grey-color-light: lighten($grey-color, 40%) !default;
$grey-color-dark: darken($grey-color, 25%) !default;
$table-text-align: left !default;
// Width of the content area
$content-width: 800px !default;
$on-palm: 600px !default;
$on-laptop: 800px !default;
// Header logo
.site-title {
float: none !important;
}
.site-logo {
display:block;
margin:auto;
padding: 0.5em;
}
.site-nav {
float: none !important;
text-align: center;
}
// Use media queries like this:
// @include media-query($on-palm) {
// .wrapper {
// padding-right: $spacing-unit / 2;
// padding-left: $spacing-unit / 2;
// }
// }
@mixin media-query($device) {
@media screen and (max-width: $device) {
@content;
}
}
@mixin relative-font-size($ratio) {
font-size: $base-font-size * $ratio;
}
// Import partials.
@import
"minima/base",
"minima/layout",
"minima/syntax-highlighting"
;
// Custom
// Piped List
.piped-list {
position: relative;
overflow: hidden;
}
.piped-list ul {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
margin: 1em;
}
.piped-list ul li {
list-style: none;
margin: .25em 0;
padding: 0;
text-align: center;
}
.piped-list li + li::before {
content: "|";
margin: 0 .5em;
}