jekyll-theme-console 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fecf643a50603af45c8b4bf22982b26e2317737bfce1804f3d6f6bb65795e8ed
4
- data.tar.gz: fd9455a80c6826e0fa14dac817a79d3ac9f0339b51ae0dddbbc1fe04c2a25c78
3
+ metadata.gz: 626c641a794f0694e5ae1558d25f64c74a9c592e917105c96a017b92be9e47fe
4
+ data.tar.gz: e5fb363f9d3a5e3aa2281e821e4acbcdc8c46d369c0216ccb277d5289589db6b
5
5
  SHA512:
6
- metadata.gz: 61d37f9b041659362ee512af1c45714e5059d6b5ee0e3f62504922314e5d8594d79a08e83e17eff63a4ea6e51caa3d80f27d53575adb19cb55073b4290600670
7
- data.tar.gz: 54824a5d51ed3f65c9cef60a8af21bcd25e2d4bda77ceb7410a514bcde07c1b5ab209f2f17dee42238e46688a51bd926f49e372c5a24b564d4c55f1d0aa775e5
6
+ metadata.gz: 190165ac0a812fe9d118cca35db235725bee2fafab717cd24ad8ae54bf58b6e0f2e77b9e8af1247d5c81126756cbfe3694cf018efef953dc3f474cf402f6c821
7
+ data.tar.gz: 8eb57ec2898fd691981142c7df6a0b21c233e628ca4a2cb7e13c63a02803dad136f1d2fc6a4e147d3348b1030e45c36999f7de6662c9613cc66d053c3d5f9e12
data/_includes/head.html CHANGED
@@ -1,7 +1,8 @@
1
1
  <head>
2
2
  <meta charset="utf-8">
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, shrink-to-fit=no" />
5
+
5
6
 
6
7
  {%- seo -%}
7
8
 
@@ -6,11 +6,17 @@
6
6
  */
7
7
  $base-font-family: 'Source Code Pro', monospace !default;
8
8
  $base-font-size: 12.5px !default;
9
+ $mobile-font-size: 12px !default;
9
10
  $base-line-height: 1.5 !default;
10
- $text-color: #fff !default;
11
- $link-color: #fff !default;
12
- $background-color: #000 !default;
11
+ $base-color: #DBDBDB !default;
13
12
  $primary-color: #a1fc8f !default;
13
+ $text-color: $base-color !default;
14
+ $placeholder-color: $base-color !default;
15
+ $link-color: $base-color !default;
16
+ $border: dashed 1px rgba(219,219,219,0.9) !default;
17
+ $selection-background: rgba(219,219,219,0.99) !default;
18
+ $selection-text: #000 !default;
19
+ $background-color: #000 !default;
14
20
  $container-width: 90% !default;
15
21
  $container-max-width: 600px !default;
16
22
 
@@ -18,26 +24,34 @@ $container-max-width: 600px !default;
18
24
  * Global
19
25
  */
20
26
  body { background-color: $background-color; margin: 0 auto; padding: 0; font-family: $base-font-family; font-size: $base-font-size; color: $text-color; text-align: left; line-height: $base-line-height !important; }
21
- h1, h2, h3, h4, h5, h6 { font-size: $base-font-size; margin: 0px; margin-top: 25px; font-weight: bold; color: $text-color; }
27
+ h1, h2, h3, h4, h5, h6 { font-size: $base-font-size; margin: 0px; margin-top: 22px; font-weight: bold; color: $text-color; }
22
28
  p, ul, ol { margin: 0px; color: $text-color; }
23
29
  a { text-decoration: underline; color: $link-color; }
