turing-one 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/footer.html +0 -0
- data/_includes/head.html +43 -0
- data/_includes/header.html +0 -0
- data/_includes/navigation.html +21 -0
- data/_layouts/main.html +32 -0
- data/_layouts/outline.html +45 -0
- data/_layouts/page.html +46 -0
- data/_layouts/presentation.html +40 -0
- data/_sass/.keep +0 -0
- data/_sass/base.scss +114 -0
- data/_sass/code-samples.scss +23 -0
- data/_sass/content.scss +35 -0
- data/_sass/expander.scss +34 -0
- data/_sass/outlines.scss +40 -0
- data/_sass/sidebar.scss +115 -0
- data/_sass/syntax.scss +85 -0
- data/_sass/terminal.scss +124 -0
- data/_sass/variables.scss +10 -0
- data/assets/favicons/android-icon-144x144.png +0 -0
- data/assets/favicons/android-icon-192x192.png +0 -0
- data/assets/favicons/android-icon-36x36.png +0 -0
- data/assets/favicons/android-icon-48x48.png +0 -0
- data/assets/favicons/android-icon-72x72.png +0 -0
- data/assets/favicons/android-icon-96x96.png +0 -0
- data/assets/favicons/apple-icon-114x114.png +0 -0
- data/assets/favicons/apple-icon-120x120.png +0 -0
- data/assets/favicons/apple-icon-144x144.png +0 -0
- data/assets/favicons/apple-icon-152x152.png +0 -0
- data/assets/favicons/apple-icon-180x180.png +0 -0
- data/assets/favicons/apple-icon-57x57.png +0 -0
- data/assets/favicons/apple-icon-60x60.png +0 -0
- data/assets/favicons/apple-icon-72x72.png +0 -0
- data/assets/favicons/apple-icon-76x76.png +0 -0
- data/assets/favicons/apple-icon-precomposed.png +0 -0
- data/assets/favicons/apple-icon.png +0 -0
- data/assets/favicons/browserconfig.xml +2 -0
- data/assets/favicons/favicon-16x16.png +0 -0
- data/assets/favicons/favicon-32x32.png +0 -0
- data/assets/favicons/favicon-96x96.png +0 -0
- data/assets/favicons/favicon.ico +0 -0
- data/assets/favicons/manifest.json +41 -0
- data/assets/favicons/ms-icon-144x144.png +0 -0
- data/assets/favicons/ms-icon-150x150.png +0 -0
- data/assets/favicons/ms-icon-310x310.png +0 -0
- data/assets/favicons/ms-icon-70x70.png +0 -0
- data/assets/images/arrow.svg +7 -0
- data/assets/images/full-logo.png +0 -0
- data/assets/images/turing-logo.png +0 -0
- data/assets/javascript/navigation.js +12 -0
- data/assets/stylesheets/reset.css +419 -0
- data/assets/stylesheets/styles-base.scss +13 -0
- metadata +139 -0
data/_sass/content.scss
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
/* Content */
|
2
|
+
|
3
|
+
.content {
|
4
|
+
padding: 2em;
|
5
|
+
}
|
6
|
+
|
7
|
+
.main-content {
|
8
|
+
h1, h2, h3, h4, h5, h6 {
|
9
|
+
&:first-child {
|
10
|
+
margin-top: 1em;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
ul.module-quick-links {
|
16
|
+
font-weight: 100;
|
17
|
+
display: flex;
|
18
|
+
}
|
19
|
+
|
20
|
+
table th, td, tr {
|
21
|
+
border: 1px solid $light-gray;
|
22
|
+
padding: 10px;
|
23
|
+
}
|
24
|
+
|
25
|
+
table {
|
26
|
+
box-shadow: inset 0 0 1em $light-gray, 0 0 1em $medium-gray;
|
27
|
+
}
|
28
|
+
|
29
|
+
#module-list {
|
30
|
+
align-content: center;
|
31
|
+
}
|
32
|
+
|
33
|
+
.title {
|
34
|
+
text-align: center;
|
35
|
+
}
|
data/_sass/expander.scss
ADDED
@@ -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
|
+
}
|
data/_sass/outlines.scss
ADDED
@@ -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
|
+
}
|
data/_sass/sidebar.scss
ADDED
@@ -0,0 +1,115 @@
|
|
1
|
+
$sidebar-color: rgb(245, 245, 245);
|
2
|
+
|
3
|
+
.sidebar-navigation--logo {
|
4
|
+
background-color: $dark-gray;
|
5
|
+
padding: 1em;
|
6
|
+
width: $sidebar-width;
|
7
|
+
|
8
|
+
@media (max-width: $tablet-width) {
|
9
|
+
width: 100%;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
.turing-logo {
|
14
|
+
margin: 0;
|
15
|
+
max-width: 97%;
|
16
|
+
display: block;
|
17
|
+
|
18
|
+
@media (max-width: $tablet-width) {
|
19
|
+
max-width: 200px;
|
20
|
+
margin: 0 auto;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.sidebar {
|
25
|
+
min-width: $sidebar-width;
|
26
|
+
max-width: $sidebar-width;
|
27
|
+
|
28
|
+
background-color: $sidebar-color;
|
29
|
+
color: invert($sidebar-color);
|
30
|
+
border-right: 1px solid darken($sidebar-color, 20);
|
31
|
+
box-shadow: 1px 1px 2px #eee;
|
32
|
+
|
33
|
+
@media (max-width: $tablet-width) {
|
34
|
+
font-size: 0.85em;
|
35
|
+
min-width: 100%;
|
36
|
+
max-width: 100%;
|
37
|
+
padding-top: 0;
|
38
|
+
border-right: none;
|
39
|
+
border-top: 1px solid darken($sidebar-color, 20);
|
40
|
+
border-bottom: 1px solid darken($sidebar-color, 20);
|
41
|
+
}
|
42
|
+
|
43
|
+
h1 {
|
44
|
+
padding-left: 1em;
|
45
|
+
padding-top: 0.75em;
|
46
|
+
padding-bottom: 0.75em;
|
47
|
+
|
48
|
+
background-color: lighten($sidebar-color, 5);
|
49
|
+
border-bottom: 1px solid $teal;
|
50
|
+
font-size: 1.1em;
|
51
|
+
margin: 0;
|
52
|
+
|
53
|
+
@media (max-width: $tablet-width) {
|
54
|
+
text-align: center;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
ul, ol {
|
59
|
+
list-style: none;
|
60
|
+
padding-left: 0;
|
61
|
+
|
62
|
+
@media (max-width: $tablet-width) {
|
63
|
+
display: flex;
|
64
|
+
flex-wrap: wrap;
|
65
|
+
justify-content: center;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
li {
|
70
|
+
margin-bottom: 0;
|
71
|
+
|
72
|
+
line-height: 1.8em;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.sidebar-navigation--links {
|
77
|
+
a {
|
78
|
+
display: block;
|
79
|
+
padding: 0.5em 1.1em;
|
80
|
+
border-bottom: none;
|
81
|
+
|
82
|
+
color: invert($sidebar-color);
|
83
|
+
|
84
|
+
&:hover {
|
85
|
+
background-color: darken($sidebar-color, 10);
|
86
|
+
}
|
87
|
+
|
88
|
+
&:active {
|
89
|
+
background-color: $teal;
|
90
|
+
box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
@media (max-width: $tablet-width) {
|
95
|
+
display: flex;
|
96
|
+
flex-wrap: wrap;
|
97
|
+
|
98
|
+
section {
|
99
|
+
min-width: 300px;
|
100
|
+
width: 50%;
|
101
|
+
|
102
|
+
@media (max-width: $tablet-width - 50px) {
|
103
|
+
width: auto;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
@media (max-width: $tablet-width - 50px) {
|
109
|
+
flex-direction: column;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
.active-link {
|
114
|
+
background-color: lighten(#98a1a2, 20);
|
115
|
+
}
|
data/_sass/syntax.scss
ADDED
@@ -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 */
|
data/_sass/terminal.scss
ADDED
@@ -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
|
+
}
|