dendron-jekyll 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/_sass/_portal.scss +114 -0
  3. data/_sass/modules.scss +8 -1
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f00384ff15c57bb496e421fef9de80d959aedb2680e185ca1a445322996b8a14
4
- data.tar.gz: 57fe80534c683952626b15e3e6e6299d7a2552be6c0c250f36d7734b26db5596
3
+ metadata.gz: 50b718e44dc5cdf5e53930a7cb2c66d099eefa9da786fc29de209fd146faaebe
4
+ data.tar.gz: 5f9dc723417684f53b3e14dd27e4f54ef523d3815e99c4e47b498f7ef6c51211
5
5
  SHA512:
6
- metadata.gz: 26680c60d9775fead95815329fbed05bbd192bfe49eca026b89d97e1d62c4c6711c68fa979908dbbd546bd9bc7faab6d90c8beeb6d3a541a5a09e63c45e8504d
7
- data.tar.gz: a2593446b2c4c171fe87a25710a598275e96ea030fa6ed7c096b72b8a9a39ff55a6c9118455f54104351d22515d2517737706b707d8445741809e211e02c45fa
6
+ metadata.gz: c7929ed0d5a653b85ad52477bf0660ed777277732deca51998c0f5bf991f7532e6051d97feba40b30bebff4d7b661c0a3cec8eddacabd8d621dbd7d349b3c4f2
7
+ data.tar.gz: 85e10666a3ad44e4feb455b0d09734e11e57c6f9fc13f160ff4c43d5dc2271d590c81eafa31d6cf9a17c6fd85e4d4d1e511aac468e1e0f42573b6e3870f494e7
@@ -0,0 +1,114 @@
1
+ // Clear normal iframe styles
2
+ iframe{
3
+ border: none;
4
+ }
5
+
6
+ // Portal styles
7
+ .portal-container{
8
+ overscroll-behavior: contain;
9
+ border: 1px solid #C2DFE3;
10
+ border-radius: 8px;
11
+ margin-bottom: 24px;
12
+ padding: 10px;
13
+
14
+ -webkit-transition: all .20s ease;
15
+ -moz-transition: all .20s ease;
16
+ -ms-transition: all .20s ease;
17
+ -o-transition: all .20s ease;
18
+ transition: all .20s ease;
19
+
20
+ &:hover{
21
+ transform: translateY(-3px);
22
+ box-shadow: 0px 6px 20px 0px rgba(0,0,0,.15);
23
+ border: 1px solid #9DB8BF;
24
+ }
25
+
26
+ .portal-head{
27
+ border-bottom: 1px solid #C2DFE3;
28
+ padding: 12px;
29
+
30
+ .portal-backlink{
31
+ display: flex;
32
+ flex-direction: column;
33
+
34
+ -webkit-transition: all .20s ease;
35
+ -moz-transition: all .20s ease;
36
+ -ms-transition: all .20s ease;
37
+ -o-transition: all .20s ease;
38
+ transition: all .20s ease;
39
+ // @include align-items($align: left);
40
+
41
+ @media(min-width:600px){
42
+ flex-direction: row;
43
+ justify-content: space-between;
44
+ align-items: center;
45
+ }
46
+ .portal-title{
47
+ font-size: 14px;
48
+ color: #9DB8BF;
49
+ .portal-text-title{
50
+ font-weight:700;
51
+ color: #5C6D73;
52
+ }
53
+ }
54
+ .portal-arrow{
55
+ font-size: 14px;
56
+ color: #9DB8BF;
57
+ &:hover{
58
+ opacity:.5;
59
+ }
60
+ }
61
+ }
62
+ }
63
+
64
+ .portal-iframe{
65
+ overflow:hidden;
66
+ }
67
+ .portal-parent{
68
+ overflow:hidden;
69
+ position: relative;
70
+ width:100%;
71
+ box-sizing: border-box;
72
+ .portal-parent-fader-top{
73
+ position: absolute;
74
+ width: 100%;
75
+ margin-left: 0px;
76
+ height: 36px;
77
+ // background-image: linear-gradient(rgba(255,255,255,1), rgba(255,255,255,0));
78
+ z-index: 50;
79
+ }
80
+ .portal-parent-fader-bottom{
81
+ position: absolute;
82
+ width: 100%;
83
+ bottom: 6px;
84
+ margin-left: 0px;
85
+ height: 36px;
86
+ // background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
87
+ z-index: 50;
88
+ }
89
+ .portal-parent-text{
90
+ padding:$base-line-height / 2;
91
+ color: #5C6D73;
92
+ z-index: 40;
93
+ }
94
+ .portal-iframe{
95
+ width:100%;
96
+ height:400px;
97
+ }
98
+ }
99
+ }
100
+
101
+ // Things that happen in the iframe have to be applied to the whole site,
102
+ // as you can't use css on iframe contents – not a major issue for the time being,
103
+ // considering you have to own the site you're transcluding.
104
+ // Make sure your theme's anchor text styling explicitly hits a:link and not all a tags to avoid
105
+ // making quoted text look like a link.
106
+ .portal-quote-text {
107
+ background-color: #C2DFE3;
108
+ color: lighten($text-color, 15%);
109
+
110
+ // This fixes hovers behaving wrong on safari when using an <a> tag to highlight
111
+ &:hover {
112
+ text-decoration: none;
113
+ }
114
+ }
@@ -19,7 +19,14 @@
19
19
  @import "./utilities/utilities";
20
20
  @import "./print";
21
21
 
22
+ // Portal Start
23
+ $base-line-height: 1.5 !default;
24
+ $spacing-unit: 30px !default;
25
+ $text-color: #111 !default;
26
+ // Portal end
27
+
22
28
  @import "minimal-mistakes/variables";
23
29
  @import "minimal-mistakes/vendor/breakpoint/breakpoint";
24
30
  @import "minimal-mistakes/mixins";
25
- @import "minimal-mistakes/sidebar";
31
+ @import "minimal-mistakes/sidebar";
32
+ @import "portal.scss";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dendron-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Lin
@@ -109,6 +109,7 @@ files:
109
109
  - _layouts/single.html
110
110
  - _layouts/table_wrappers.html
111
111
  - _layouts/vendor/compress.html
112
+ - _sass/_portal.scss
112
113
  - _sass/base.scss
113
114
  - _sass/buttons.scss
114
115
  - _sass/code.scss