24
- a:hover { color: #000; background-color: #fff; }
30
+ a:hover { color: $background-color; background-color: $base-color; }
25
31
  .primary-text { color: $primary-color; }
32
+ @media only screen and (max-device-width: 500px) { * { font-size: $mobile-font-size !important; } }
33
+ /*h1:before { content: "#"; margin-right: 9px; }
34
+ h2:before { content: "##"; margin-right: 9px; }
35
+ h3:before { content: "###"; margin-right: 9px; }
36
+ h4:before { content: "####"; margin-right: 9px; }
37
+ h5:before { content: "#####"; margin-right: 9px; }
38
+ h6:before { content: "######"; margin-right: 9px; }*/
26
39
 
27
40
  /**
28
41
  * Layout
29
42
  */
30
43
  .container { width: $container-width; max-width: $container-max-width; margin-right: auto; margin-left: auto; }
31
44
  p { word-wrap: break-word; word-break: break-word; white-space: pre-wrap; }
32
- footer { color: #fff; border-top: dashed 1px rgba(255,255,255,0.8); margin: 20px auto 15px; padding-top: 10px; text-align: right; }
33
- header { margin-top: 25px; margin-bottom: 10px; color: rgba(161,252,143,1); }
34
- header p { text-align: left; margin: 0; color: rgba(255,255,255,1); }
45
+ footer { color: $text-color; border-top: $border; margin: 20px auto 15px; padding-top: 10px; text-align: right; }
46
+ header { margin-top: 25px; margin-bottom: 10px; }
47
+ header p { text-align: left; margin: 0; }
48
+ footer { margin-bottom: 20px; }
35
49
 
36
50
  /**
37
51
  * Highlight/Markup
38
52
  */
39
- ::selection { background: rgba(255,255,255,0.99); color: #000; }
40
- ::-moz-selection { background: rgba(255,255,255,0.99); color: #000; }
53
+ ::selection { background: $selection-background; color: $selection-text; }
54
+ ::-moz-selection { background: $selection-background; color: $selection-text; }
41
55
 
42
56
  /**
43
57
  * Lists
@@ -49,16 +63,27 @@ header p { text-align: left; margin: 0; color: rgba(255,255,255,1); }
49
63
  /**
50
64
  * Header/Navigation
51
65
  */
52
- .menu { border-top: 1px dashed rgba(255,255,255,0.8); border-bottom: 1px dashed rgba(255,255,255,0.8); margin-bottom: 25px; }
66
+ .menu { border-top: $border; border-bottom: $border; margin-bottom: 25px; }
53
67
  .menu ul { margin-top: 12px; margin-bottom: 12px; padding-left: 0px; list-style-type: none; text-align: right; }
54
68
  .menu ul li { display: inline; margin-left: 10px; }
55
- .menu ul li a { text-decoration: none; color: #fff; }
56
- .menu ul li a:hover { text-decoration: none; color: #000; background-color: #fff; }
69
+ .menu ul li a { text-decoration: none; color: $text-color; }
70
+ .menu ul li a:hover { text-decoration: none; color: $background-color; background-color: $base-color; }
71
+
72
+ /**
73
+ * Form
74
+ */
75
+ input[type=text], select, textarea { width: 100%; border: none; box-sizing: border-box; resize: none; background-color: $background-color; color: $text-color; font-size: $base-font-size; font-family: $base-font-family; line-height: $base-line-height; }
76
+ ::placeholder { color: $placeholder-color; opacity: 1; }
77
+ :-ms-input-placeholder { color: $placeholder-color; }
78
+ ::-ms-input-placeholder { color: $placeholder-color; }
79
+ input[type=submit] { border: none; font-size: $base-font-size; font-family: $base-font-family; line-height: $base-line-height; cursor: pointer; text-decoration: underline; color: $link-color; background-color: $background-color; padding: 0; }
80
+ input[type=submit]:hover { color: $background-color; background-color: $base-color; }
81
+ *:focus { outline: none; }
57
82
 
58
83
  /**
59
84
  * Code and syntax highlighting
60
85
  */
61
- pre { background-color: rgba(255,255,255,0); border: none; padding: 0px; overflow:auto; font-size: $base-font-size; color: rgba(255,255,255,0.65); line-height: 1.7 !important; }
86
+ pre { background-color: $background-color; border: none; padding: 0px; overflow:auto; font-size: $base-font-size; color: rgba(255,255,255,0.65); line-height: 1.7 !important; }
62
87
  .highlight .c { color: #999988; font-style: italic } /* Comment */
63
88
  .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
64
89
  .highlight .k { font-weight: bold } /* Keyword */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-console
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - b2a3e8
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-13 00:00:00.000000000 Z
11
+ date: 2018-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll