updated style to dark
This commit is contained in:
parent
2ac72deaf7
commit
283f997c20
2 changed files with 41 additions and 15 deletions
|
@ -57,6 +57,8 @@ a:hover
|
||||||
background: $base02
|
background: $base02
|
||||||
|
|
||||||
#content
|
#content
|
||||||
|
background: $base03
|
||||||
|
color: $base1
|
||||||
width: 37*$unit + 2*$hmargin
|
width: 37*$unit + 2*$hmargin
|
||||||
margin: 0 auto
|
margin: 0 auto
|
||||||
padding: 0
|
padding: 0
|
||||||
|
@ -64,6 +66,16 @@ a:hover
|
||||||
color: $base0
|
color: $base0
|
||||||
padding: 0 $hmargin
|
padding: 0 $hmargin
|
||||||
margin: $unit 0
|
margin: $unit 0
|
||||||
|
table
|
||||||
|
margin: $unit 0
|
||||||
|
padding: 0 $hmargin
|
||||||
|
tr
|
||||||
|
&:nth-child(odd)
|
||||||
|
background-color: $base02
|
||||||
|
td
|
||||||
|
border: solid 1px $base01
|
||||||
|
padding: 0.25*$unit
|
||||||
|
margin: 0
|
||||||
figure
|
figure
|
||||||
margin: 0
|
margin: 0
|
||||||
padding: 0
|
padding: 0
|
||||||
|
@ -76,16 +88,16 @@ a:hover
|
||||||
img
|
img
|
||||||
width: 100%
|
width: 100%
|
||||||
pre
|
pre
|
||||||
background: $base3
|
background: $base03
|
||||||
font-family: monaco, monospace
|
font-family: monaco, monospace
|
||||||
font-size: 0.8*$unit
|
font-size: 0.8*$unit
|
||||||
overflow: auto
|
overflow: auto
|
||||||
padding: $unit
|
padding: $unit
|
||||||
line-height: 1.4 * 0.8 * $unit
|
line-height: 1.4 * 0.8 * $unit
|
||||||
border-top: solid 1px $base2
|
border-top: solid 1px $base01
|
||||||
border-bottom: solid 1px $base2
|
border-bottom: solid 1px $base01
|
||||||
pre code
|
pre code
|
||||||
background: $base3
|
background: $base03
|
||||||
ul
|
ul
|
||||||
list-style: none
|
list-style: none
|
||||||
ul li:before
|
ul li:before
|
||||||
|
@ -139,19 +151,22 @@ a:hover
|
||||||
.cut:hover
|
.cut:hover
|
||||||
opacity: 1
|
opacity: 1
|
||||||
hr
|
hr
|
||||||
color: $base2
|
color: $base01
|
||||||
border-color: $base2
|
border-color: $base01
|
||||||
margin: 0 $hmargin
|
margin: 0 $hmargin
|
||||||
p code, li code
|
p code, li code
|
||||||
padding: 1px 2px
|
padding: 1px 2px
|
||||||
background: $base3
|
background: $base02
|
||||||
border: solid 1px $base2
|
border: solid 1px $base01
|
||||||
blockquote
|
#content
|
||||||
border: solid 1px $base2
|
blockquote
|
||||||
background: $base3
|
border: solid 1px $base01
|
||||||
code
|
background: $base02
|
||||||
background: $base2
|
p
|
||||||
border: solid 1px rgba(0,0,0,0.1)
|
padding: 0 $unit
|
||||||
|
code
|
||||||
|
background: $base02
|
||||||
|
border: solid 1px rgba(0,0,0,0.1)
|
||||||
|
|
||||||
// Specific elements
|
// Specific elements
|
||||||
#social,#choixrss,#comment
|
#social,#choixrss,#comment
|
||||||
|
@ -173,7 +188,7 @@ blockquote
|
||||||
.intro
|
.intro
|
||||||
font-size: 14px
|
font-size: 14px
|
||||||
line-height: 21px
|
line-height: 21px
|
||||||
color: $base02
|
color: $base0
|
||||||
.left
|
.left
|
||||||
float: left
|
float: left
|
||||||
.right
|
.right
|
||||||
|
@ -181,6 +196,10 @@ blockquote
|
||||||
#content
|
#content
|
||||||
img.right, img.left
|
img.right, img.left
|
||||||
max-width: 30%
|
max-width: 30%
|
||||||
|
img.left
|
||||||
|
margin: 0 (0.5*$hmargin) 0 $hmargin
|
||||||
|
img.right
|
||||||
|
margin: 0 $hmargin 0 (0.5*$hmargin)
|
||||||
.flush
|
.flush
|
||||||
clear: both
|
clear: both
|
||||||
|
|
||||||
|
@ -291,6 +310,8 @@ blockquote
|
||||||
// Presentation
|
// Presentation
|
||||||
#content
|
#content
|
||||||
section.slide
|
section.slide
|
||||||
|
border-top: 1px solid $base01
|
||||||
|
border-bottom: 1px solid $base01
|
||||||
& > *
|
& > *
|
||||||
padding: 0 $unit
|
padding: 0 $unit
|
||||||
margin-bottom: 2*$unit
|
margin-bottom: 2*$unit
|
||||||
|
@ -337,3 +358,7 @@ blockquote
|
||||||
margin: 0 auto
|
margin: 0 auto
|
||||||
img
|
img
|
||||||
max-width: 80%
|
max-width: 80%
|
||||||
|
.codefile
|
||||||
|
font-size: 0.7*$unit
|
||||||
|
text-align: right
|
||||||
|
margin-bottom: -2*$unit
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
<link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/css/solarized.css" />
|
<link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/css/solarized.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/css/idc.css" />
|
<link rel="stylesheet" type="text/css" href="<%=@config[:webprefix]%>/css/idc.css" />
|
||||||
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
|
||||||
|
<link href='http://fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/yannespositocom<%= language %>"/><%
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://feeds.feedburner.com/yannespositocom<%= language %>"/><%
|
||||||
languages.each do |lang|
|
languages.each do |lang|
|
||||||
item_for_lang=item_of_language(lang)
|
item_for_lang=item_of_language(lang)
|
||||||
|
|
Loading…
Reference in a new issue