intia-theme 0.1.39 → 0.1.40

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/_sass/_layout.scss +189 -0
  3. data/_sass/_main.scss +0 -188
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a62af7302e711e850d45ed182cbe270a45ff26e4db0995a2d9aca8c546ffe6ac
4
- data.tar.gz: c392b5f1befad45bc2a4d0f01f0be94ad7a3da2a89ce6f5453be3326efecb3fd
3
+ metadata.gz: 789e4e94cf052a9ba874513d34c395b0579d49cd5cc9b753e22e2cd32ed51a97
4
+ data.tar.gz: 3d379b8228ad69c4219be294d6353fabc568a190a954698f58d7be4ca8394729
5
5
  SHA512:
6
- metadata.gz: 185e1294e7ca96f18d6b993588842d4793694034b9979b2b1c21358068c94feed23969310f12d3714c036b60fee43dd12a494a323966f6b95967c734cc3216a6
7
- data.tar.gz: cdd80d1ba0a8c8ab412f4ad8114116dfad693cac1d520b2621651e12e16e61cb83eaaf97f44ec15f1c120dc1f9926aeb6b3858201b73ab3af7918e043346284d
6
+ metadata.gz: 2389fbba428167ed402ee84fd723bdcd030869317c7b52225f24b39d91f5e8829a061d1d46d951810988a3b9275452ec925d8f34fd4e65ba7615171c0804fe82
7
+ data.tar.gz: 43aa5166aa4341c7957291fbc1cb5d9d38f5977e1dde47e80c678cd27e343638a1763355036d6f026617a6938f56a11f9f463fd4c550e4073afda724134130c6
data/_sass/_layout.scss CHANGED
@@ -1,3 +1,192 @@
1
+ //$navbar-box-shadow-color: transparent;
2
+ // Bulma
3
+ @import "../node_modules/bulma/bulma.sass";
4
+ // Extensions
5
+ @import "../node_modules/bulma-block-list/src/block-list.scss";
6
+ @import "../node_modules/@creativebulma/bulma-tooltip/src/sass/index.sass";
7
+ // Bulma Config
8
+ $column-gap: 1rem;
9
+ $modal-content-width: 800px;
10
+ $tabs-link-active-color: $primary;
11
+ $tabs-link-active-border-bottom-color: $primary;
12
+ // Global
13
+ html {
14
+ scroll-behavior: smooth;
15
+ }
16
+ body {
17
+ font-size: 1.5rem;
18
+ line-height: 2.25rem;
19
+ }
20
+
21
+ h1,
22
+ h2,
23
+ h3,
24
+ p {
25
+ padding-bottom: 30px;
26
+ }
27
+ h1,
28
+ h2 {
29
+ padding-top: 90px;
30
+ }
31
+
32
+ .card h1,
33
+ .card h2,
34
+ .card p,
35
+ .slider h1,
36
+ .slider h2,
37
+ .slider p {
38
+ padding-top: 0;
39
+ padding-bottom: 0;
40
+ }
41
+
42
+ h1,
43
+ h1 p {
44
+ font-size: 48px;
45
+ line-height: 72px;
46
+ font-weight: 600;
47
+ text-align: center;
48
+ }
49
+
50
+ .green h1,
51
+ .green h1 p {
52
+ text-align: left;
53
+ }
54
+
55
+ h2,
56
+ h2 p {
57
+ font-size: 36px;
58
+ font-weight: 600;
59
+ text-align: left;
60
+ background-repeat: no-repeat;
61
+ background-size: auto 35px;
62
+ font-family: "Verdana", sans-serif;
63
+ }
64
+
65
+ h3 {
66
+ font-weight: 600;
67
+ font-size: 1.7rem;
68
+ padding-top: 50px;
69
+ }
70
+
71
+ h4 {
72
+ font-size: 1rem;
73
+ }
74
+
75
+ h5 {
76
+ font-size: 0.83rem;
77
+ }
78
+ ul {
79
+ list-style-type: disc;
80
+ padding-left: 1em;
81
+ }
82
+ // Button Animation + Gleiche Breite
83
+ .button {
84
+ // Schrifft
85
+ font-size: 1.31rem !important;
86
+ font-weight: 600;
87
+ // Animation
88
+ transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
89
+ transition-property: background-color, transform;
90
+ transition-duration: 0.3s;
91
+ -webkit-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
92
+ -webkit-transition-property: background-color, transform;
93
+ -webkit-transition-duration: 0.3s;
94
+ -o-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
95
+ -o-transition-property: background-color, transform;
96
+ -o-transition-duration: 0.3s;
97
+ -moz-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
98
+ -moz-transition-property: background-color, transform;
99
+ -moz-transition-duration: 0.3s;
100
+ }
101
+
102
+ .button a,
103
+ .button span {
104
+ // Schrifft
105
+ font-size: 16px !important;
106
+ font-weight: 600;
107
+ }
108
+
109
+ .navbar-menu .button,
110
+ .navbar-dropdown .button {
111
+ // Buttongröße aus Figma
112
+ width: 180px;
113
+ height: 47px;
114
+ }
115
+
116
+ // z.B. "Mehr über Intia" Button
117
+ .button.is-dark:hover,
118
+ .button.is-dark.is-hovered {
119
+ border-width: 1px;
120
+ background-color: $dark;
121
+ border-color: transparent;
122
+ color: white;
123
+ }
124
+ @include desktop {
125
+ .navbar-menu .button.is-dark:hover.has-dropdown,
126
+ .navbar-menu .button.is-dark.is-hovered.has-dropdown {
127
+ background-color: $primary-dark;
128
+ }
129
+ }
130
+ .is-active-header {
131
+ background-color: $dark !important;
132
+ }
133
+ @include mobile {
134
+ .is-active-header {
135
+ background-color: transparent !important;
136
+ }
137
+ }
138
+ // Dropdownmenüelemente
139
+ .navbar-dropdown,
140
+ .navbar-item:focus,
141
+ .navbar-dropdown a.navbar-item:focus,
142
+ .navbar-dropdown a.navbar-item:hover {
143
+ background-color: $dark;
144
+ border-width: 2px;
145
+ color: white;
146
+ }
147
+ .navbar.is-primary .navbar-start .navbar-item:hover .navbar-link::after,
148
+ .navbar.is-primary .navbar-end .navbar-item:hover .navbar-link::after {
149
+ transform: rotate(135deg);
150
+ margin-top: 0;
151
+ }
152
+
153
+ // Dropdownmenühintergrund und Rand
154
+ .navbar-dropdown {
155
+ border-top: transparent;
156
+ background-color: transparent;
157
+ }
158
+
159
+ // Navbar Padding
160
+ .navbar-end.buttons {
161
+ padding-left: 0px;
162
+ padding-top: 15px;
163
+ font-weight: bold;
164
+ }
165
+ // Logo Padding
166
+ .navbar-item {
167
+ //padding-top: 21px;
168
+ }
169
+ .navbar-dropdown {
170
+ display: none;
171
+ }
172
+ .button.is-dark.has-dropdown:hover .navbar-dropdown,
173
+ .button.is-dark.is-hovered.has-dropdown .navbar-dropdown {
174
+ display: block;
175
+ }
176
+
177
+ .footer {
178
+ background-color: $primary-dark;
179
+ color: white;
180
+ }
181
+
182
+ .link {
183
+ color: $primary;
184
+ }
185
+
186
+ .footer .link {
187
+ color: white;
188
+ }
189
+
1
190
  .is-outlined {
2
191
  border-width: 2px;
3
192
  border-color: $primary-dark;
data/_sass/_main.scss CHANGED
@@ -11,194 +11,6 @@ $title-color: #000 !default;
11
11
  $light: #e7f2ea;
12
12
  $primary-dark: #1e7d73;
13
13
  $dark: #09443e;
14
- //$navbar-box-shadow-color: transparent;
15
- // Bulma
16
- @import "../node_modules/bulma/bulma.sass";
17
- // Extensions
18
- @import "../node_modules/bulma-block-list/src/block-list.scss";
19
- @import "../node_modules/@creativebulma/bulma-tooltip/src/sass/index.sass";
20
- // Bulma Config
21
- $column-gap: 1rem;
22
- $modal-content-width: 800px;
23
- $tabs-link-active-color: $primary;
24
- $tabs-link-active-border-bottom-color: $primary;
25
- // Global
26
- html {
27
- scroll-behavior: smooth;
28
- }
29
- body {
30
- font-size: 1.5rem;
31
- line-height: 2.25rem;
32
- }
33
-
34
- h1,
35
- h2,
36
- h3,
37
- p {
38
- padding-bottom: 30px;
39
- }
40
- h1,
41
- h2 {
42
- padding-top: 90px;
43
- }
44
-
45
- .card h1,
46
- .card h2,
47
- .card p,
48
- .slider h1,
49
- .slider h2,
50
- .slider p {
51
- padding-top: 0;
52
- padding-bottom: 0;
53
- }
54
-
55
- h1,
56
- h1 p {
57
- font-size: 48px;
58
- line-height: 72px;
59
- font-weight: 600;
60
- text-align: center;
61
- }
62
-
63
- .green h1,
64
- .green h1 p {
65
- text-align: left;
66
- }
67
-
68
- h2,
69
- h2 p {
70
- font-size: 36px;
71
- font-weight: 600;
72
- text-align: left;
73
- background-repeat: no-repeat;
74
- background-size: auto 35px;
75
- font-family: "Verdana", sans-serif;
76
- }
77
-
78
- h3 {
79
- font-weight: 600;
80
- font-size: 1.7rem;
81
- padding-top: 50px;
82
- }
83
-
84
- h4 {
85
- font-size: 1rem;
86
- }
87
-
88
- h5 {
89
- font-size: 0.83rem;
90
- }
91
- ul {
92
- list-style-type: disc;
93
- padding-left: 1em;
94
- }
95
- // Button Animation + Gleiche Breite
96
- .button {
97
- // Schrifft
98
- font-size: 1.31rem !important;
99
- font-weight: 600;
100
- // Animation
101
- transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
102
- transition-property: background-color, transform;
103
- transition-duration: 0.3s;
104
- -webkit-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
105
- -webkit-transition-property: background-color, transform;
106
- -webkit-transition-duration: 0.3s;
107
- -o-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
108
- -o-transition-property: background-color, transform;
109
- -o-transition-duration: 0.3s;
110
- -moz-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
111
- -moz-transition-property: background-color, transform;
112
- -moz-transition-duration: 0.3s;
113
- }
114
-
115
- .button a,
116
- .button span {
117
- // Schrifft
118
- font-size: 16px !important;
119
- font-weight: 600;
120
- }
121
-
122
- .navbar-menu .button,
123
- .navbar-dropdown .button {
124
- // Buttongröße aus Figma
125
- width: 180px;
126
- height: 47px;
127
- }
128
-
129
- // z.B. "Mehr über Intia" Button
130
- .button.is-dark:hover,
131
- .button.is-dark.is-hovered {
132
- border-width: 1px;
133
- background-color: $dark;
134
- border-color: transparent;
135
- color: white;
136
- }
137
- @include desktop {
138
- .navbar-menu .button.is-dark:hover.has-dropdown,
139
- .navbar-menu .button.is-dark.is-hovered.has-dropdown {
140
- background-color: $primary-dark;
141
- }
142
- }
143
- .is-active-header {
144
- background-color: $dark !important;
145
- }
146
- @include mobile {
147
- .is-active-header {
148
- background-color: transparent !important;
149
- }
150
- }
151
- // Dropdownmenüelemente
152
- .navbar-dropdown,
153
- .navbar-item:focus,
154
- .navbar-dropdown a.navbar-item:focus,
155
- .navbar-dropdown a.navbar-item:hover {
156
- background-color: $dark;
157
- border-width: 2px;
158
- color: white;
159
- }
160
- .navbar.is-primary .navbar-start .navbar-item:hover .navbar-link::after,
161
- .navbar.is-primary .navbar-end .navbar-item:hover .navbar-link::after {
162
- transform: rotate(135deg);
163
- margin-top: 0;
164
- }
165
-
166
- // Dropdownmenühintergrund und Rand
167
- .navbar-dropdown {
168
- border-top: transparent;
169
- background-color: transparent;
170
- }
171
-
172
- // Navbar Padding
173
- .navbar-end.buttons {
174
- padding-left: 0px;
175
- padding-top: 15px;
176
- font-weight: bold;
177
- }
178
- // Logo Padding
179
- .navbar-item {
180
- //padding-top: 21px;
181
- }
182
- .navbar-dropdown {
183
- display: none;
184
- }
185
- .button.is-dark.has-dropdown:hover .navbar-dropdown,
186
- .button.is-dark.is-hovered.has-dropdown .navbar-dropdown {
187
- display: block;
188
- }
189
-
190
- .footer {
191
- background-color: $primary-dark;
192
- color: white;
193
- }
194
-
195
- .link {
196
- color: $primary;
197
- }
198
-
199
- .footer .link {
200
- color: white;
201
- }
202
14
 
203
15
  // Specific styles
204
16
  @import "layout";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intia-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.39
4
+ version: 0.1.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Schmidt