This commit is contained in:
2026-03-20 17:13:38 +01:00
parent 4c84735b75
commit c043ee9a52
1152 changed files with 317560 additions and 0 deletions
+246
View File
@@ -0,0 +1,246 @@
@import "variables";
/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */
html,
button,
input,
select,
textarea {
color: #222;
}
html {
font-size: 1em;
line-height: 1.4;
}
html,
body {
background: #fff;
}
::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
::selection {
background: #b3d4fc;
text-shadow: none;
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #ccc;
margin: 1em 0;
padding: 0;
}
audio,
canvas,
img,
video {
vertical-align: middle;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
}
textarea {
resize: vertical;
}
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body,
button,
input,
select,
textarea {
font-family: $font;
font-size: 18px;
font-weight: 300;
}
.wrapper {
max-width: 1200px;
margin: 0 auto;
clear: both;
p:last-child {
margin-bottom: 0;
}
h4 {
font-size: 30px;
}
code.console {
background: $text-color;
color: #fff;
font-size: 16px;
padding: 3px 7px;
}
.note {
color: #888;
padding: 3px 0 3px 15px;
border-left: 3px solid $primary-color-light;
margin-right: 30px;
> :first-child {
margin-top: 0;
}
> :last-child {
margin-bottom: 0;
}
}
}
.section {
a {
text-decoration: none;
color: $primary-color;
&:hover,
&:focus {
text-decoration: underline;
}
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 300;
margin: 0;
padding: 0;
}
hr.clearfix {
display: block;
border: none;
background: none;
margin: 0;
padding: 0;
height: 0;
clear: both;
}
table {
margin: 30px auto;
text-align: left;
thead {
background: #fff;
}
tbody {
tr {
border-bottom: 1px solid #ddd;
&:nth-child(2n){
background: #fcfcfc;
}
}
}
td,
th {
padding: 5px 15px;
}
}
/* ==========================================================================
Print styles
========================================================================== */
@media print {
* {
background: transparent !important;
color: #000 !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
.ir a:after,
a[href^="javascript:"]:after,
a[href^="#"]:after {
content: "";
}
pre,
blockquote {
border: 1px solid #999;
page-break-inside: avoid;
}
thead {
display: table-header-group;
}
tr,
img {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
@page {
margin: 0.5cm;
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}
+38
View File
@@ -0,0 +1,38 @@
@import "variables";
.button {
display: inline-block;
position: relative;
width: 250px;
border: 2px solid transparent;
margin: 0 auto;
padding: 23px 30px;
color: #fff;
font-weight: 400;
font-size: 16px;
line-height: 1.2;
text-decoration: none;
border-radius: 50px;
text-align: center;
transition: color $transition-duration, background-color $transition-duration;
&-primary {
background: $primary-color;
}
&-secondary {
background: $secondary-color;
}
&-ghost {
border-color: rgba(255, 255, 255, 0.4);
}
& + & {
margin-left: 20px;
}
}
.button:hover,
.button:focus {
background: #fff;
color: $primary-color;
outline: none;
}
@@ -0,0 +1,471 @@
@import "variables";
$added-color: #5ecb0e;
$deprecated-color: #ff9a4d;
$sidebar-width: 22%;
$beer-height: 70px;
.documentation-body {
background: $grey;
display: flex;
.main {
padding: 0 60px;
height: 100vh;
width: 100% - $sidebar-width;
overflow: auto;
}
.main-demos {
padding: 0;
overflow: hidden;
iframe {
width: 100%;
height: 100vh;
background: $grey;
}
}
.main-demo-inner {
width: 100%;
}
.section-title {
padding: 50px 0 0;
}
h3 {
display: inline-block;
font-weight: bold;
font-size: 26px;
}
h4 {
padding: 20px 0 0;
}
p,
dd,
ul {
code {
color: #616870;
background: #dfe5eb;
padding: 0 5px;
border: 1px solid #d0d9e1;
border-radius: 2px;
}
}
code.type {
padding: 0 3px;
color: $primary-color-dark;
&::before {
content: "<";
}
&::after {
content: ">";
}
}
.button.button-demo {
border-color: rgba($secondary-color, 0.6);
color: $secondary-color;
width: auto;
padding: 10px 30px;
&:hover,
&:focus {
text-decoration: none;
border-color: $secondary-color;
background: $secondary-color;
color: $white;
}
}
::-webkit-scrollbar {
width: 17px;
}
::-webkit-scrollbar-track {
background: $grey;
}
::-webkit-scrollbar-thumb {
background: #cfd7de;
border: 2px solid $grey;
&:hover {
background: #616870;
}
}
}
.header-documentation {
margin-top: 50px;
.documentation-logo-link {
display: block;
margin: 0 auto;
width: 80%;
max-width: 350px;
.documentation-logo {
width: 100%;
}
}
.documentation-title {
text-align: center;
font-family: $panton;
font-weight: 100;
line-height: 1;
@media (max-width: 1290px) {
font-size: 2.5vw;
}
}
.documentation-menu {
text-align: center;
margin-top: 40px;
background: $secondary-color;
a {
display: inline-block;
padding: 20px 5px;
&:hover,
&:focus {
text-decoration: underline;
}
}
@media (max-width: 1550px) {
padding: 5px 7%;
a {
width: 48%;
padding: 10px 0;
}
.documentation-menu-dot {
display: none;
}
}
}
}
.sidebar {
position: relative;
top: 0;
left: 0;
height: 100vh;
color: $white;
background: $primary-color linear-gradient(to bottom left, $primary-color, $primary-color-light);
width: $sidebar-width;
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: $primary-color-light;
border: 1px solid $primary-color-light;
border-right: none;
&:hover {
background: $white;
}
}
&::after {
content: "";
display: block;
position: absolute;
left: 0;
bottom: $beer-height;
width: calc(100% - 17px);
height: 100px;
background: linear-gradient(to bottom, rgba($primary-color-light, 0), $primary-color-light);
pointer-events: none;
}
.sidebar-inner {
overflow: auto;
overflow-y: scroll;
overflow-x: hidden;
height: calc(100vh - #{$beer-height});
}
ul,
li {
padding: 0;
margin: 0;
list-style: none;
}
a {
text-decoration: none;
color: $white;
transition: color $transition-duration, text-indent $transition-duration;
}
.documentation-summary {
position: relative;
font-size: 18px;
margin-bottom: 100px;
> ul {
max-width: 340px;
margin: 0 auto;
padding: 0 30px;
a,
.documentation-summary-title {
display: block;
height: 30px;
line-height: 30px;
text-overflow: ellipsis;
width: 100%;
white-space: nowrap;
overflow: hidden;
}
> li {
margin-top: 30px;
&:first-child {
margin-top: 50px;
}
> a,
.documentation-summary-title {
font-weight: 600;
text-transform: uppercase;
margin-bottom: 5px;
}
> a {
&:hover,
&:focus {
color: $primary-color-dark;
}
}
ul li a {
&:hover,
&:focus {
color: $primary-color-dark;
text-indent: 10px;
}
}
}
}
}
.documentation-sidebar-beer {
position: fixed;
width: $sidebar-width;
bottom: 0;
left: 0;
background: $white;
height: $beer-height;
a {
position: relative;
display: block;
height: $beer-height;
width: 100%;
text-align: left;
padding: 10px 17px 0 0;
background: none;
border: none;
border-top: 1px solid #e9eef3;
color: #9ca4ac;
&:focus {
outline: none;
}
.beer-icon {
display: none;
}
@media (min-width: 1700px) {
.beer-icon {
position: absolute;
display: block;
width: calc((100% - 236px) / 2);
height: 50px;
margin: 0 auto;
}
}
.beer-label {
position: relative;
display: block;
max-width: 236px;
margin: 0 auto;
}
@media (max-width: 1290px) {
.beer-label {
font-size: 14px;
margin: 0;
padding: 7px 0 0 15px;
width: 200px;
}
}
}
}
}
.added-feature,
.deprecated-feature {
display: inline-block;
padding: 3px 13px;
margin: 0;
color: $white;
font-size: 14px;
border-radius: 50px;
transform: translateX(10px) translateY(-4px);
}
.added-feature {
background: $added-color;
}
.deprecated-feature {
background: $deprecated-color;
}
.deprecated-info {
padding: 7px 15px;
border-radius: 2px;
background: #f2dfc1;
border: 1px solid $deprecated-color;
a {
color: $deprecated-color;
}
}
.version-tag {
display: inline-block;
padding: 2px 6px;
background: $added-color;
color: #FFF;
font-size: 12px;
font-style: normal;
border-radius: 20px;
}
.note .version-tag {
transform: translateY(-1px);
}
.feature {
position: relative;
padding-bottom: 60px;
&::after {
content: " ";
display: block;
position: absolute;
bottom: 0;
left: 50%;
width: 40%;
height: 0;
border-bottom: 1px solid $primary-color-light;
transform: translateX(-50%);
}
h3,
h4 {
display: inline-block;
position: relative;
}
h3 {
position: relative;
padding-top: 50px;
margin-left: -15px;
padding-left: 15px;
}
h4 {
position: relative;
font-size: 20px;
font-weight: bold;
}
.title-link {
display: block;
position: absolute;
top: 53px;
left: -45px;
height: 30px;
width: 30px;
opacity: 0;
text-align: center;
text-decoration: none;
background: $primary-color;
border-radius: 50%;
transition: opacity $transition-duration, background $transition-duration, color $transition-duration;
&:hover,
&:focus {
background: $white;
text-decoration: none;
svg {
fill: $primary-color;
}
}
svg {
fill: $white;
width: 70%;
height: 100%;
}
}
&:hover {
.title-link {
opacity: 1;
}
}
.trumbowyg-box,
.trumbowyg-editor {
margin: 24px auto;
}
}
.sample-data {
background: $white;
padding: 25px;
h4 {
padding: 0;
}
input {
width: 100%;
border: none;
padding: 5px 7px;
color: #616870;
background: #dfe5eb;
&:not(:last-child) {
margin-bottom: 10px;
}
}
}
dl {
dt {
display: inline-block;
color: #616870;
background: #dfe5eb;
padding: 0 5px;
border: 1px solid #d0d9e1;
border-radius: 2px;
}
dd {
padding: 5px 0 15px;
margin-left: 15px;
}
}
+51
View File
@@ -0,0 +1,51 @@
@import "variables";
.donate-container {
position: relative;
max-width: 800px;
margin: 0 auto;
.donate-description {
width: 100%;
padding: 30px 50px 50px;
background: $grey;
border-top-left-radius: $radius;
border-top-right-radius: $radius;
}
.donate-footer {
text-align: center;
padding: 50px 0;
background: $primary-color linear-gradient(to bottom left, $primary-color, $primary-color-light);
border-bottom-left-radius: $radius;
border-bottom-right-radius: $radius;
}
.donate-beer {
position: absolute;
left: -190px;
bottom: -30px;
width: 250px;
}
.button {
color: $white;
text-decoration: none;
&:hover,
&:focus {
text-decoration: none;
background: $white;
color: $primary-color;
}
}
}
.sponsors-container {
margin: 150px 0 0;
text-align: center;
a {
padding: 0 20px;
}
}
+10
View File
@@ -0,0 +1,10 @@
// Panton Light
@font-face {
font-family: 'Panton';
src: url('../font/panton.eot');
src: url('../font/panton.eot?#iefix') format('embedded-opentype'),
url('../font/panton.woff2') format('woff2'),
url('../font/panton.woff') format('woff'),
url('../font/panton.ttf') format('truetype');
font-weight: 300;
}
+33
View File
@@ -0,0 +1,33 @@
@import "variables";
.footer {
margin-top: 40px;
text-align: center;
color: $white;
background: linear-gradient(to bottom left, $primary-color, $primary-color-light);
clear: both;
.footer-text,
.footer-link {
display: inline-block;
padding: 40px;
}
.footer-text {
padding-bottom: 0;
.hearts {
font-size: 18px;
color: $primary-color-dark;
}
}
.footer-link {
text-decoration: none;
color: $white;
transition: color 0.15s;
&:hover,
&:focus {
color: $primary-color-dark;
}
}
}
@@ -0,0 +1,92 @@
@import "variables";
.installation-first-step {
height: 400px;
color: $text-color;
text-align: center;
padding-top: 10px;
margin: 20px 0 50px;
border: 1px solid rgba(0, 0, 0, 0.15);
code {
display: block;
color: #888;
}
.installation-download,
.installation-package-managers {
width: 48%;
float: left;
}
.installation-col-title {
font-size: 22px;
padding: 30px 0;
color: $text-color;
}
.button {
display: block;
color: $text-color;
border-color: rgba(0, 0, 0, 0.07);
background-color: transparent;
box-shadow: 0 0 50px rgba(0, 0, 0, 0.03);
transition: background-color 150ms, box-shadow 150ms, color 150ms;
&:hover {
text-decoration: none;
color: $white;
border-color: transparent;
background-color: $primary-color;
box-shadow: 0 0 50px rgba($primary-color, 0.4);
}
}
.installation-or {
position: relative;
font-weight: bold;
text-transform: uppercase;
width: 4%;
float: left;
font-size: 18px;
margin: 140px 0 20px;
border-radius: 50px;
z-index: 0;
}
.installation-or::before {
content: "";
display: block;
position: absolute;
top: 50%;
left: 50%;
z-index: -1;
width: 100%;
padding-top: 100%;
min-width: 45px;
min-height: 45px;
background: $white;
border-radius: 100%;
transform: translate(-50%, -50%);
}
.installation-package-managers {
font-size: 18px;
code {
padding-top: 5px;
line-height: 1.6;
& + code {
padding-top: 0;
}
}
}
.installation-cdn {
clear: both;
width: 100%;
code {
}
}
}
+358
View File
@@ -0,0 +1,358 @@
@import "variables";
.header-landing {
position: relative;
background: $primary-color linear-gradient(to bottom left, $primary-color, $primary-color-light);
text-align: center;
color: $white;
padding-bottom: 200px;
}
.header-nav {
float: right;
width: 100%;
margin: 0;
padding: 25px 40px 0;
font-weight: 400;
li {
list-style: none;
float: right;
margin-right: 30px;
&:first-child {
float: left;
}
&:nth-child(2) {
margin-right: 0;
}
a {
display: block;
text-decoration: none;
color: $primary-color-dark;
font-size: 16px;
padding: 10px 0;
transition: color $transition-duration;
&:hover {
color: $white;
}
&.view-on-github {
transform: translateY(-11px);
svg {
width: 25px;
height: 25px;
fill: currentColor;
margin-right: 10px;
vertical-align: baseline;
transform: translateY(5px);
}
.star {
font-size: 18px;
}
}
}
}
}
.header-logo-container {
margin: 0 auto;
padding-top: calc(80px + 4%);
text-align: center;
.header-logo-h1 {
position: relative;
margin: 0 auto;
width: 1000px;
max-width: 100%;
}
.header-logo {
margin-right: -3%;
width: 1000px;
max-width: 80%;
}
}
.header-subtitle {
font-size: 28px;
padding: 0 20px;
}
.header-description {
font-size: 18px;
line-height: 1.6;
padding: 0 20px;
font-weight: 300;
}
.header-buttons {
margin: 50px 0;
}
.header-install {
font-size: 18px;
line-height: 1.6;
font-weight: 300;
}
#demonstration {
padding-bottom: 0;
margin-bottom: 80px;
.trumbowyg-editor {
height: 300px !important;
}
.trumbowyg-editor,
.trumbowyg-textarea {
padding: 25px;
}
}
#demonstration .trumbowyg:not(.trumbowyg-fullscreen),
#trumbowyg-demo:not(.trumbowyg-textarea) {
display: block;
margin: -150px auto 0;
width: 100%;
height: 340px;
max-width: 900px;
background: $white;
box-shadow: 0 0 27px rgba(0, 0, 0, 0.03);
resize: none;
}
#demonstration .trumbowyg {
font-size: 16px;
line-height: 2;
p {
margin: 0 0 32px;
}
button {
font-weight: 400;
}
}
#trumbowyg-demo:not(.trumbowyg-textarea) {
color: transparent;
overflow: hidden;
border: 1px solid #dbdfe0;
}
.demo-switcher {
position: absolute;
bottom: -20px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
margin: 0 auto;
width: 250px;
height: 40px;
border-radius: 50px;
border: 1px solid #dbdfe0;
background: $white;
.button {
display: block;
float: left;
padding: 10px;
margin: 0;
border: none;
width: 50%;
background: none;
color: $text-color;
font-weight: 300;
transition: color $transition-duration, text-indent $transition-duration;
&:first-child {
text-indent: 5px;
}
&:last-child {
text-indent: -5px;
}
&.current {
text-indent: 0;
color: $white;
}
}
&::after {
content: "";
display: block;
width: 50%;
height: 100%;
border-radius: 50px;
background: $primary-color;
transition: margin-left $transition-duration;
}
&.current-plugins {
&::after {
margin-left: 50%;
}
}
}
.header-logo-animation {
position: absolute;
overflow: hidden;
top: -30px;
left: 91.5%;
width: 150px;
height: 150px;
svg {
position: absolute;
top: 0;
left: 0;
fill: $white;
height: 25px;
width: 25px;
}
.header-logo-animation-strong {
animation: headerLogoStrong 1s linear infinite;
animation-delay: -0.85s;
}
.header-logo-animation-p {
animation: headerLogoP 1s linear infinite;
animation-delay: -0.2s;
}
.header-logo-animation-link {
animation: headerLogoLink 1s linear infinite;
animation-delay: -0.4s;
}
.header-logo-animation-blockquote {
animation: headerLogoBlockquote 1s linear infinite;
animation-delay: -0.6s;
}
.header-logo-animation-view-html {
animation: headerLogoViewHtml 1s linear infinite;
animation-delay: -0.3s;
}
}
@keyframes headerLogoStrong {
0% {
opacity: 1;
transform: translateX(-30px) translateY(70px);
}
20% {
transform: translateX(15px) translateY(80px);
}
30% {
transform: translateX(35px) translateY(75px);
}
40% {
transform: translateX(40px) translateY(60px);
}
50% {
opacity: 1;
transform: translateX(35px) translateY(40px);
}
100% {
opacity: 0;
transform: translateX(10px) translateY(0) scale(0.5);
}
}
@keyframes headerLogoP {
0% {
opacity: 1;
transform: translateX(-30px) translateY(60px);
}
20% {
transform: translateX(10px) translateY(60px);
}
30% {
transform: translateX(20px) translateY(60px);
}
40% {
transform: translateX(25px) translateY(55px);
}
50% {
opacity: 1;
transform: translateX(32px) translateY(40px);
}
90%,
100% {
opacity: 0;
transform: translateX(35px) translateY(20px) scale(0.5);
}
}
@keyframes headerLogoLink {
0% {
opacity: 1;
transform: translateX(-30px) translateY(90px);
}
20% {
transform: translateX(15px) translateY(100px);
}
30% {
transform: translateX(25px) translateY(95px);
}
40% {
transform: translateX(30px) translateY(80px);
}
50% {
opacity: 1;
transform: translateX(30px) translateY(70px);
}
90%,
100% {
opacity: 0;
transform: translateX(10px) translateY(0) scale(0.5);
}
}
@keyframes headerLogoBlockquote {
0% {
opacity: 1;
transform: translateX(-30px) translateY(55px);
}
30% {
transform: translateX(5px) translateY(50px);
}
40% {
transform: translateX(10px) translateY(45px);
}
50% {
opacity: 1;
transform: translateX(13px) translateY(40px);
}
100% {
opacity: 0;
transform: translateX(10px) translateY(10px) scale(0.5);
}
}
@keyframes headerLogoViewHtml {
0% {
opacity: 1;
transform: translateX(-30px) translateY(90px);
}
40% {
transform: translateX(30px) translateY(105px);
}
50% {
transform: translateX(40px) translateY(100px);
}
60% {
opacity: 1;
transform: translateX(50px) translateY(90px);
}
100% {
opacity: 0;
transform: translateX(70px) translateY(70px) scale(0.5);
}
}
@@ -0,0 +1,124 @@
/*
github.com style (c) Vasily Polovnyov <vast@whiteants.net>
*/
.hljs {
display: block;
overflow-x: auto;
padding: 0 1.5em;
color: #333;
background: #fff;
-webkit-text-size-adjust: none;
}
.hljs-comment,
.diff .hljs-header,
.hljs-javadoc {
color: #998;
font-style: italic;
}
.hljs-keyword,
.css .rule .hljs-keyword,
.hljs-winutils,
.nginx .hljs-title,
.hljs-subst,
.hljs-request,
.hljs-status {
color: #333;
font-weight: bold;
}
.hljs-number,
.hljs-hexcolor,
.ruby .hljs-constant {
color: #008080;
}
.hljs-string,
.hljs-tag .hljs-value,
.hljs-phpdoc,
.hljs-dartdoc,
.tex .hljs-formula {
color: #d14;
}
.hljs-title,
.hljs-id,
.scss .hljs-preprocessor {
color: #900;
font-weight: bold;
}
.hljs-list .hljs-keyword,
.hljs-subst {
font-weight: normal;
}
.hljs-class .hljs-title,
.hljs-type,
.vhdl .hljs-literal,
.tex .hljs-command {
color: #458;
font-weight: bold;
}
.hljs-tag,
.hljs-tag .hljs-title,
.hljs-rules .hljs-property,
.django .hljs-tag .hljs-keyword {
color: #000080;
font-weight: normal;
}
.hljs-attribute,
.hljs-variable,
.lisp .hljs-body {
color: #008080;
}
.hljs-regexp {
color: #009926;
}
.hljs-symbol,
.ruby .hljs-symbol .hljs-string,
.lisp .hljs-keyword,
.clojure .hljs-keyword,
.scheme .hljs-keyword,
.tex .hljs-special,
.hljs-prompt {
color: #990073;
}
.hljs-built_in {
color: #0086b3;
}
.hljs-preprocessor,
.hljs-pragma,
.hljs-pi,
.hljs-doctype,
.hljs-shebang,
.hljs-cdata {
color: #999;
font-weight: bold;
}
.hljs-deletion {
background: #fdd;
}
.hljs-addition {
background: #dfd;
}
.diff .hljs-change {
background: #0086b3;
}
.hljs-chunk {
color: #aaa;
}
@@ -0,0 +1,41 @@
@import "variables";
.section-introduction {
margin-top: 50px;
padding-bottom: 70px;
.introduction-section {
height: 300px;
}
.introduction-section-col {
position: relative;
float: left;
width: 30%;
margin-right: 5%;
&:last-child {
margin-right: 0;
}
}
.introduction-section-col-title {
font-size: 28px;
font-weight: 300;
margin-bottom: 0;
padding-top: 50px;
img {
height: 40px;
margin-right: 8px;
transform: translateY(-3px);
&.illu-lightweight {
transform: translateY(0px);
}
}
}
.introduction-section-col-description {
font-size: 18px;
line-height: 28px;
margin-top: 10px;
}
}
+123
View File
@@ -0,0 +1,123 @@
@import "variables";
.languages {
p {
text-align: center;
margin: 0 0 5px;
font-size: 18px;
color: $white;
a {
color: $primary-color-dark;
}
}
.languages-columns {
display: flex;
}
.col-globe {
flex: 1.07;
margin-top: 30px;
.globe {
width: 90%;
transform: translateX(-40px);
}
}
.col-list {
flex: 0.93;
padding-top: 80px;
line-height: 1.6;
font-weight: 400;
.continent-name {
color: $white;
font-size: 22px;
font-weight: 400;
background: none;
border: none;
padding: 0;
margin: 0;
&:focus {
outline: none;
}
&::after {
content: "";
display: inline-block;
height: 0;
width: 0;
border: 6px solid transparent;
border-left-color: $white;
transform: translateX(5px) translateY(-1px);
}
}
li[style] {
.continent-name {
&::after {
border-left-color: transparent;
border-top-color: $white;
transform: translateX(2px) translateY(2px);
}
}
}
.lang-code {
display: inline-block;
min-width: 30px;
padding-right: 8px;
opacity: 0.6;
transition: opacity $transition-duration;
}
.lang-name {
transition: padding-left $transition-duration;
}
a {
color: $primary-color-dark;
transition: color $transition-duration;
&:hover {
color: $white;
text-decoration: none;
.lang-code {
opacity: 1;
}
.lang-name {
padding-left: 8px;
}
}
}
ul,
li {
margin: 0;
padding: 0;
list-style: none;
}
> ul {
padding-right: 50px;
> li {
overflow: hidden;
transition: height $transition-duration linear;
&[data-height] {
height: 30px;
}
ul {
padding: 15px 0;
columns: 2;
line-height: 1.8;
}
}
}
}
}
+527
View File
@@ -0,0 +1,527 @@
/*! normalize.css v1.1.3 | MIT License | git.io/normalize */
/* ==========================================================================
HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
display: block;
}
/**
* Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
*/
audio,
canvas,
video {
display: inline-block;
*display: inline;
*zoom: 1;
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
* Known issue: no IE 6 support.
*/
[hidden] {
display: none;
}
/* ==========================================================================
Base
========================================================================== */
/**
* 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
* `em` units.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-size: 100%; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Address `font-family` inconsistency between `textarea` and other form
* elements.
*/
html,
button,
input,
select,
textarea {
font-family: sans-serif;
}
/**
* Address margins handled incorrectly in IE 6/7.
*/
body {
margin: 0;
}
/* ==========================================================================
Links
========================================================================== */
/**
* Address `outline` inconsistency between Chrome and other browsers.
*/
a:focus {
outline: thin dotted;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* ==========================================================================
Typography
========================================================================== */
/**
* Address font sizes and margins set differently in IE 6/7.
* Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
* and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
h2 {
font-size: 1.5em;
margin: 0.83em 0;
}
h3 {
font-size: 1.17em;
margin: 1em 0;
}
h4 {
font-size: 1em;
margin: 1.33em 0;
}
h5 {
font-size: 0.83em;
margin: 1.67em 0;
}
h6 {
font-size: 0.67em;
margin: 2.33em 0;
}
/**
* Address styling not present in IE 7/8/9, Safari 5, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
*/
b,
strong {
font-weight: bold;
}
blockquote {
margin: 1em 40px;
}
/**
* Address styling not present in Safari 5 and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address differences between Firefox and other browsers.
* Known issue: no IE 6/7 normalization.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Address styling not present in IE 6/7/8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address margins set differently in IE 6/7.
*/
p,
pre {
margin: 1em 0;
}
/**
* Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
*/
code,
kbd,
pre,
samp {
font-family: monospace, serif;
_font-family: 'courier new', monospace;
font-size: 1em;
}
/**
* Improve readability of pre-formatted text in all browsers.
*/
pre {
white-space: pre;
white-space: pre-wrap;
word-wrap: break-word;
}
/**
* Address CSS quotes not supported in IE 6/7.
*/
q {
quotes: none;
}
/**
* Address `quotes` property not supported in Safari 4.
*/
q:before,
q:after {
content: '';
content: none;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* ==========================================================================
Lists
========================================================================== */
/**
* Address margins set differently in IE 6/7.
*/
dl,
menu,
ol,
ul {
margin: 1em 0;
}
dd {
margin: 0 0 0 40px;
}
/**
* Address paddings set differently in IE 6/7.
*/
menu,
ol,
ul {
padding: 0 0 0 40px;
}
/**
* Correct list images handled incorrectly in IE 7.
*/
nav ul,
nav ol {
list-style: none;
list-style-image: none;
}
/* ==========================================================================
Embedded content
========================================================================== */
/**
* 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
* 2. Improve image quality when scaled in IE 7.
*/
img {
border: 0; /* 1 */
-ms-interpolation-mode: bicubic; /* 2 */
}
/**
* Correct overflow displayed oddly in IE 9.
*/
svg:not(:root) {
overflow: hidden;
}
/* ==========================================================================
Figures
========================================================================== */
/**
* Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
*/
figure {
margin: 0;
}
/* ==========================================================================
Forms
========================================================================== */
/**
* Correct margin displayed oddly in IE 6/7.
*/
form {
margin: 0;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct color not being inherited in IE 6/7/8/9.
* 2. Correct text not wrapping in Firefox 3.
* 3. Correct alignment displayed oddly in IE 6/7.
*/
legend {
border: 0; /* 1 */
padding: 0;
white-space: normal; /* 2 */
*margin-left: -7px; /* 3 */
}
/**
* 1. Correct font size not being inherited in all browsers.
* 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
* and Chrome.
* 3. Improve appearance and consistency in all browsers.
*/
button,
input,
select,
textarea {
font-size: 100%; /* 1 */
margin: 0; /* 2 */
vertical-align: baseline; /* 3 */
*vertical-align: middle; /* 3 */
}
/**
* Address Firefox 3+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
button,
input {
line-height: normal;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
* Correct `select` style inheritance in Firefox 4+ and Opera.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
* 4. Remove inner spacing in IE 7 without affecting normal text inputs.
* Known issue: inner spacing remains in IE 6.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
*overflow: visible; /* 4 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* 1. Address box sizing set to content-box in IE 8/9.
* 2. Remove excess padding in IE 8/9.
* 3. Remove excess padding in IE 7.
* Known issue: excess padding remains in IE 6.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
*height: 13px; /* 3 */
*width: 13px; /* 3 */
}
/**
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari 5 and Chrome
* on OS X.
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Remove inner padding and border in Firefox 3+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* 1. Remove default vertical scrollbar in IE 6/7/8/9.
* 2. Improve readability and alignment in all browsers.
*/
textarea {
overflow: auto; /* 1 */
vertical-align: top; /* 2 */
}
/* ==========================================================================
Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
@@ -0,0 +1,64 @@
@import "variables";
.plugins-packages {
.wrapper {
display: flex;
}
.col-plugins {
flex: 1.07;
}
.col-packages {
flex: 0.93;
}
.section-title {
text-align: left;
transform: translateX(-5px);
}
p {
padding: 0 100px 0 0;
line-height: 1.6;
}
ul,
li {
margin: 0;
padding: 0;
list-style: none;
}
ul {
columns: 2;
margin: 50px 0 0;
max-width: 500px;
}
li {
a {
position: relative;
display: inline-block;
overflow: visible;
color: $text-color;
transition: color $transition-duration, transform $transition-duration;
line-height: 1.8;
&:hover {
color: $primary-color;
text-decoration: none;
}
img,
svg {
display: inline-block;
color: $primary-color;
fill: $primary-color;
width: 20px;
height: 20px;
margin-right: 8px;
vertical-align: sub;
}
}
}
}
+42
View File
@@ -0,0 +1,42 @@
@import "variables";
.section {
position: relative;
padding-bottom: 100px;
&-primary {
color: $primary-color-dark;
background: linear-gradient(to bottom left, $primary-color, $primary-color-light);
.section-title {
color: $white;
}
a {
color: $white;
}
}
&-secondary {
background: $grey;
}
h4 {
font-weight: 400;
color: $text-color;
font-size: 28px;
padding-top: 80px;
}
}
.section-title {
text-align: center;
font-family: $panton;
font-size: 100px;
color: $primary-color;
padding-top: 100px;
padding-bottom: 30px;
}
.section-subtitle {
margin-top: -22px;
font-size: 23px;
color: $text-color;
font-weight: 400;
}
+14
View File
@@ -0,0 +1,14 @@
$primary-color: #ff974a;
$primary-color-light: #ffb864;
$primary-color-dark: #b65207;
$secondary-color: #f48d40;
$text-color: #392813;
$grey: #f4f7fa;
$white: #fff;
$panton: "Panton", sans-serif;
$font: "Open Sans", sans-serif;
$radius: 6px;
$transition-duration: 150ms;
+16
View File
@@ -0,0 +1,16 @@
@import "normalize";
@import "variables";
@import "font";
@import "base";
@import "buttons";
@import "header";
@import "section";
@import "introduction";
@import "get-started";
@import "languages";
@import "plugins-packages";
@import "donate";
@import "footer";
@import "highlightjs-github";
@import "documentation";