mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Layout: remove less CSS engine plugin & references
This commit is contained in:
parent
a40fb73dab
commit
bb8e339b85
9 changed files with 0 additions and 4364 deletions
|
@ -3,14 +3,6 @@ This file is licensed under the MIT License (MIT) available on
|
|||
http://opensource.org/licenses/MIT.
|
||||
{% endcomment %}
|
||||
|
||||
<!--
|
||||
{% lesscss main.less %}
|
||||
{% lesscss ie.css %}
|
||||
{% lesscss ie8.less %}
|
||||
{% lesscss rtl.less %}
|
||||
{% lesscss sans.less %}
|
||||
-->
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta property="og:image" content="https://bitcoin.org/img/icons/opengraph.png" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||
|
|
387
_less/ie.css
387
_less/ie.css
|
@ -1,387 +0,0 @@
|
|||
/*
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
*/
|
||||
|
||||
body{
|
||||
/*Allows to use :hover on any html tag using javascript*/
|
||||
behavior:url("/css/csshover.htc");
|
||||
}
|
||||
|
||||
.head div{
|
||||
width:940px;
|
||||
}
|
||||
.body{
|
||||
width:940px;
|
||||
}
|
||||
.lang{
|
||||
border-left:2px solid #f7f7f7;
|
||||
border-right:2px solid #f7f7f7;
|
||||
border-top:2px solid #f7f7f7;
|
||||
}
|
||||
.lang li ul{
|
||||
top:28px;
|
||||
}
|
||||
.lang li ul li{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
.lang li a,
|
||||
.lang li a:link,
|
||||
.lang li a:visited,
|
||||
.lang li a:active{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.menusimple{
|
||||
margin:0;
|
||||
position:absolute;
|
||||
top:8px;
|
||||
left:245px;
|
||||
padding:0;
|
||||
height:35px;
|
||||
}
|
||||
.menusimple li{
|
||||
list-style:none;
|
||||
zoom:1;
|
||||
display:inline;
|
||||
position:relative;
|
||||
padding:0;
|
||||
margin:0 3px;
|
||||
}
|
||||
.menusimple li a,
|
||||
.menusimple li a:active,
|
||||
.menusimple li a:visited,
|
||||
.menusimple li a:link{
|
||||
text-decoration:none;
|
||||
color:#2c6fad;
|
||||
}
|
||||
.menusimple li a{
|
||||
font-family:sans-serif;
|
||||
display:block;
|
||||
white-space:nowrap;
|
||||
font-size:110%;
|
||||
padding:6px 10px 4px 10px;
|
||||
}
|
||||
.menusimple li ul{
|
||||
width:190px;
|
||||
display:none;
|
||||
position:absolute;
|
||||
background-color:#fff;
|
||||
border:1px solid #2c6fad;
|
||||
min-width:auto;
|
||||
padding:5px 0;
|
||||
margin:0;
|
||||
left:0;
|
||||
}
|
||||
.menusimple li ul li{
|
||||
margin:0;
|
||||
display:block;
|
||||
width:100%;
|
||||
}
|
||||
.menusimple li ul li a{
|
||||
width:100%;
|
||||
font-size:100%;
|
||||
margin:1px 0;
|
||||
padding:6px 10px 3px 10px;
|
||||
}
|
||||
.menusimple li ul li a,
|
||||
.menusimple li ul li a:active,
|
||||
.menusimple li ul li a:visited,
|
||||
.menusimple li ul li a:link{
|
||||
text-decoration:none;
|
||||
color:#2c6fad;
|
||||
}
|
||||
.menusimple li:hover{
|
||||
background-color:#2c6fad;
|
||||
}
|
||||
.menusimple li a:hover,
|
||||
.menusimple li:hover a,
|
||||
.menusimple li.active a,
|
||||
.menusimple li.active a:active,
|
||||
.menusimple li.active a:visited,
|
||||
.menusimple li.active a:link{
|
||||
color:#fff;
|
||||
}
|
||||
.menusimple li:hover ul{
|
||||
display:block;
|
||||
}
|
||||
.menusimple li ul li a:hover{
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.index{
|
||||
font-size:0;
|
||||
}
|
||||
.index li{
|
||||
margin-left:-16px;
|
||||
}
|
||||
.index ul li{
|
||||
margin-left:16px;
|
||||
}
|
||||
.index a,
|
||||
.index a:link,
|
||||
.index a:active,
|
||||
.index a:visited{
|
||||
font-size:16px;
|
||||
}
|
||||
|
||||
|
||||
.titleicon{
|
||||
vertical-align:middle;
|
||||
margin-right:5px;
|
||||
}
|
||||
|
||||
.maindesc{
|
||||
width:760px;
|
||||
}
|
||||
.mainlist div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
width:240px;
|
||||
text-align:center;
|
||||
}
|
||||
.mainlist div div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
line-height:1.5em;
|
||||
width:auto;
|
||||
}
|
||||
.mainlist div div div {
|
||||
display:block;
|
||||
}
|
||||
.mainlist .ieimg{
|
||||
display:block;
|
||||
margin:10px auto;
|
||||
position:relative;
|
||||
height:48px;
|
||||
width:48px;
|
||||
}
|
||||
|
||||
.mainbutton a,
|
||||
.mainbutton a:link,
|
||||
.mainbutton a:visited,
|
||||
.mainbutton a:active{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
.mainbutton a:hover,
|
||||
.mainbutton a:link:hover,
|
||||
.mainbutton a:visited:hover,
|
||||
.mainbutton a:active:hover{
|
||||
background-image:none;
|
||||
color:#fff;
|
||||
}
|
||||
.mainbutton .ieimg{
|
||||
margin-right:10px;
|
||||
margin-left:-52px;
|
||||
margin-bottom:-12px;
|
||||
height:42px;
|
||||
width:42px;
|
||||
}
|
||||
|
||||
.starttitle a{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
.start div{
|
||||
border-top:expression((this.parentNode.getElementsByTagName('DIV')[5]==this)?'1px solid #e0e0e0':'');
|
||||
}
|
||||
.start div div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
padding-top:25px;
|
||||
position:relative;
|
||||
padding-right:expression(this.parentNode.getElementsByTagName('DIV')[0]==this?'40px':'');
|
||||
border-right:expression(this.parentNode.parentNode.className=='start'&&this.parentNode.getElementsByTagName('DIV')[0]==this?'1px solid #e0e0e0':'');
|
||||
padding-left:expression(this.parentNode.getElementsByTagName('DIV')[2]==this?'40px':'');
|
||||
border-left:expression(this.parentNode.parentNode.className=='start'&&this.parentNode.getElementsByTagName('DIV')[2]==this?'1px solid #e0e0e0':'');
|
||||
margin-left:expression(this.parentNode.getElementsByTagName('DIV')[2]==this?'-1px':'');
|
||||
}
|
||||
.start div div div{
|
||||
padding-top:0;
|
||||
}
|
||||
.start>div>div:first-child+div{
|
||||
/*This one is for IE7 only*/
|
||||
border-top:0;
|
||||
}
|
||||
|
||||
.resources div{
|
||||
border-top:expression(this.parentNode.className=='resources'&&this!=this.parentNode.getElementsByTagName('DIV')[0]?'1px solid #e0e0e0':'0');
|
||||
}
|
||||
.resources div div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
padding-top:25px;
|
||||
position:relative;
|
||||
padding-right:expression(this.parentNode.parentNode.className=='resources'&&this.parentNode.getElementsByTagName('DIV')[0]==this?'40px':'');
|
||||
border-right:expression(this.parentNode.parentNode.className=='resources'&&this.parentNode.getElementsByTagName('DIV')[0]==this?'1px solid #e0e0e0':'');
|
||||
padding-left:expression(this.parentNode.parentNode.className=='resources'&&this!=this.parentNode.getElementsByTagName('DIV')[0]?'40px':'');
|
||||
border-left:expression(this.parentNode.parentNode.className=='resources'&&this!=this.parentNode.getElementsByTagName('DIV')[0]?'1px solid #e0e0e0':'');
|
||||
margin-left:expression(this.parentNode.parentNode.className=='resources'&&this!=this.parentNode.getElementsByTagName('DIV')[0]?'-1px':'');
|
||||
}
|
||||
.resources>div>div:first-child+div{
|
||||
/*This one is for IE7 only*/
|
||||
border-top:0;
|
||||
}
|
||||
|
||||
.resourcesorg div div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
padding:20px 0;
|
||||
}
|
||||
.resourcesorg div{
|
||||
border-top:expression(this.parentNode.className=='resourcesorg'&&this.parentNode.getElementsByTagName('DIV')[0]!=this?'1px solid #e0e0e0':'0');
|
||||
}
|
||||
|
||||
.resourcesmore div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.docreference a{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.downloadbox{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
.downloadbox a{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
.downloadbox div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
.downloadbox div div{
|
||||
display:block;
|
||||
}
|
||||
.downloadbox div div span{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
.download span{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
vertical-align:top;
|
||||
}
|
||||
.downloadbox .magnetlink{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.listtable div div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
.eventtable span a{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.exchanges div div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
padding:20px 0;
|
||||
}
|
||||
.exchanges div{
|
||||
border-top:expression(this.parentNode.className=='exchanges'&&this.parentNode.getElementsByTagName('DIV')[0]!=this?'1px solid #e0e0e0':'0');
|
||||
}
|
||||
|
||||
.banner-message a:hover,
|
||||
.banner-message a:hover:link,
|
||||
.banner-message a:hover:active,
|
||||
.banner-message a:hover:visited{
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.index{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.boxexpand *{
|
||||
display:expression((this.parentNode.nodeName=='DIV')?'none':'');
|
||||
}
|
||||
.boxexpand h3{
|
||||
display:expression((this.parentNode.nodeName=='DIV'&&this.parentNode.getElementsByTagName('H3')[0]==this)?'block':'');
|
||||
margin:expression((this.parentNode.nodeName=='DIV'&&this.parentNode.getElementsByTagName('H3')[0]==this)?'20px 0':'');
|
||||
}
|
||||
.boxexpand h3 a:link,
|
||||
.boxexpand h3 a:visited,
|
||||
.boxexpand h3 a:active{
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
.tablehalf div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
margin-bottom:30px;
|
||||
}
|
||||
|
||||
.contributors div{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
.contributors span{
|
||||
width:16px;
|
||||
height:16px;
|
||||
}
|
||||
|
||||
.credit p{
|
||||
zoom:1;
|
||||
display:inline;
|
||||
}
|
||||
|
||||
.devprojectlist li{
|
||||
display:expression((this.parentNode.childNodes[0]==this||this.parentNode.childNodes[1]==this||this.parentNode.childNodes[2]==this||this.parentNode.childNodes[3]==this)?'list-item':'');
|
||||
}
|
||||
|
||||
.press-faq div{
|
||||
width:400px;
|
||||
display:inline;
|
||||
zoom:1;
|
||||
vertical-align:top;
|
||||
text-align:left;
|
||||
margin-bottom:15px;
|
||||
margin-right:20px;
|
||||
}
|
||||
.press-faq div a{
|
||||
display:inline;
|
||||
zoom:1;
|
||||
font-weight:bold;
|
||||
margin-right:20px;
|
||||
}
|
||||
.press-faq li a{
|
||||
font-weight:normal;
|
||||
}
|
||||
.press-faq div div{
|
||||
height:0;
|
||||
width:auto;
|
||||
margin:10px 0 0 0;
|
||||
overflow:hidden;
|
||||
text-align:justify;
|
||||
}
|
||||
|
||||
.press-videos div{
|
||||
display:inline;
|
||||
zoom:1;
|
||||
}
|
||||
.press-videos div a{
|
||||
display:inline;
|
||||
zoom:1;
|
||||
}
|
||||
|
||||
.press-quotes p{
|
||||
display:inline;
|
||||
zoom:1;
|
||||
}
|
||||
.press-quotes span{
|
||||
font-weight:expression((this.parentNode.getElementsByTagName('SPAN')[0]==this)?'bold':'');
|
||||
display:expression((this.parentNode.getElementsByTagName('SPAN')[0]==this)?'block':'');
|
||||
margin-bottom:expression((this.parentNode.getElementsByTagName('SPAN')[0]==this)?'4px':'');
|
||||
}
|
|
@ -1,82 +0,0 @@
|
|||
/*
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
*/
|
||||
|
||||
.wallets>div{
|
||||
display:none;
|
||||
}
|
||||
.wallets>div:first-child,
|
||||
.wallets>div:first-child+div,
|
||||
.wallets>div:first-child+div+div,
|
||||
.wallets>div:first-child+div+div+div,
|
||||
.wallets>div:first-child+div+div+div+div,
|
||||
.wallets>div:first-child+div+div+div+div+div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div{
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
.wallets>div:first-child+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div>span{
|
||||
top:-222px;
|
||||
}
|
||||
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div>div,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div>span,
|
||||
.wallets>div:first-child+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div+div>span{
|
||||
top:-92px;
|
||||
}
|
||||
|
||||
.press-quotes p{
|
||||
display:none;
|
||||
}
|
||||
.press-quotes p:first-child,
|
||||
.press-quotes p:first-child+p,
|
||||
.press-quotes p:first-child+p+p,
|
||||
.press-quotes p:first-child+p+p+p,
|
||||
.press-quotes p:first-child+p+p+p+p,
|
||||
.press-quotes p:first-child+p+p+p+p+p,
|
||||
.press-quotes p:first-child+p+p+p+p+p+p,
|
||||
.press-quotes p:first-child+p+p+p+p+p+p+p{
|
||||
display:inline-block;
|
||||
}
|
||||
.press-quotes.expanded p{
|
||||
display:inline-block;
|
||||
}
|
||||
|
||||
.devprojectlist li{
|
||||
display:none;
|
||||
}
|
||||
.devprojectlist li:first-child,
|
||||
.devprojectlist li:first-child+li,
|
||||
.devprojectlist li:first-child+li+li,
|
||||
.devprojectlist li:first-child+li+li+li{
|
||||
display:list-item;
|
||||
}
|
||||
.devprojectlist.expanded li{
|
||||
display:list-item;
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
/*
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
*/
|
||||
|
||||
@import "normalize.less";
|
||||
@import "screen.less";
|
396
_less/normalize.less
vendored
396
_less/normalize.less
vendored
|
@ -1,396 +0,0 @@
|
|||
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
|
||||
|
||||
/* ==========================================================================
|
||||
HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Correct `block` display not defined in IE 8/9.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct `inline-block` display not defined in IE 8/9.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
video {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 8/9.
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Base
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
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 variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari 5, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9, Safari 5, and Chrome.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari 5 and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
-moz-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct font family set oddly in Safari 5 and Chrome.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability of pre-formatted text in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set consistent quote types.
|
||||
*/
|
||||
|
||||
q {
|
||||
quotes: "\201C" "\201D" "\2018" "\2019";
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove border when inside `a` element in IE 8/9.
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct overflow displayed oddly in IE 9.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Figures
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari 5.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* 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 8/9.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct font family not being inherited in all browsers.
|
||||
* 2. Correct font size not being inherited in all browsers.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-family: inherit; /* 1 */
|
||||
font-size: 100%; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ 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 8+.
|
||||
* 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.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Remove default vertical scrollbar in IE 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;
|
||||
}
|
407
_less/rtl.less
407
_less/rtl.less
|
@ -1,407 +0,0 @@
|
|||
/*
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
*/
|
||||
|
||||
/*Language specific styles that override default*/
|
||||
|
||||
/*Styles for HTML tags*/
|
||||
|
||||
body{
|
||||
font-family:'DroidNaskh', sans-serif;
|
||||
direction:rtl;
|
||||
}
|
||||
h1,h2{
|
||||
font-family:'DroidNaskh', sans-serif;
|
||||
}
|
||||
h2,h3{
|
||||
text-align:right;
|
||||
}
|
||||
ul{
|
||||
padding-right:20px;
|
||||
padding-left:auto;
|
||||
margin-right:0;
|
||||
}
|
||||
p{
|
||||
line-height:2em;
|
||||
}
|
||||
|
||||
/*Styles for whole website*/
|
||||
|
||||
.head{
|
||||
direction:ltr;
|
||||
}
|
||||
.lang li ul li{
|
||||
font-family:Arial, sans-serif;
|
||||
text-align:right;
|
||||
}
|
||||
.menusimple li a,
|
||||
.menusimple li a:active,
|
||||
.menusimple li a:visited,
|
||||
.menusimple li a:link{
|
||||
font-family:'DroidNaskh', sans-serif;
|
||||
text-align:right;
|
||||
}
|
||||
.menusimple li ul{
|
||||
right:0;
|
||||
left:auto;
|
||||
}
|
||||
.footermenu a{
|
||||
margin-right:0;
|
||||
margin-left:15px;
|
||||
}
|
||||
.statusmenu{
|
||||
padding-left:0;
|
||||
padding-right:20px;
|
||||
background-position:right center;
|
||||
}
|
||||
.titleicon{
|
||||
margin-right:auto;
|
||||
margin-left:5px;
|
||||
}
|
||||
h1 .rssicon{
|
||||
margin-left:0;
|
||||
margin-right:10px;
|
||||
margin-bottom:12px;
|
||||
}
|
||||
h2 .rssicon{
|
||||
margin-left:0;
|
||||
margin-right:10px;
|
||||
margin-bottom:18px;
|
||||
}
|
||||
.mainbutton a,
|
||||
.mainbutton a:link,
|
||||
.mainbutton a:visited,
|
||||
.mainbutton a:active{
|
||||
font-family:'DroidNaskh', sans-serif;
|
||||
text-align:right;
|
||||
padding:15px 68px 15px 20px;
|
||||
}
|
||||
.mainbutton img{
|
||||
margin-left:10px;
|
||||
margin-right:-52px;
|
||||
}
|
||||
.contributors{
|
||||
text-align:right;
|
||||
}
|
||||
.credit{
|
||||
text-align:right;
|
||||
}
|
||||
.downloadbox div{
|
||||
text-align:right;
|
||||
}
|
||||
.index a,
|
||||
.index a:link,
|
||||
.index a:active,
|
||||
.index a:visited{
|
||||
line-height:2em;
|
||||
}
|
||||
.resources{
|
||||
text-align:right;
|
||||
}
|
||||
.resources>div>div:first-child{
|
||||
padding-right:0;
|
||||
border-right:0;
|
||||
padding-left:40px;
|
||||
border-left:1px solid #e0e0e0;
|
||||
}
|
||||
.resources>div>div:first-child+div{
|
||||
padding-left:0;
|
||||
border-left:0;
|
||||
margin-left:0;
|
||||
padding-right:40px;
|
||||
border-right:1px solid #e0e0e0;
|
||||
margin-right:-1px;
|
||||
}
|
||||
.resourcesorg{
|
||||
text-align:right;
|
||||
}
|
||||
.resourcesorg img{
|
||||
margin-right:0;
|
||||
margin-left:5px;
|
||||
bottom:-6px;
|
||||
}
|
||||
.exchanges{
|
||||
text-align:right;
|
||||
}
|
||||
.exchanges img{
|
||||
margin-right:0;
|
||||
margin-left:5px;
|
||||
bottom:-6px;
|
||||
}
|
||||
.downloadbox a{
|
||||
direction:ltr;
|
||||
}
|
||||
.downloadbox div div{
|
||||
text-align:right;
|
||||
font-family:Arial, sans-serif;
|
||||
}
|
||||
.downloadbox div div span{
|
||||
margin-left:0;
|
||||
margin-right:6px;
|
||||
}
|
||||
|
||||
.start{
|
||||
text-align:right;
|
||||
}
|
||||
.start>div>div:first-child{
|
||||
padding-right:0;
|
||||
padding-left:40px;
|
||||
border-right:0;
|
||||
border-left:1px solid #e0e0e0;
|
||||
}
|
||||
.start>div>div:first-child+div{
|
||||
padding-left:0;
|
||||
padding-right:40px;
|
||||
border-left:0;
|
||||
border-right:1px solid #e0e0e0;
|
||||
margin-right:-1px
|
||||
}
|
||||
.start div div div a,
|
||||
.start div div div a:link,
|
||||
.start div div div a:active,
|
||||
.start div div div a:visited{
|
||||
padding:0 8px;
|
||||
}
|
||||
|
||||
.anchorAf a{
|
||||
left:0;
|
||||
right:-24px;
|
||||
}
|
||||
|
||||
.listtable div div{
|
||||
text-align:right;
|
||||
padding-right:0;
|
||||
padding-left:20px;
|
||||
}
|
||||
|
||||
.eventtable div div{
|
||||
text-align:right;
|
||||
padding-right:0;
|
||||
padding-left:20px;
|
||||
}
|
||||
|
||||
.tablehalf{
|
||||
left:0;
|
||||
right:-40px;
|
||||
}
|
||||
.tablehalf div{
|
||||
margin-left:0;
|
||||
margin-right:40px;
|
||||
}
|
||||
.tablehalf p{
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
.walletmenu>ul{
|
||||
text-align:right;
|
||||
}
|
||||
.walletmenu>ul li{
|
||||
font-family:'DroidNaskh', sans-serif;
|
||||
background-position:right 6px;
|
||||
}
|
||||
.walletmenu>ul>li a{
|
||||
padding:8px 42px 5px 10px;
|
||||
}
|
||||
.walletmenu>ul>li ul{
|
||||
left:auto;
|
||||
right:0;
|
||||
}
|
||||
.walletmenu>ul>li>ul li{
|
||||
background-position:right 10px;
|
||||
}
|
||||
.walletmenu>ul>li.active,
|
||||
.walletmenu>ul>li:hover{
|
||||
background-position:right -62px;
|
||||
}
|
||||
.walletmenu>ul>li>ul>li.active,
|
||||
.walletmenu>ul>li>ul>li:hover{
|
||||
background-position:right -24px;
|
||||
}
|
||||
.walletmenu>ul>li>ul li.active>a{
|
||||
background-position:left center;
|
||||
}
|
||||
|
||||
.wallets{
|
||||
text-align:right;
|
||||
}
|
||||
.wallets>div>a,
|
||||
.wallets>div>a:visited,
|
||||
.wallets>div>a:link,
|
||||
.wallets>div>a:active{
|
||||
line-height:1.2em;
|
||||
}
|
||||
.wallets>div>div>h2:first-child+div{
|
||||
margin-left:0;
|
||||
margin-right:10px;
|
||||
}
|
||||
.wallets>div>div>h2:first-child+div+div>a,
|
||||
.wallets>div>div>h2:first-child+div+div>a:visited,
|
||||
.wallets>div>div>h2:first-child+div+div>a:link,
|
||||
.wallets>div>div>h2:first-child+div+div>a:active{
|
||||
padding:0 8px;
|
||||
margin:2px 0 8px 0;
|
||||
}
|
||||
.wallets>div>div>h2:first-child+div+div>a:first-child,
|
||||
.wallets>div>div>h2:first-child+div+div>a:first-child:visited,
|
||||
.wallets>div>div>h2:first-child+div+div>a:first-child:link,
|
||||
.wallets>div>div>h2:first-child+div+div>a:first-child:active{
|
||||
margin-right:0;
|
||||
margin-left:10px;
|
||||
}
|
||||
.wallets>div>div>h2:first-child+div+div+div+p{
|
||||
padding-right:0;
|
||||
padding-left:5px;
|
||||
}
|
||||
.wallets>div>div>h2:first-child+div+div+div>div{
|
||||
padding:5px 22px 5px 0;
|
||||
background-position:right 4px;
|
||||
}
|
||||
.wallets>div>div>h2:first-child+div+div+div>div>div{
|
||||
margin-left:0;
|
||||
margin-right:5px;
|
||||
}
|
||||
.wallets>div>div>h2:first-child+div+div+div>div>div>span{
|
||||
left:0;
|
||||
right:15px;
|
||||
}
|
||||
.wallets>div>div>h2:first-child+div+div+div>div>div>div,
|
||||
.wallets>div>div>h2:first-child+div+div+div>div>div>p{
|
||||
left:auto;
|
||||
right:30px
|
||||
}
|
||||
.wallets>div>div>h2:first-child+div+div+div+p+div{
|
||||
right:auto;
|
||||
left:20px;
|
||||
}
|
||||
.wallets .checkgood>div>span{
|
||||
background-image:url(/img/icons/checkbubble_pass_rtl.svg);
|
||||
}
|
||||
.wallets .checkpass>div>span{
|
||||
background-image:url(/img/icons/checkbubble_pass_rtl.svg);
|
||||
}
|
||||
.wallets .checkfail>div>span{
|
||||
background-image:url(/img/icons/checkbubble_fail_rtl.svg);
|
||||
}
|
||||
.wallets .checkneutral>div>span{
|
||||
background-image:url(/img/icons/checkbubble_neutral_rtl.svg);
|
||||
}
|
||||
|
||||
.warningicon{
|
||||
margin-right:0;
|
||||
margin-left:6px;
|
||||
}
|
||||
|
||||
.press-volunteer,
|
||||
.press-faq,
|
||||
.press-faq p{
|
||||
text-align:right;
|
||||
}
|
||||
.press-faq>div{
|
||||
margin-right:0;
|
||||
margin-left:30px;
|
||||
}
|
||||
.press-faq>div>a{
|
||||
margin-right:0;
|
||||
margin-left:20px;
|
||||
}
|
||||
.press-pictures{
|
||||
text-align:right;
|
||||
}
|
||||
.press-pictures img{
|
||||
margin-right:0;
|
||||
margin-left:14px;
|
||||
}
|
||||
|
||||
/*Override UbuntuBold by Droid Naskh*/
|
||||
|
||||
@font-face{font-family:'DroidNaskh';src:url('/font/droidnaskh/droidnaskh-regular.eot');font-weight:normal;font-style:normal;}
|
||||
@font-face{font-family:'DroidNaskh';src:url('/font/droidnaskh/droidnaskh-regular.ttf') format('truetype');font-weight:normal;font-style:normal;}
|
||||
|
||||
/*Styles specific to mobiles*/
|
||||
|
||||
@media handheld, only screen and ( max-width: 60em ), only screen and ( max-device-width: 60em ){
|
||||
h2{
|
||||
text-align:center;
|
||||
}
|
||||
.titleicon,
|
||||
.warningicon{
|
||||
margin:auto;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
.langselect{
|
||||
text-align:right;
|
||||
}
|
||||
.langselect select{
|
||||
text-align:right;
|
||||
margin-left:0;
|
||||
margin-right:10px;
|
||||
}
|
||||
.content{
|
||||
text-align:right;
|
||||
}
|
||||
.resources,
|
||||
.resources p{
|
||||
text-align:center;
|
||||
}
|
||||
.resources>div>div:first-child{
|
||||
padding-left:0;
|
||||
border-left:0;
|
||||
}
|
||||
.resources>div>div:first-child+div{
|
||||
border-right:0;
|
||||
padding-right:0;
|
||||
margin-right:0;
|
||||
}
|
||||
.walletmenu>ul.menutap>li:hover{
|
||||
background-position:right 6px;
|
||||
}
|
||||
.walletmenu>ul.menutap>li>ul>li:hover{
|
||||
background-position:right 10px;
|
||||
}
|
||||
.walletmenu>ul.menutap>li.hover{
|
||||
background-position:right -62px;
|
||||
}
|
||||
.walletmenu>ul.menutap>li>ul>li.hover{
|
||||
background-position:right -24px;
|
||||
}
|
||||
.wallets.walletsmobile>div>div>h2:first-child+div+div+div>div{
|
||||
padding:8px 22px 8px 0;
|
||||
background-position:right 7px;
|
||||
}
|
||||
.wallets.walletsmobile>div>div>h2:first-child+div+div+div>div:hover>div{
|
||||
margin-right:0;
|
||||
}
|
||||
.wallets.walletsmobile>div>div>h2:first-child+div+div+div>div>div>div,
|
||||
.wallets.walletsmobile>div>div>h2:first-child+div+div+div>div>div>p{
|
||||
left:0;
|
||||
right:-20px;
|
||||
}
|
||||
.walletsdisclaimer p{
|
||||
text-align:right;
|
||||
}
|
||||
.download{
|
||||
text-align:right;
|
||||
}
|
||||
.download p{
|
||||
text-align:right;
|
||||
}
|
||||
.downloadbox{
|
||||
text-align:right;
|
||||
}
|
||||
.download div p{
|
||||
text-align:right;
|
||||
}
|
||||
.start>div>div:first-child{
|
||||
border-left:0;
|
||||
padding-left:0;
|
||||
}
|
||||
.start>div>div:first-child+div{
|
||||
border-right:0;
|
||||
padding-right:0;
|
||||
margin-right:0;
|
||||
}
|
||||
.tablehalf div{
|
||||
margin-right:0;
|
||||
}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
/*
|
||||
This file is licensed under the MIT License (MIT) available on
|
||||
http://opensource.org/licenses/MIT.
|
||||
*/
|
||||
|
||||
h1,h2{
|
||||
font-family:Arial, sans-serif;
|
||||
font-weight:bold;
|
||||
}
|
||||
.menusimple li a,
|
||||
.menusimple li a:active,
|
||||
.menusimple li a:visited,
|
||||
.menusimple li a:link{
|
||||
font-family:Arial, sans-serif;
|
||||
}
|
||||
.mainbutton a,
|
||||
.mainbutton a:link,
|
||||
.mainbutton a:visited,
|
||||
.mainbutton a:active{
|
||||
font-family:Arial, sans-serif;
|
||||
}
|
||||
.walletmenu ul li{
|
||||
font-family:Arial, sans-serif;
|
||||
}
|
2982
_less/screen.less
2982
_less/screen.less
File diff suppressed because it is too large
Load diff
|
@ -1,71 +0,0 @@
|
|||
# This file is licensed under the MIT License (MIT) available on
|
||||
# http://opensource.org/licenses/MIT.
|
||||
|
||||
require 'digest/md5'
|
||||
|
||||
module Jekyll
|
||||
|
||||
class LessCSSFile < StaticFile
|
||||
def write(dest)
|
||||
# do nothing
|
||||
end
|
||||
end
|
||||
|
||||
class LessCSS < Liquid::Tag
|
||||
def initialize(tag_name, file, tokens)
|
||||
super
|
||||
@file = file.strip
|
||||
end
|
||||
|
||||
def render(context)
|
||||
site = context.registers[:site]
|
||||
config = context.registers[:site].config
|
||||
if !config.has_key?('lessdone')
|
||||
config['lessdone'] = {}
|
||||
end
|
||||
less_dir = File.join(site.source, '_less')
|
||||
if File.symlink?(less_dir)
|
||||
return "LessCSS directory '#{less_dir}' cannot be a symlink"
|
||||
end
|
||||
#Process file only if it hasn't been processed yet
|
||||
if !config['lessdone'].has_key?(@file)
|
||||
Dir.chdir(less_dir) do
|
||||
choices = Dir['**/*'].reject { |x| File.symlink?(x) }
|
||||
if choices.include?(@file)
|
||||
#Generate file content with less, those that end with .css
|
||||
if /\.css$/.match(@file)
|
||||
f = file = File.new(@file, "r")
|
||||
else
|
||||
source = File.read(@file)
|
||||
f = IO.popen("lessc -", "w+")
|
||||
f.write(source)
|
||||
f.close_write()
|
||||
end
|
||||
#Keep MD5 hash of the file as the file name
|
||||
css = f.readlines().join()
|
||||
digest = Digest::MD5.hexdigest(css)
|
||||
css_file = digest + ".css"
|
||||
css_path = File.join(site.dest, css_file)
|
||||
#Write final file
|
||||
if !File.directory?(site.dest)
|
||||
Dir.mkdir(site.dest)
|
||||
end
|
||||
File.open(css_path, "w") do |f|
|
||||
f.write(css)
|
||||
end
|
||||
site.static_files << LessCSSFile.new(site, site.source, '', css_file)
|
||||
#Save the filename so the file isn't processed again
|
||||
config['lessdone'][@file] = css_file
|
||||
else
|
||||
return "LessCSS file '#{@file}' not found in '#{less_dir}'"
|
||||
end
|
||||
end
|
||||
end
|
||||
#Print CSS link in HTML layout
|
||||
'<link rel="stylesheet" type="text/css" href="/' + config['lessdone'][@file] + '" />'
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Liquid::Template.register_tag('lesscss', Jekyll::LessCSS)
|
Loading…
Add table
Add a link
Reference in a new issue