mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
91 lines
No EOL
1.7 KiB
SCSS
91 lines
No EOL
1.7 KiB
SCSS
// ----------------------------------------------------------------
|
|
// Project Specific: Tutorial
|
|
// ----------------------------------------------------------------
|
|
|
|
.tutorial {
|
|
p {
|
|
font-size: 1em;
|
|
}
|
|
.interact {
|
|
textarea.editor {
|
|
height: 350px!important;
|
|
width: 100%;
|
|
background-color: #1D1F21;
|
|
color: white;
|
|
font: 16px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
|
|
margin-bottom: 0;
|
|
border: 0;
|
|
}
|
|
h3.editor-heading {
|
|
margin-top: 10px;
|
|
}
|
|
.preview {
|
|
height: 300px;
|
|
width: 100%;
|
|
background-color: gray;
|
|
}
|
|
.btn {
|
|
float: right;
|
|
}
|
|
.error {
|
|
background: #93771b;
|
|
color: #fff;
|
|
padding: 5px 10px;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
.lesson {
|
|
h1, .subtitle {
|
|
color: #5e95a1;
|
|
}
|
|
.subtitle {
|
|
font-size: 14px;
|
|
margin-top: 0;
|
|
text-align: left;
|
|
}
|
|
.comic {
|
|
position: relative;
|
|
background-repeat: no-repeat;
|
|
}
|
|
.dialogue {
|
|
width: 180px;
|
|
position: absolute;
|
|
text-align: center;
|
|
|
|
&:nth-child(1) {
|
|
left: 30px;
|
|
top: 30px;
|
|
}
|
|
&:nth-child(2) {
|
|
left: 250px;
|
|
top: 30px;
|
|
}
|
|
&:nth-child(3) {
|
|
left: 30px;
|
|
top: 250px;
|
|
}
|
|
&:nth-child(4) {
|
|
left: 250px;
|
|
top: 250px;
|
|
}
|
|
pre, code {
|
|
padding: 0;
|
|
margin: 0;
|
|
background: none;
|
|
color: #666;
|
|
border: none;
|
|
display: block;
|
|
font-size: 100%;
|
|
}
|
|
pre {
|
|
padding-top: .1em;
|
|
}
|
|
}
|
|
}
|
|
.welcome {
|
|
pre, code {
|
|
background: #16414c;
|
|
font-size: 100%;
|
|
}
|
|
}
|
|
} |