domain-jekyll 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,108 @@
1
+ /* ==========================================================================
2
+ PreviousNext
3
+ ========================================================================== */
4
+ /* Previous Next Page Buttons */
5
+ .previousnext {
6
+ float: left;
7
+ margin-bottom: 1em;
8
+ padding-bottom: 1em;
9
+ width: 100%;
10
+
11
+ ul {
12
+ margin: 0;
13
+ padding: 0;
14
+ list-style-type: none;
15
+ font-family: $font-family;
16
+ }
17
+
18
+ li {
19
+ display: block;
20
+ float: left;
21
+ margin-left: -1px;
22
+
23
+ a {
24
+ display: block;
25
+ margin-bottom: 0.25em;
26
+ padding: 0.5em 1em;
27
+ font-family: $font-family;
28
+ font-size: 14px;
29
+ font-weight: bold;
30
+ line-height: 1.5;
31
+ text-align: center;
32
+ text-decoration: none;
33
+ color: $primary-text-color;
34
+ border: 1px solid mix(#000, $footer-border-color, 25%);
35
+ border-radius: 0;
36
+
37
+ &:hover {
38
+ background-color: $quaternary-bg-color;
39
+ }
40
+
41
+ &.current,
42
+ &.current.disabled {
43
+ color: #fff;
44
+ background: $button-hover-color;
45
+ }
46
+
47
+ &.disabled {
48
+ color: rgba($primary-text-color, 0.5);
49
+ pointer-events: none;
50
+ cursor: not-allowed;
51
+ }
52
+ }
53
+
54
+ &:first-child {
55
+ margin-left: 0;
56
+
57
+ a {
58
+ border-top-left-radius: 4px;
59
+ border-bottom-left-radius: 4px;
60
+ }
61
+ }
62
+
63
+ &:last-child {
64
+ a {
65
+ border-top-right-radius: 4px;
66
+ border-bottom-right-radius: 4px;
67
+ }
68
+ }
69
+ }
70
+
71
+ /* next/previous buttons */
72
+ &--pager {
73
+ display: block;
74
+ padding: 1em 2em;
75
+ float: left;
76
+ width: 50%;
77
+ font-family: $font-family;
78
+ font-size: 1em;
79
+ font-weight: bold;
80
+ text-align: center;
81
+ text-decoration: none;
82
+ color: $primary-text-color;
83
+ border: 1px solid mix(#000, $footer-border-color, 25%);
84
+ border-radius: 4px;
85
+
86
+ &:hover {
87
+ background-color: $quaternary-bg-color;
88
+ //@include yiq-contrasted($primary-text-color);
89
+ }
90
+
91
+ &:first-child {
92
+ border-top-right-radius: 0;
93
+ border-bottom-right-radius: 0;
94
+ }
95
+
96
+ &:last-child {
97
+ margin-left: -1px;
98
+ border-top-left-radius: 0;
99
+ border-bottom-left-radius: 0;
100
+ }
101
+
102
+ &.disabled {
103
+ color: rgba($primary-text-color, 0.5);
104
+ pointer-events: none;
105
+ cursor: not-allowed;
106
+ }
107
+ }
108
+ }
@@ -1,7 +1,6 @@
1
1
  /* ==========================================================================
2
2
  Search
3
3
  ========================================================================== */
4
-
5
4
  .searchbar input[type="text"] {
6
5
  position: relative;
7
6
  padding-left: 50px;
@@ -206,7 +205,6 @@
206
205
  opacity: 1;
207
206
  transition: opacity ease 400ms, width 0s, height 0s;
208
207
  }
209
-
210
208
  //Buttons
211
209
  /* Blogposts: Post-heading, Post-subheading, Post-content, Related Posts*/
212
210
  .main-site-subheader {
@@ -92,11 +92,11 @@ li .sn-right {
92
92
  width: 40%;
93
93
  text-align: left;
94
94
  }
95
+
95
96
  .popup {
96
97
  position: absolute;
97
98
  display: none;
98
99
  }
99
-
100
100
  @media screen and (max-width: 1200px) {
101
101
  .box {
102
102
  width: 100%;
@@ -0,0 +1,18 @@
1
+ /* ==========================================================================
2
+ Tables
3
+ ========================================================================== */
4
+ .table-wrapper {
5
+ display: block;
6
+ width: 100%;
7
+ max-width: 100%;
8
+ margin-bottom: 24px;
9
+ overflow-x: auto;
10
+ border-radius: 4px;
11
+ //box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
12
+ }
13
+
14
+ table {
15
+ display: table;
16
+ min-width: 100%;
17
+ border-collapse: separate;
18
+ }
@@ -1,14 +1,15 @@
1
1
  /* ==========================================================================
2
2
  Tag
3
3
  ========================================================================== */
4
-
5
4
  .tags {
6
5
  margin: 0;
7
6
  padding: 10px;
7
+
8
8
  li {
9
9
  display: inline-block;
10
10
  margin: 5px;
11
11
  list-style: none;
12
+
12
13
  a {
13
14
  text-decoration: none;
14
15
  color: $primary-text-color;
@@ -16,7 +17,8 @@
16
17
  padding: 5px 10px;
17
18
  border: 1px solid $secondary-border-color;
18
19
  background-color: $secondary-bg-color;
19
- transition: all .3s;
20
+ transition: all 0.3s;
21
+
20
22
  &:hover {
21
23
  background-color: $quaternary-bg-color;
22
24
  }
@@ -1,32 +1,32 @@
1
1
  /* ==========================================================================
2
2
  Table of Contents
3
3
  ========================================================================== */
4
- #markdown-toc::before {
5
- content: "Table of Contents";
6
- font-weight: bold;
7
- text-align: center;
8
- }
4
+ #markdown-toc::before {
5
+ content: "Table of Contents";
6
+ font-weight: bold;
7
+ text-align: center;
8
+ }
9
9
 
10
- #markdown-toc li {
11
- margin-left: 1rem;
12
- list-style: decimal;
13
- }
10
+ #markdown-toc li {
11
+ margin-left: 1rem;
12
+ list-style: decimal;
13
+ }
14
14
 
15
- #markdown-toc li * {
16
- padding-left: 3px;
17
- }
15
+ #markdown-toc li * {
16
+ padding-left: 3px;
17
+ }
18
18
 
19
- #markdown-toc {
20
- border: 1px solid #aaa;
21
- padding: 1.5em;
22
- list-style: decimal;
23
- display: inline-block;
24
- }
19
+ #markdown-toc {
20
+ border: 1px solid #aaa;
21
+ padding: 1.5em;
22
+ list-style: decimal;
23
+ display: inline-block;
24
+ }
25
25
 
