sal_savile_spike 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/core/_sal_savile_spike.scss +2 -0
- data/core/sal_savile_spike/base.scss +156 -0
- data/core/sal_savile_spike/code-samples.scss +42 -0
- data/core/sal_savile_spike/content.scss +57 -0
- data/core/sal_savile_spike/expander.scss +34 -0
- data/core/sal_savile_spike/fonts.scss +36 -0
- data/core/sal_savile_spike/home-page.scss +133 -0
- data/core/sal_savile_spike/outlines.scss +40 -0
- data/core/sal_savile_spike/search.scss +117 -0
- data/core/sal_savile_spike/sidebar.scss +88 -0
- data/core/sal_savile_spike/syntax.scss +85 -0
- data/core/sal_savile_spike/terminal.scss +124 -0
- data/core/sal_savile_spike/variables.scss +25 -0
- data/lib/sal_savile_spike/version.rb +1 -1
- metadata +13 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0bbf29cbb1905f04214bdaaa859107a8d9420fdae81e7ee4fb725fc4c8964207
|
4
|
+
data.tar.gz: f421e710d8542d2e82600ed0a5e2d7dba14cab934524ef2d0e68f11afd684fd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bef6e6e6ec8cfd1df0946bd56c81d8743e737a4629b5ddc9f0bb1e0b7074f3348aa3bc2515a2bc9b1a2ec434d1c8e7b6022ec344ef2668531dfe04d83c65f427
|
7
|
+
data.tar.gz: cd72055d174386238b834c6624d9b5955c4a2770c7ee5d6f58bd0a62607d722026d73499920276f90b5615feb8df314d0b702748279319a7f303a1cb8e84da13
|
data/Gemfile.lock
CHANGED
data/core/_sal_savile_spike.scss
CHANGED
@@ -0,0 +1,156 @@
|
|
1
|
+
/* Base */
|
2
|
+
|
3
|
+
html, body {
|
4
|
+
box-sizing: border-box;
|
5
|
+
width: 100%;
|
6
|
+
height: 100%;
|
7
|
+
margin: 0;
|
8
|
+
font-family: 'Open Sans', sans-serif;
|
9
|
+
}
|
10
|
+
|
11
|
+
*, *:before, *:after {
|
12
|
+
box-sizing: inherit;
|
13
|
+
}
|
14
|
+
|
15
|
+
p {
|
16
|
+
line-height: 1.6em;
|
17
|
+
}
|
18
|
+
|
19
|
+
.uppercase {
|
20
|
+
text-transform: uppercase;
|
21
|
+
}
|
22
|
+
|
23
|
+
blockquote p {
|
24
|
+
font-size: 1em;
|
25
|
+
}
|
26
|
+
|
27
|
+
li {
|
28
|
+
line-height: 2em;
|
29
|
+
}
|
30
|
+
|
31
|
+
li.task-list-item {
|
32
|
+
list-style-type: none;
|
33
|
+
text-indent: -1.5em;
|
34
|
+
|
35
|
+
input {
|
36
|
+
margin-right: 7px;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
strong {
|
41
|
+
font-weight: 600;
|
42
|
+
}
|
43
|
+
|
44
|
+
img {
|
45
|
+
max-width: 100%;
|
46
|
+
}
|
47
|
+
|
48
|
+
a {
|
49
|
+
border-bottom: 2px solid lighten($medium-gray, 20);
|
50
|
+
color: darken($turing-primary, 30);
|
51
|
+
text-decoration: none;
|
52
|
+
transition: all 0.3s;
|
53
|
+
|
54
|
+
&:hover {
|
55
|
+
border-color: $dark-gray;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
iframe {
|
60
|
+
border: 1px solid $medium-gray;
|
61
|
+
margin-bottom: 1em;
|
62
|
+
}
|
63
|
+
|
64
|
+
blockquote {
|
65
|
+
margin-bottom: 1em;
|
66
|
+
padding-left: 1em;
|
67
|
+
border-left: 5px solid lighten($medium-gray, 20);
|
68
|
+
p {
|
69
|
+
font-family: Georgia, serif;
|
70
|
+
font-size: 2em;
|
71
|
+
margin-bottom: 0.5em;
|
72
|
+
}
|
73
|
+
footer {
|
74
|
+
border: none;
|
75
|
+
margin-top: 0;
|
76
|
+
padding-top: 0;
|
77
|
+
text-align: right;
|
78
|
+
font-size: 1.5em;
|
79
|
+
font-style: italic;
|
80
|
+
&::before {
|
81
|
+
content: '— '
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
footer {
|
87
|
+
background-color: $background-secondary;
|
88
|
+
color: $dark-gray;
|
89
|
+
padding: 15px 10px;
|
90
|
+
text-align: center;
|
91
|
+
|
92
|
+
p {
|
93
|
+
margin: 5px auto;
|
94
|
+
|
95
|
+
@media (max-width: $phone-width) {
|
96
|
+
font-size: 0.8em;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
/* Layout */
|
102
|
+
|
103
|
+
.container {
|
104
|
+
min-height: 100vh;
|
105
|
+
}
|
106
|
+
|
107
|
+
.hide {
|
108
|
+
display: none;
|
109
|
+
}
|
110
|
+
|
111
|
+
/* Header */
|
112
|
+
|
113
|
+
|
114
|
+
header {
|
115
|
+
margin-bottom: 2em;
|
116
|
+
|
117
|
+
& > h1 {
|
118
|
+
font-weight: 400;
|
119
|
+
line-height: 1.2em;
|
120
|
+
|
121
|
+
& > small {
|
122
|
+
display: block;
|
123
|
+
font-weight: 300;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
.responsive-iframe-container {
|
129
|
+
.tablet {
|
130
|
+
@media (min-width: $tablet-width) {
|
131
|
+
display: none;
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
iframe {
|
137
|
+
height: 400px;
|
138
|
+
@media (max-width: $phone-width) {
|
139
|
+
width: 250px;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
.desktop {
|
145
|
+
display: block;
|
146
|
+
|
147
|
+
iframe {
|
148
|
+
width: 800px;
|
149
|
+
height: 400px;
|
150
|
+
}
|
151
|
+
|
152
|
+
@media (max-width: $tablet-width) {
|
153
|
+
display: none;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/* Code Samples */
|
2
|
+
|
3
|
+
pre {
|
4
|
+
overflow-x: scroll;
|
5
|
+
}
|
6
|
+
|
7
|
+
.try-it {
|
8
|
+
background-color: lighten($teal, 50);
|
9
|
+
border: 1px solid $teal;
|
10
|
+
padding: 1em;
|
11
|
+
pre {
|
12
|
+
border: 1px solid black;
|
13
|
+
background-color: rgb(50, 50, 50);
|
14
|
+
color: white;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
.highlighter-rouge {
|
19
|
+
max-width: 100%;
|
20
|
+
pre {
|
21
|
+
white-space: pre-wrap;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.try-it-section {
|
26
|
+
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
|
27
|
+
border-top: 8px solid $teal;
|
28
|
+
margin-bottom: 40px;
|
29
|
+
padding: 0.25em 1.5em;
|
30
|
+
|
31
|
+
pre {
|
32
|
+
border: 1px solid black;
|
33
|
+
background-color: rgb(50, 50, 50);
|
34
|
+
color: white;
|
35
|
+
}
|
36
|
+
|
37
|
+
}
|
38
|
+
|
39
|
+
.try-it-code {
|
40
|
+
background-color: #fff;
|
41
|
+
color: $teal;
|
42
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/* Content */
|
2
|
+
|
3
|
+
.content {
|
4
|
+
padding: 2em 3em;
|
5
|
+
margin: auto;
|
6
|
+
max-width: 1200px;
|
7
|
+
|
8
|
+
h1, h2, h3, h4, h5, h6 {
|
9
|
+
&:first-child {
|
10
|
+
margin-top: 1em;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
.small {
|
16
|
+
width: 40%;
|
17
|
+
margin: 15px 10px;
|
18
|
+
}
|
19
|
+
|
20
|
+
.medium {
|
21
|
+
width: 50%;
|
22
|
+
margin: 15px 10px;
|
23
|
+
}
|
24
|
+
|
25
|
+
.medium-large {
|
26
|
+
width: 70%;
|
27
|
+
margin: 20px 10px;
|
28
|
+
display: block;
|
29
|
+
}
|
30
|
+
|
31
|
+
%call-to-action-shared {
|
32
|
+
margin-top: 30px;
|
33
|
+
box-shadow: 0 2px 8px 0 rgba(0,0,0,0.15);
|
34
|
+
margin-bottom: 40px;
|
35
|
+
padding: 5px 30px;
|
36
|
+
}
|
37
|
+
|
38
|
+
.call-to-action {
|
39
|
+
@extend %call-to-action-shared;
|
40
|
+
border-left: 8px solid lighten($turing-secondary, 25%);
|
41
|
+
}
|
42
|
+
|
43
|
+
.checks-for-understanding {
|
44
|
+
@extend %call-to-action-shared;
|
45
|
+
border-left: 8px solid lighten($turing-secondary, 25%);
|
46
|
+
background-color: lighten($turing-primary, 40%);
|
47
|
+
}
|
48
|
+
|
49
|
+
.note {
|
50
|
+
@extend %call-to-action-shared;
|
51
|
+
border-left: 8px solid lighten($back-end-secondary, 25%);
|
52
|
+
background-color: lighten($back-end-primary, 40%);
|
53
|
+
}
|
54
|
+
|
55
|
+
.google-form {
|
56
|
+
border: none;
|
57
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
/* Content expand and collapse */
|
2
|
+
|
3
|
+
.expander-btn {
|
4
|
+
background-color: inherit;
|
5
|
+
border: none;
|
6
|
+
color: $dark-gray;
|
7
|
+
outline: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
.expander-btn:hover {
|
11
|
+
color: $medium-gray;
|
12
|
+
}
|
13
|
+
|
14
|
+
.expander-content {
|
15
|
+
background-color: #FAFAFA;
|
16
|
+
overflow: auto;
|
17
|
+
padding-bottom: 20px;
|
18
|
+
}
|
19
|
+
|
20
|
+
.arrow-right {
|
21
|
+
transform: rotate(0deg);
|
22
|
+
transition: transform 0.25s linear;
|
23
|
+
height: 20px;
|
24
|
+
width: 20px;
|
25
|
+
}
|
26
|
+
|
27
|
+
.arrow-right.down {
|
28
|
+
transform: rotate(90deg);
|
29
|
+
transition: transform 0.25s linear;
|
30
|
+
}
|
31
|
+
|
32
|
+
.expander-btn h4 {
|
33
|
+
margin: 10px 0;
|
34
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
$heavy-copy: 'Helvetica Neue Heavy';
|
2
|
+
$bold-copy: 'Helvetica Neue Bold';
|
3
|
+
$standard-copy: 'Helvetica Neue';
|
4
|
+
$light-copy: 'Helvetica Neue Light';
|
5
|
+
$serif-light-copy: 'Roboto Slab Light';
|
6
|
+
$serif-regular-copy: 'Roboto Slab Regular';
|
7
|
+
|
8
|
+
@font-face {
|
9
|
+
font-family: 'Helvetica Neue Heavy';
|
10
|
+
src: url('../assets/fonts/HelveticaNeueLTStd-Hv.otf');
|
11
|
+
}
|
12
|
+
|
13
|
+
@font-face {
|
14
|
+
font-family: 'Helvetica Neue Bold';
|
15
|
+
src: url('../assets/fonts/HelveticaNeueLTStd-Bd.otf');
|
16
|
+
}
|
17
|
+
|
18
|
+
@font-face {
|
19
|
+
font-family: 'Helvetica Neue Standard';
|
20
|
+
src: url('../assets/fonts/HelveticaNeueLTStd-Lt.otf');
|
21
|
+
}
|
22
|
+
|
23
|
+
@font-face {
|
24
|
+
font-family: 'Helvetica Neue Light';
|
25
|
+
src: url('../assets/fonts/HelveticaNeueLTStd-Th.otf');
|
26
|
+
}
|
27
|
+
|
28
|
+
@font-face {
|
29
|
+
font-family: 'Roboto Slab Light';
|
30
|
+
src: url('../assets/fonts/RobotoSlab-Light.ttf');
|
31
|
+
}
|
32
|
+
|
33
|
+
@font-face {
|
34
|
+
font-family: 'Roboto Slab Regular';
|
35
|
+
src: url('../assets/fonts/RobotoSlab-Light.ttf');
|
36
|
+
}
|
@@ -0,0 +1,133 @@
|
|
1
|
+
.splash {
|
2
|
+
background: url('/assets/images/home-page-splash.jpg') 100%;
|
3
|
+
background-size: cover;
|
4
|
+
border-bottom: 8px solid $back-end-primary;
|
5
|
+
height: 525px;
|
6
|
+
display: flex;
|
7
|
+
align-items: center;
|
8
|
+
position: relative;
|
9
|
+
|
10
|
+
&:after {
|
11
|
+
background-color: rgba(0,0,0,0.4);
|
12
|
+
content: '';
|
13
|
+
position: absolute;
|
14
|
+
top: 0;
|
15
|
+
bottom: 0;
|
16
|
+
left: 0;
|
17
|
+
right: 0;
|
18
|
+
z-index: 1;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.splash-text {
|
23
|
+
color: #FFF;
|
24
|
+
margin: auto 0;
|
25
|
+
max-width: 700px;
|
26
|
+
z-index: 2;
|
27
|
+
|
28
|
+
h1 {
|
29
|
+
font-family: 'Helvetica Neue Heavy', sans-serif;
|
30
|
+
font-size: 7em;
|
31
|
+
margin: 0px 0px 0px 80px;
|
32
|
+
line-height: 1em;
|
33
|
+
letter-spacing: -5px;
|
34
|
+
}
|
35
|
+
|
36
|
+
p {
|
37
|
+
font-family: 'Helvetica Neue', sans-serif;
|
38
|
+
font-size: 1.1em;
|
39
|
+
margin: 0px 0px 0px 80px;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
.resources-section {
|
44
|
+
text-align: center;
|
45
|
+
padding-bottom: 70px;
|
46
|
+
|
47
|
+
h2 {
|
48
|
+
font-family: 'Helvetica Neue Heavy', sans-serif;
|
49
|
+
font-size: 4em;
|
50
|
+
letter-spacing: -2px;
|
51
|
+
margin: 0;
|
52
|
+
padding: 60px 0 20px;
|
53
|
+
}
|
54
|
+
|
55
|
+
img {
|
56
|
+
margin: 5px;
|
57
|
+
width: 300px;
|
58
|
+
}
|
59
|
+
|
60
|
+
p {
|
61
|
+
margin: 0 auto 25px;
|
62
|
+
max-width: 800px;
|
63
|
+
padding: 0 15px;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.section-light {
|
68
|
+
background-color: $background-secondary;
|
69
|
+
|
70
|
+
h2, p {
|
71
|
+
color: $dark-gray;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
.section-dark {
|
76
|
+
background-color: $background-tertiary;
|
77
|
+
|
78
|
+
h2 {
|
79
|
+
color: $light-gray;
|
80
|
+
}
|
81
|
+
|
82
|
+
p, a {
|
83
|
+
color: $medium-gray;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
@media (max-width: $tablet-width) {
|
88
|
+
.splash {
|
89
|
+
height: 350px;
|
90
|
+
}
|
91
|
+
|
92
|
+
.splash-text h1 {
|
93
|
+
font-size: 5em;
|
94
|
+
margin-left: 50px;
|
95
|
+
letter-spacing: -4px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.splash-text p {
|
99
|
+
font-size: 1em;
|
100
|
+
margin: 0px 0px 0px 50px;
|
101
|
+
}
|
102
|
+
|
103
|
+
.resources-section {
|
104
|
+
img {
|
105
|
+
margin: 10px;
|
106
|
+
width: 250px;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
@media (max-width: $phone-width) {
|
112
|
+
.splash {
|
113
|
+
height: 275px;
|
114
|
+
}
|
115
|
+
|
116
|
+
.splash-text h1 {
|
117
|
+
font-size: 3.5em;
|
118
|
+
margin-left: 15px;
|
119
|
+
letter-spacing: -3px;
|
120
|
+
}
|
121
|
+
|
122
|
+
.splash-text p {
|
123
|
+
font-size: 0.9em;
|
124
|
+
margin: 0px 0px 0px 15px;
|
125
|
+
}
|
126
|
+
|
127
|
+
.resources-section {
|
128
|
+
img {
|
129
|
+
margin: 5px;
|
130
|
+
width: 200px;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
/* Daily Outlines */
|
2
|
+
|
3
|
+
.outlines {
|
4
|
+
display: flex;
|
5
|
+
flex-wrap: wrap;
|
6
|
+
|
7
|
+
a {
|
8
|
+
border-bottom: none;
|
9
|
+
background-color: lighten($light-gray, 10);
|
10
|
+
border: 1px solid $light-gray;
|
11
|
+
margin-right: 1em;
|
12
|
+
margin-bottom: 1em;
|
13
|
+
padding: 1em;
|
14
|
+
|
15
|
+
&:hover {
|
16
|
+
background-color: $light-gray;
|
17
|
+
border-color: $medium-gray;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.outlines ul {
|
23
|
+
padding-left: 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
ul.outlines a {
|
27
|
+
width: 18%;
|
28
|
+
text-align: center;
|
29
|
+
@media screen and (max-width: $phone-width) {
|
30
|
+
width: 90%;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.outline {
|
35
|
+
display: block;
|
36
|
+
|
37
|
+
list-style: none;
|
38
|
+
margin-left: 0;
|
39
|
+
margin-bottom: 0;
|
40
|
+
}
|
@@ -0,0 +1,117 @@
|
|
1
|
+
.search-bar {
|
2
|
+
display: flex;
|
3
|
+
}
|
4
|
+
|
5
|
+
.search-bar label {
|
6
|
+
display: flex;
|
7
|
+
align-items: center;
|
8
|
+
}
|
9
|
+
|
10
|
+
.search-icon {
|
11
|
+
height: 25px;
|
12
|
+
width: auto;
|
13
|
+
}
|
14
|
+
|
15
|
+
.search-bar input {
|
16
|
+
font-weight: 500;
|
17
|
+
outline-color: lighten($turing-secondary, 25%);
|
18
|
+
padding-left: 0.5em;
|
19
|
+
margin-left: 5px;
|
20
|
+
position: relative;
|
21
|
+
border: 1px solid $medium-gray;
|
22
|
+
width: 200px;
|
23
|
+
|
24
|
+
&::placeholder {
|
25
|
+
color: $medium-gray;
|
26
|
+
}
|
27
|
+
|
28
|
+
@media (max-width: $tablet-width) {
|
29
|
+
width: 150px;
|
30
|
+
}
|
31
|
+
|
32
|
+
@media (max-width: $phone-width) {
|
33
|
+
margin-top: 5px;
|
34
|
+
width: 200px;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.clear-search {
|
39
|
+
position: absolute;
|
40
|
+
right: 55px;
|
41
|
+
top: 45px;
|
42
|
+
border: none;
|
43
|
+
background: none;
|
44
|
+
outline: none;
|
45
|
+
margin: 0;
|
46
|
+
padding: 0;
|
47
|
+
box-shadow: none;
|
48
|
+
font-size: 1em;
|
49
|
+
|
50
|
+
&:hover {
|
51
|
+
cursor: pointer;
|
52
|
+
box-shadow: none;
|
53
|
+
}
|
54
|
+
|
55
|
+
img {
|
56
|
+
z-index: 100;
|
57
|
+
height: 15px;
|
58
|
+
width: 15px;
|
59
|
+
}
|
60
|
+
|
61
|
+
@media (max-width: $tablet-width) {
|
62
|
+
right: 35px;
|
63
|
+
top: 33px;
|
64
|
+
}
|
65
|
+
|
66
|
+
@media (max-width: $phone-width) {
|
67
|
+
right: 25px;
|
68
|
+
top: 170px;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.search-results-container {
|
73
|
+
background-color: #F8F8F8;
|
74
|
+
border: 1px solid #BBB;
|
75
|
+
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
|
76
|
+
position: absolute;
|
77
|
+
top: 12%;
|
78
|
+
left: 5%;
|
79
|
+
z-index: 100;
|
80
|
+
width: 85%;
|
81
|
+
padding: 0 10px;
|
82
|
+
margin-bottom: 30px;
|
83
|
+
|
84
|
+
ul {
|
85
|
+
list-style-type: none;
|
86
|
+
padding-left: 10px;
|
87
|
+
}
|
88
|
+
|
89
|
+
img {
|
90
|
+
height: 15px;
|
91
|
+
width: 15px;
|
92
|
+
position: absolute;
|
93
|
+
top: 10px;
|
94
|
+
right: 10px;
|
95
|
+
|
96
|
+
&:hover {
|
97
|
+
cursor: pointer;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
@media (max-width: $phone-width) {
|
102
|
+
top: 200px;
|
103
|
+
width: 90%;
|
104
|
+
left: 10px;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
.result p {
|
109
|
+
font-size: 0.85em;
|
110
|
+
color: #5D5D5D;
|
111
|
+
margin: 5px auto 15px auto;
|
112
|
+
}
|
113
|
+
|
114
|
+
.search-highlight {
|
115
|
+
background-color: #DDD;
|
116
|
+
color: #222;
|
117
|
+
}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
/* NavBar */
|
2
|
+
|
3
|
+
nav {
|
4
|
+
border-bottom: 2px solid $light-gray;
|
5
|
+
font-family: $standard-copy;
|
6
|
+
font-weight: 700;
|
7
|
+
}
|
8
|
+
|
9
|
+
.nav-links {
|
10
|
+
display: grid;
|
11
|
+
grid-template-columns: auto 100px 100px 100px 100px 215px;
|
12
|
+
grid-template-rows: 120px;
|
13
|
+
align-items: center;
|
14
|
+
justify-items: center;
|
15
|
+
grid-gap: 0 10px;
|
16
|
+
|
17
|
+
list-style: none;
|
18
|
+
margin: 0 50px;
|
19
|
+
padding-left: 0;
|
20
|
+
|
21
|
+
li:first-child {
|
22
|
+
justify-self: left;
|
23
|
+
margin: 5px 0;
|
24
|
+
}
|
25
|
+
|
26
|
+
a {
|
27
|
+
color: $dark-gray;
|
28
|
+
border-bottom: 3px solid transparent;
|
29
|
+
transition: border-color 0.3s;
|
30
|
+
}
|
31
|
+
|
32
|
+
li:not(:first-child) {
|
33
|
+
// Hover border does not apply to logo
|
34
|
+
a:hover {
|
35
|
+
border-bottom: 3px solid lighten($turing-secondary, 25%);;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
.home-logo-link img {
|
40
|
+
display: block;
|
41
|
+
height: 80px;
|
42
|
+
width: 80px;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.nav-links a.active-link {
|
47
|
+
// This border does not get applied to logo
|
48
|
+
// because of code in active-links.js file
|
49
|
+
border-bottom: 3px solid lighten($turing-secondary, 25%);
|
50
|
+
}
|
51
|
+
|
52
|
+
@media (max-width: $tablet-width) {
|
53
|
+
.nav-links {
|
54
|
+
margin: 0 35px;
|
55
|
+
font-size: 0.9rem;
|
56
|
+
grid-template-columns: auto 80px 80px 80px 80px 150px;
|
57
|
+
grid-template-rows: 90px;
|
58
|
+
|
59
|
+
.home-logo-link img {
|
60
|
+
height: 55px;
|
61
|
+
width: 55px;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
@media (max-width: $phone-width) {
|
67
|
+
.nav-links {
|
68
|
+
margin: 15px;
|
69
|
+
font-size: 1rem;
|
70
|
+
grid-template-columns: auto 200px;
|
71
|
+
grid-template-rows: 35px 35px 35px 35px 55px;
|
72
|
+
justify-items: right;
|
73
|
+
|
74
|
+
li {
|
75
|
+
grid-column: 2;
|
76
|
+
}
|
77
|
+
|
78
|
+
li:first-child {
|
79
|
+
grid-column: 1;
|
80
|
+
grid-row: 1 / 5;
|
81
|
+
}
|
82
|
+
|
83
|
+
.home-logo-link img {
|
84
|
+
height: 70px;
|
85
|
+
width: 70px;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
code {
|
2
|
+
font-family: monospace;
|
3
|
+
font-size: 1.2em;
|
4
|
+
padding: 3px;
|
5
|
+
background-color: #f4f4f4;
|
6
|
+
}
|
7
|
+
|
8
|
+
pre {
|
9
|
+
border: 1px solid #d6d6d6;
|
10
|
+
|
11
|
+
padding: 0.5rem 0.8rem;
|
12
|
+
margin-bottom: 1.5rem;
|
13
|
+
|
14
|
+
font-family: monospace;
|
15
|
+
font-size: 1rem;
|
16
|
+
|
17
|
+
line-height: 1.5rem;
|
18
|
+
overflow: auto;
|
19
|
+
}
|
20
|
+
|
21
|
+
.highlight .hll { background-color: #d6d6d6 }
|
22
|
+
.highlight { background: #f4f4f4; color: #4d4d4c } /*bjm 8-15-16*/
|
23
|
+
.highlight .c { color: #8e908c } /* Comment */
|
24
|
+
.highlight .err { color: #c82829 } /* Error */
|
25
|
+
.highlight .k { color: #8959a8 } /* Keyword */
|
26
|
+
.highlight .l { color: #f5871f } /* Literal */
|
27
|
+
.highlight .n { color: #4d4d4c } /* Name */
|
28
|
+
.highlight .o { color: #3e999f } /* Operator */
|
29
|
+
.highlight .p { color: #4d4d4c } /* Punctuation */
|
30
|
+
.highlight .cm { color: #8e908c } /* Comment.Multiline */
|
31
|
+
.highlight .cp { color: #8e908c } /* Comment.Preproc */
|
32
|
+
.highlight .c1 { color: #8e908c } /* Comment.Single */
|
33
|
+
.highlight .cs { color: #8e908c } /* Comment.Special */
|
34
|
+
.highlight .gd { color: #c82829 } /* Generic.Deleted */
|
35
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
36
|
+
.highlight .gh { color: #4d4d4c; font-weight: bold } /* Generic.Heading */
|
37
|
+
.highlight .gi { color: #718c00 } /* Generic.Inserted */
|
38
|
+
.highlight .gp { color: #8e908c; font-weight: bold } /* Generic.Prompt */
|
39
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
40
|
+
.highlight .gu { color: #3e999f; font-weight: bold } /* Generic.Subheading */
|
41
|
+
.highlight .kc { color: #8959a8 } /* Keyword.Constant */
|
42
|
+
.highlight .kd { color: #8959a8 } /* Keyword.Declaration */
|
43
|
+
.highlight .kn { color: #3e999f } /* Keyword.Namespace */
|
44
|
+
.highlight .kp { color: #8959a8 } /* Keyword.Pseudo */
|
45
|
+
.highlight .kr { color: #8959a8 } /* Keyword.Reserved */
|
46
|
+
.highlight .kt { color: #eab700 } /* Keyword.Type */
|
47
|
+
.highlight .ld { color: #718c00 } /* Literal.Date */
|
48
|
+
.highlight .m { color: #f5871f } /* Literal.Number */
|
49
|
+
.highlight .s { color: #718c00 } /* Literal.String */
|
50
|
+
.highlight .na { color: #4271ae } /* Name.Attribute */
|
51
|
+
.highlight .nb { color: #4d4d4c } /* Name.Builtin */
|
52
|
+
.highlight .nc { color: #eab700 } /* Name.Class */
|
53
|
+
.highlight .no { color: #c82829 } /* Name.Constant */
|
54
|
+
.highlight .nd { color: #3e999f } /* Name.Decorator */
|
55
|
+
.highlight .ni { color: #4d4d4c } /* Name.Entity */
|
56
|
+
.highlight .ne { color: #c82829 } /* Name.Exception */
|
57
|
+
.highlight .nf { color: #4271ae } /* Name.Function */
|
58
|
+
.highlight .nl { color: #4d4d4c } /* Name.Label */
|
59
|
+
.highlight .nn { color: #eab700 } /* Name.Namespace */
|
60
|
+
.highlight .nx { color: #4271ae } /* Name.Other */
|
61
|
+
.highlight .py { color: #4d4d4c } /* Name.Property */
|
62
|
+
.highlight .nt { color: #3e999f } /* Name.Tag */
|
63
|
+
.highlight .nv { color: #c82829 } /* Name.Variable */
|
64
|
+
.highlight .ow { color: #3e999f } /* Operator.Word */
|
65
|
+
.highlight .w { color: #4d4d4c } /* Text.Whitespace */
|
66
|
+
.highlight .mf { color: #f5871f } /* Literal.Number.Float */
|
67
|
+
.highlight .mh { color: #f5871f } /* Literal.Number.Hex */
|
68
|
+
.highlight .mi { color: #f5871f } /* Literal.Number.Integer */
|
69
|
+
.highlight .mo { color: #f5871f } /* Literal.Number.Oct */
|
70
|
+
.highlight .sb { color: #718c00 } /* Literal.String.Backtick */
|
71
|
+
.highlight .sc { color: #4d4d4c } /* Literal.String.Char */
|
72
|
+
.highlight .sd { color: #8e908c } /* Literal.String.Doc */
|
73
|
+
.highlight .s2 { color: #718c00 } /* Literal.String.Double */
|
74
|
+
.highlight .se { color: #f5871f } /* Literal.String.Escape */
|
75
|
+
.highlight .sh { color: #718c00 } /* Literal.String.Heredoc */
|
76
|
+
.highlight .si { color: #f5871f } /* Literal.String.Interpol */
|
77
|
+
.highlight .sx { color: #718c00 } /* Literal.String.Other */
|
78
|
+
.highlight .sr { color: #718c00 } /* Literal.String.Regex */
|
79
|
+
.highlight .s1 { color: #718c00 } /* Literal.String.Single */
|
80
|
+
.highlight .ss { color: #718c00 } /* Literal.String.Symbol */
|
81
|
+
.highlight .bp { color: #4d4d4c } /* Name.Builtin.Pseudo */
|
82
|
+
.highlight .vc { color: #c82829 } /* Name.Variable.Class */
|
83
|
+
.highlight .vg { color: #c82829 } /* Name.Variable.Global */
|
84
|
+
.highlight .vi { color: #c82829 } /* Name.Variable.Instance */
|
85
|
+
.highlight .il { color: #f5871f } /* Literal.Number.Integer.Long */
|
@@ -0,0 +1,124 @@
|
|
1
|
+
/*-----------------------------------------------------------------------------------*/
|
2
|
+
/* Window
|
3
|
+
/*-----------------------------------------------------------------------------------*/
|
4
|
+
|
5
|
+
.window {
|
6
|
+
margin: 0px auto 30px auto;
|
7
|
+
background: #EDEDED;
|
8
|
+
border-radius: 5px;
|
9
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 22px 50px 0px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.2);
|
10
|
+
text-align: left;
|
11
|
+
z-index: 0;
|
12
|
+
visibility: hidden;
|
13
|
+
opacity: 0;
|
14
|
+
visibility: visible;
|
15
|
+
opacity: 1;
|
16
|
+
|
17
|
+
.terminal-container {
|
18
|
+
border-radius: 5px;
|
19
|
+
}
|
20
|
+
|
21
|
+
h1.titleInside {
|
22
|
+
margin: 0px;
|
23
|
+
position: relative;
|
24
|
+
z-index: 2;
|
25
|
+
color: #3c3c3c;
|
26
|
+
font-size: 13px;
|
27
|
+
line-height: 21px;
|
28
|
+
text-decoration: none;
|
29
|
+
text-shadow: 0 1px 1px #e7e7e7;
|
30
|
+
text-align: center;
|
31
|
+
text-transform: capitalize;
|
32
|
+
font-weight: normal;
|
33
|
+
}
|
34
|
+
|
35
|
+
nav.control-window {
|
36
|
+
float: left;
|
37
|
+
padding: 2px 0px 0px 10px;
|
38
|
+
left: 5px;
|
39
|
+
top: 3px;
|
40
|
+
z-index: 10;
|
41
|
+
height: 19px;
|
42
|
+
a {
|
43
|
+
display: inline-block;
|
44
|
+
margin: 2px 3px 3px 1px;
|
45
|
+
width: 12px;
|
46
|
+
height: 12px;
|
47
|
+
border-radius: 100%;
|
48
|
+
text-indent: -9999px;
|
49
|
+
position: relative;
|
50
|
+
border: none;
|
51
|
+
box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
|
52
|
+
&.close {
|
53
|
+
background: #FB5149;
|
54
|
+
}
|
55
|
+
&.minimize {
|
56
|
+
background: #FFB429;
|
57
|
+
}
|
58
|
+
&.maximize {
|
59
|
+
background: #24C238;
|
60
|
+
}
|
61
|
+
&.deactivate {
|
62
|
+
background: #b5b5b5;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
/*-----------------------------------------------------------------------------------*/
|
69
|
+
/* Terminal Console Layout
|
70
|
+
/*-----------------------------------------------------------------------------------*/
|
71
|
+
|
72
|
+
div.terminal {
|
73
|
+
background: #333;
|
74
|
+
color: #DDD;
|
75
|
+
white-space: pre-line;
|
76
|
+
border-bottom-left-radius: 5px;
|
77
|
+
border-bottom-right-radius: 5px;
|
78
|
+
width: 100%;
|
79
|
+
table {
|
80
|
+
margin-left: 10px;
|
81
|
+
margin-right: 10px;
|
82
|
+
box-shadow: none;
|
83
|
+
}
|
84
|
+
tr {
|
85
|
+
padding: 0;
|
86
|
+
}
|
87
|
+
td {
|
88
|
+
vertical-align: top;
|
89
|
+
border: none;
|
90
|
+
padding: 0;
|
91
|
+
}
|
92
|
+
pre {
|
93
|
+
background: none;
|
94
|
+
border: none;
|
95
|
+
margin-top: 0.5em;
|
96
|
+
padding-left: 0px;
|
97
|
+
padding-top: 0px;
|
98
|
+
box-shadow: none;
|
99
|
+
-webkit-box-shadow: none;
|
100
|
+
overflow-x: auto;
|
101
|
+
span {
|
102
|
+
display: block;
|
103
|
+
}
|
104
|
+
&.line-numbers span {
|
105
|
+
display: inline;
|
106
|
+
color: #586e75;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
overflow-x: auto;
|
110
|
+
overflow-y: hidden;
|
111
|
+
span {
|
112
|
+
&.command {
|
113
|
+
color: #FFF;
|
114
|
+
}
|
115
|
+
&.output {
|
116
|
+
color: #BBB;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
code {
|
120
|
+
background-color: transparent;
|
121
|
+
display: inline;
|
122
|
+
padding: 0;
|
123
|
+
}
|
124
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
$turing-primary: #12F1FC;
|
2
|
+
$turing-secondary: #036575;
|
3
|
+
$front-end-primary: #F9AE06;
|
4
|
+
$front-end-secondary: #965D0B;
|
5
|
+
$back-end-primary: #EF3852;
|
6
|
+
$back-end-secondary: #9B0428;
|
7
|
+
|
8
|
+
$teal: #05c2d1;
|
9
|
+
$dark-gray: #3c4040;
|
10
|
+
$medium-gray: #98a1a2;
|
11
|
+
$light-gray: lighten(#98a1a2, 30);
|
12
|
+
$yellow: rgb(244, 213, 152);
|
13
|
+
|
14
|
+
$phone-width: 650px;
|
15
|
+
$tablet-width: 850px;
|
16
|
+
$sidebar-width: 240px;
|
17
|
+
$content-block-spacing: 2em;
|
18
|
+
|
19
|
+
$background-primary: #FFF;
|
20
|
+
$background-secondary: #F2F2F2;
|
21
|
+
$background-tertiary: #212121;
|
22
|
+
|
23
|
+
$dark-gray: #5F5F5F;
|
24
|
+
$medium-gray: #929292;
|
25
|
+
$light-gray: lighten(#929292, 30);
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sal_savile_spike
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sal Espinosa
|
@@ -28,7 +28,19 @@ files:
|
|
28
28
|
- bin/console
|
29
29
|
- bin/setup
|
30
30
|
- core/_sal_savile_spike.scss
|
31
|
+
- core/sal_savile_spike/base.scss
|
31
32
|
- core/sal_savile_spike/buttons.scss
|
33
|
+
- core/sal_savile_spike/code-samples.scss
|
34
|
+
- core/sal_savile_spike/content.scss
|
35
|
+
- core/sal_savile_spike/expander.scss
|
36
|
+
- core/sal_savile_spike/fonts.scss
|
37
|
+
- core/sal_savile_spike/home-page.scss
|
38
|
+
- core/sal_savile_spike/outlines.scss
|
39
|
+
- core/sal_savile_spike/search.scss
|
40
|
+
- core/sal_savile_spike/sidebar.scss
|
41
|
+
- core/sal_savile_spike/syntax.scss
|
42
|
+
- core/sal_savile_spike/terminal.scss
|
43
|
+
- core/sal_savile_spike/variables.scss
|
32
44
|
- lib/sal_savile_spike.rb
|
33
45
|
- lib/sal_savile_spike/version.rb
|
34
46
|
- sal_savile_spike.gemspec
|