2013-12-02 23:05:45 +00:00
|
|
|
@import "../bower-libs/bootstrap/less/bootstrap.less";
|
2013-12-02 00:09:39 +00:00
|
|
|
@import (less) "../bower-libs/google-code-prettify/src/prettify.css";
|
2013-12-06 22:14:17 +00:00
|
|
|
@import (less) "../libs/highlight/styles/default.css";
|
2013-12-02 00:09:39 +00:00
|
|
|
@import (less) "../libs/fontello/css/fontello.css";
|
2013-11-30 01:40:26 +00:00
|
|
|
|
2013-12-03 00:20:16 +00:00
|
|
|
@text-color: #000;
|
2013-12-04 19:35:41 +00:00
|
|
|
@kbd-color: #333;
|
|
|
|
@kbd-bg-color: #FFF;
|
|
|
|
@kbd-border-color: fade(@text-color, 25%);
|
2013-11-30 01:40:26 +00:00
|
|
|
@blockquote-border-color: #eee;
|
|
|
|
@blockquote-bg: #f8f8f8;
|
2014-03-10 23:55:13 +00:00
|
|
|
@title-base-size: 15px;
|
2013-12-02 23:05:45 +00:00
|
|
|
@code-color: @text-color;
|
2013-12-27 22:29:42 +00:00
|
|
|
@code-bg: fade(@text-color, 4%);
|
2014-01-13 18:57:59 +00:00
|
|
|
@pre-bg: @blockquote-bg;
|
|
|
|
@pre-border-color: @blockquote-border-color;
|
2013-12-02 23:05:45 +00:00
|
|
|
|
2013-11-30 01:40:26 +00:00
|
|
|
|
|
|
|
@font-face {
|
2013-12-05 20:59:57 +00:00
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 300;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Light'), local('OpenSans-Light'), url("../font/OpenSans-Light-webfont.woff") format('woff');
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
2013-12-05 20:59:57 +00:00
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans'), local('OpenSans'), url("../font/OpenSans-Regular-webfont.woff") format('woff');
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
2013-12-05 20:59:57 +00:00
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Bold'), local('OpenSans-Bold'), url("../font/OpenSans-Bold-webfont.woff") format('woff');
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
2013-12-05 20:59:57 +00:00
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 300;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url("../font/OpenSans-LightItalic-webfont.woff") format('woff');
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
2013-12-05 20:59:57 +00:00
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 400;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Italic'), local('OpenSans-Italic'), url("../font/OpenSans-Italic-webfont.woff") format('woff');
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
2013-12-05 20:59:57 +00:00
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 700;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url("../font/OpenSans-BoldItalic-webfont.woff") format('woff');
|
2013-12-05 20:59:57 +00:00
|
|
|
}
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 300;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Light'), local('OpenSans-Light'), url('../font/OpenSans-Light-webfont.svg') format('svg');
|
2013-12-05 20:59:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans'), local('OpenSans'), url('../font/OpenSans-Regular-webfont.svg') format('svg');
|
2013-12-05 20:59:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 700;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Bold'), local('OpenSans-Bold'), url('../font/OpenSans-Bold-webfont.svg') format('svg');
|
2013-12-05 20:59:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 300;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url('../font/OpenSans-LightItalic-webfont.svg') format('svg');
|
2013-12-05 20:59:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 400;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Italic'), local('OpenSans-Italic'), url('../font/OpenSans-Italic-webfont.svg') format('svg');
|
2013-12-05 20:59:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
|
|
|
@font-face {
|
|
|
|
font-family: 'Open Sans';
|
|
|
|
font-style: italic;
|
|
|
|
font-weight: 700;
|
2014-01-13 01:39:28 +00:00
|
|
|
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url('../font/OpenSans-BoldItalic-webfont.svg') format('svg');
|
2013-12-05 20:59:57 +00:00
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
2013-12-05 20:59:57 +00:00
|
|
|
@font-family-sans-serif: 'Open Sans', "Trebuchet MS", Helvetica, sans-serif;
|
2013-11-30 01:40:26 +00:00
|
|
|
|
2013-12-05 20:59:57 +00:00
|
|
|
body {
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
|
|
|
|
// Copied from Bootstrap in order to have correct urls
|
|
|
|
.img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
|
|
|
|
background-image: url("@{file-1x}");
|
|
|
|
|
|
|
|
@media
|
|
|
|
only screen and (-webkit-min-device-pixel-ratio: 2),
|
|
|
|
only screen and ( min--moz-device-pixel-ratio: 2),
|
|
|
|
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
|
|
|
only screen and ( min-device-pixel-ratio: 2),
|
|
|
|
only screen and ( min-resolution: 192dpi),
|
|
|
|
only screen and ( min-resolution: 2dppx) {
|
|
|
|
background-image: url("@{file-2x}");
|
|
|
|
background-size: @width-1x @height-1x;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-02 23:05:45 +00:00
|
|
|
.container {
|
2013-12-03 00:29:57 +00:00
|
|
|
margin-bottom: 180px;
|
2013-12-02 23:05:45 +00:00
|
|
|
}
|
|
|
|
|
2013-11-30 01:40:26 +00:00
|
|
|
a code {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 { font-size: floor(@title-base-size * 2.60); }
|
|
|
|
h2 { font-size: floor(@title-base-size * 2.15); }
|
|
|
|
h3 { font-size: ceil(@title-base-size * 1.70); }
|
|
|
|
h4 { font-size: ceil(@title-base-size * 1.25); }
|
|
|
|
h5 { font-size: @title-base-size; }
|
|
|
|
h6 { font-size: ceil(@title-base-size * 0.85); }
|
|
|
|
|
|
|
|
h1 {
|
2014-03-10 23:55:13 +00:00
|
|
|
margin: 60px 0 60px;
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2014-03-10 23:55:13 +00:00
|
|
|
margin: 50px 0 50px;
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2014-03-10 23:55:13 +00:00
|
|
|
margin: 40px 0 40px;
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h4, h5, h6 {
|
2014-03-10 23:55:13 +00:00
|
|
|
margin: 25px 0 25px;
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
p,
|
|
|
|
pre,
|
2014-01-19 14:27:25 +00:00
|
|
|
pre.prettyprint,
|
2013-11-30 01:40:26 +00:00
|
|
|
blockquote {
|
|
|
|
margin: 0 0 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
margin: 30px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
code, pre {
|
|
|
|
font-family: Menlo, Consolas, "Courier New", monospace;
|
|
|
|
font-size: 12px !important;
|
|
|
|
}
|
|
|
|
|
2014-01-19 14:27:25 +00:00
|
|
|
pre, pre.prettyprint {
|
|
|
|
border: 0 solid @pre-border-color;
|
|
|
|
border-left: 10px solid @pre-border-color;
|
2014-01-13 18:57:59 +00:00
|
|
|
border-radius: 0;
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
2014-01-19 14:27:25 +00:00
|
|
|
padding: 10px 15px;
|
2013-11-30 01:40:26 +00:00
|
|
|
code {
|
|
|
|
background-color: transparent !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Definition list */
|
|
|
|
dt,dd {
|
|
|
|
margin-top: 5px;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd {
|
|
|
|
margin-left: 40px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Table style */
|
|
|
|
table {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th,table td {
|
|
|
|
padding: 8px;
|
|
|
|
line-height: 20px;
|
|
|
|
text-align: left;
|
|
|
|
vertical-align: top;
|
|
|
|
border-top: 1px solid #dddddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
table th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
table thead th {
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
|
|
|
|
table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td
|
|
|
|
{
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
table tbody+tbody {
|
|
|
|
border-top: 2px solid #dddddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left-width: 10px;
|
|
|
|
background-color: @blockquote-bg;
|
|
|
|
border-top-right-radius: 5px;
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
padding: 15px 20px;
|
|
|
|
p {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
font-size: @font-size-base;
|
|
|
|
line-height: @line-height-base;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul:last-child,
|
|
|
|
ol:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2014-01-13 18:57:59 +00:00
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
|
|
|
|
ul,ol {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
ul,ol {
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-04 19:35:41 +00:00
|
|
|
kbd {
|
|
|
|
padding: 0.1em 0.6em;
|
|
|
|
border: 1px solid @kbd-border-color;
|
|
|
|
.box-shadow(0 1px 0px @kbd-border-color);
|
|
|
|
font-size: 11px;
|
|
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
|
|
background-color: @kbd-bg-color;
|
|
|
|
color: @kbd-color;
|
|
|
|
border-radius: 3px;
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 0.1em;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2013-11-30 01:40:26 +00:00
|
|
|
.toc ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footnote {
|
|
|
|
vertical-align: top;
|
|
|
|
position: relative;
|
|
|
|
top: -0.5em;
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************
|
|
|
|
* Icons
|
|
|
|
***********************/
|
|
|
|
|
|
|
|
[class^="icon-"], [class*=" icon-"] {
|
|
|
|
display: inline-block;
|
|
|
|
line-height: 14px;
|
|
|
|
vertical-align: middle;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Custom icons (not from Font Awesome)
|
|
|
|
.icon-code {
|
|
|
|
font-size: 80%;
|
2013-12-01 15:43:46 +00:00
|
|
|
&:before {
|
|
|
|
margin-left: 0.1em;
|
|
|
|
margin-right: 0.6em;
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-folder-open {
|
|
|
|
font-size: 80%;
|
2013-12-01 15:43:46 +00:00
|
|
|
&:before {
|
|
|
|
margin-right: 0.6em;
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-chart-bar {
|
|
|
|
font-size: 90%;
|
2013-12-01 15:43:46 +00:00
|
|
|
&:before {
|
|
|
|
margin-left: 0.3em;
|
|
|
|
margin-right: 0.3em;
|
|
|
|
}
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
2013-12-01 15:43:46 +00:00
|
|
|
.icon-file {
|
|
|
|
font-size: 104%;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2013-12-02 01:20:38 +00:00
|
|
|
.icon-link {
|
|
|
|
font-size: 104%;
|
|
|
|
}
|
|
|
|
|
2013-11-30 01:40:26 +00:00
|
|
|
// Provider's icons (the colored ones)
|
|
|
|
[class^="icon-provider-"], [class*=" icon-provider-"] {
|
|
|
|
.img-retina('../img/icons.png', '../img/icons2x.png', 256px, 16px);
|
|
|
|
width: 18px;
|
|
|
|
height: 16px;
|
|
|
|
margin-top: -2px;
|
2013-12-08 18:12:31 +00:00
|
|
|
margin-left: 1px;
|
2013-11-30 01:40:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.icon-provider-stackedit {
|
|
|
|
background-position: 0 0;
|
|
|
|
}
|
|
|
|
|
2013-12-23 22:46:49 +00:00
|
|
|
.icon-provider-gdrive, .icon-provider-gdrivesec, .icon-provider-gdriveter {
|
2013-11-30 01:40:26 +00:00
|
|
|
background-position: -18px 0;
|
|
|
|
&.realtime {
|
|
|
|
background-position: -162px 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-provider-dropbox {
|
|
|
|
background-position: -37px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-provider-github,.icon-provider-gist {
|
|
|
|
background-position: -54px 0;
|
|
|
|
}
|
|
|
|
|
2014-01-19 13:31:36 +00:00
|
|
|
.icon-provider-blogger, .icon-provider-bloggerpage {
|
2013-11-30 01:40:26 +00:00
|
|
|
background-position: -72px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-provider-tumblr {
|
|
|
|
background-position: -90px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-provider-wordpress {
|
|
|
|
background-position: -108px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-provider-ssh {
|
|
|
|
background-position: -126px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-provider-gplus {
|
|
|
|
background-position: -144px 0;
|
|
|
|
}
|
2013-12-02 23:29:48 +00:00
|
|
|
|
2013-12-05 00:25:17 +00:00
|
|
|
/*******************
|
|
|
|
* RTL
|
|
|
|
*******************/
|
|
|
|
body.rtl {
|
|
|
|
#wmd-input,
|
|
|
|
#preview-contents,
|
|
|
|
.input-file-title,
|
|
|
|
.search-bar input,
|
|
|
|
.modal-document-manager input,
|
|
|
|
.container {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-12-02 23:29:48 +00:00
|
|
|
/*******************
|
|
|
|
* PDF
|
|
|
|
*******************/
|
|
|
|
body.pdf {
|
|
|
|
font-family: "DejaVu Sans";
|
|
|
|
|
|
|
|
code, pre {
|
|
|
|
font-family: "DejaVu Sans Mono";
|
|
|
|
}
|
|
|
|
}
|