26
- #markdown-toc a {
27
- text-decoration: none;
28
- }
26
+ #markdown-toc a {
27
+ text-decoration: none;
28
+ }
29
29
 
30
- #markdown-toc a:hover {
31
- text-decoration: underline;
32
- }
30
+ #markdown-toc a:hover {
31
+ text-decoration: underline;
32
+ }
@@ -1,118 +1,117 @@
1
1
  /* ==========================================================================
2
2
  Tooltip
3
3
  ========================================================================== */
4
-
5
- .tooltip {
6
- display: inline;
7
- position: relative;
8
- text-align: left;
9
- }
10
-
11
- .tooltip bottom {
12
- display: none;
13
- }
14
-
15
- .tooltip .right {
16
- min-width: 300px;
17
- top: 50%;
18
- left: 100%;
19
- margin-left: 20px;
20
- transform: translate(0, -50%);
21
- padding: 10px 20px;
22
- color: $primary-text-color;
23
- background-color: $primary-bg-color;
24
- font-weight: normal;
25
- font-size: 13px;
26
- border-radius: 8px;
27
- position: absolute;
28
- z-index: 99999999;
29
- box-sizing: border-box;
30
- box-shadow: 0 1px 8px $primary-box-shadow-color;
31
- display: none;
32
- }
33
-
34
- .tooltip:hover .right {
35
- display: block;
36
- }
37
-
38
- .tooltip .right i {
39
- position: absolute;
40
- top: 50%;
41
- right: 100%;
42
- margin-top: -12px;
43
- width: 12px;
44
- height: 24px;
45
- overflow: hidden;
46
- }
47
-
48
- .tooltip .right i::after {
49
- content: '';
50
- position: absolute;
51
- width: 12px;
52
- height: 12px;
53
- left: 0;
54
- top: 50%;
55
- transform: translate(50%,-50%) rotate(-45deg);
56
- background-color: $primary-bg-color;
57
- box-shadow: 0 1px 8px $primary-box-shadow-color;
58
- }
59
-
60
- .right .tooltip-title {
61
- font-size: 14px;
62
- font-weight: 600;
63
- display: inline-block;
64
- }
65
-
66
- .right .tooltip-excerpt {
67
- font-size: 12px;
68
- display: inline-block;
69
- }
70
-
71
- .right .tooltip-excerpt a {
72
- font-size: 12px;
73
- }
74
-
75
- input.margin-toggle {
76
- display: none;
77
- }
78
-
79
- .srs-svg {
80
- stroke: $primary-text-color;
81
- }
82
-
83
- label.sidenote-number {
84
- display: inline;
85
- }
86
-
87
- label.margin-toggle:not(.sidenote-number) {
88
- display: none;
89
- }
90
-
91
- .spaced-rep {
92
- display: none;
93
- }
94
-
95
- input.srs-toggle {
96
- display: none;
97
- }
98
-
99
- label.srs-toggle {
100
- display: inline;
101
- cursor: pointer;
102
- }
103
-
104
- .srs-toggle:checked + .spaced-rep {
105
- display: block !important;
106
- left: 1rem;
107
- clear: both;
108
- margin: 1rem 2.5%;
109
- vertical-align: baseline;
110
- position: relative;
111
- padding: 12px;
112
- width: 240px;
113
- background-color: $primary-bg-color;
114
- border: solid 1px $ternary-border-color;
115
- border-radius: 5px;
116
- box-shadow: 1px 1px 15px $secondary-box-shadow-color;
117
- word-wrap: break-word;
118
- }
4
+ .tooltip {
5
+ display: inline;
6
+ position: relative;
7
+ text-align: left;
8
+ }
9
+
10
+ .tooltip bottom {
11
+ display: none;
12
+ }
13
+
14
+ .tooltip .right {
15
+ min-width: 300px;
16
+ top: 50%;
17
+ left: 100%;
18
+ margin-left: 20px;
19
+ transform: translate(0, -50%);
20
+ padding: 10px 20px;
21
+ color: $primary-text-color;
22
+ background-color: $primary-bg-color;
23
+ font-weight: normal;
24
+ font-size: 13px;
25
+ border-radius: 8px;
26
+ position: absolute;
27
+ z-index: 99999999;
28
+ box-sizing: border-box;
29
+ box-shadow: 0 1px 8px $primary-box-shadow-color;
30
+ display: none;
31
+ }
32
+
33
+ .tooltip:hover .right {
34
+ display: block;
35
+ }
36
+
37
+ .tooltip .right i {
38
+ position: absolute;
39
+ top: 50%;
40
+ right: 100%;
41
+ margin-top: -12px;
42
+ width: 12px;
43
+ height: 24px;
44
+ overflow: hidden;
45
+ }
46
+
47
+ .tooltip .right i::after {
48
+ content: '';
49
+ position: absolute;
50
+ width: 12px;
51
+ height: 12px;
52
+ left: 0;
53
+ top: 50%;
54
+ transform: translate(50%,-50%) rotate(-45deg);
55
+ background-color: $primary-bg-color;
56
+ box-shadow: 0 1px 8px $primary-box-shadow-color;
57
+ }
58
+
59
+ .right .tooltip-title {
60
+ font-size: 14px;
61
+ font-weight: 600;
62
+ display: inline-block;
63
+ }
64
+
65
+ .right .tooltip-excerpt {
66
+ font-size: 12px;
67
+ display: inline-block;
68
+ }
69
+
70
+ .right .tooltip-excerpt a {
71
+ font-size: 12px;
72
+ }
73
+
74
+ input.margin-toggle {
75
+ display: none;
76
+ }
77
+
78
+ .srs-svg {
79
+ stroke: $primary-text-color;
80
+ }
81
+
82
+ label.sidenote-number {
83
+ display: inline;
84
+ }
85
+
86
+ label.margin-toggle:not(.sidenote-number) {
87
+ display: none;
88
+ }
89
+
90
+ .spaced-rep {
91
+ display: none;
92
+ }
93
+
94
+ input.srs-toggle {
95
+ display: none;
96
+ }
97
+
98
+ label.srs-toggle {
99
+ display: inline;
100
+ cursor: pointer;
101
+ }
102
+
103
+ .srs-toggle:checked + .spaced-rep {
104
+ display: block !important;
105
+ left: 1rem;
106
+ clear: both;
107
+ margin: 1rem 2.5%;
108
+ vertical-align: baseline;
109
+ position: relative;
110
+ padding: 12px;
111
+ width: 240px;
112
+ background-color: $primary-bg-color;
113
+ border: solid 1px $ternary-border-color;
114
+ border-radius: 5px;
115
+ box-shadow: 1px 1px 15px $secondary-box-shadow-color;
116
+ word-wrap: break-word;
117
+ }