Update of the front-page

pull/1/head
CatalinScr 8 years ago
parent 49c760131e
commit 796bf89491

@ -283,8 +283,8 @@ define([
]), ]),
h('div.bs-callout.cp-callout-more', [ h('div.bs-callout.cp-callout-more', [
h('div', [ h('div', [
h('i.fa.fa-caret-down'), "see more ",
"More" h('i.fa.fa-caret-down')
]), ]),
// "TODO Make quick presentations with Markdown slides." // "TODO Make quick presentations with Markdown slides."
]), ]),

@ -71,6 +71,7 @@ h4 {
.bs-callout:hover { .bs-callout:hover {
//color: white; //color: white;
transform: scale(1.05); transform: scale(1.05);
cursor: pointer;
} }
.bs-callout:hover .fa { .bs-callout:hover .fa {
//width: 100%; //width: 100%;
@ -85,11 +86,20 @@ h4 {
transition: width 0.1s; transition: width 0.1s;
} }
.cp-callout-pad .fa { background-color: @colortheme_pad-bg; } .cp-callout-pad .fa {
background-color: @colortheme_pad-bg;
color: #fff;
}
.cp-callout-code .fa { background-color: @colortheme_code-bg; } .cp-callout-code .fa {
background-color: @colortheme_code-bg;
color: #fff;
}
.cp-callout-slide .fa { background-color: @colortheme_slide-bg; } .cp-callout-slide .fa {
background-color: @colortheme_slide-bg;
color: #fff;
}
.cp-callout-recent { border-left-color: @colortheme_drive-bg; } .cp-callout-recent { border-left-color: @colortheme_drive-bg; }
@ -101,15 +111,17 @@ h4 {
border-radius: 1em; border-radius: 1em;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
background: none;
width: 100%;
div { div {
left: auto; color: #fff;
margin-right: auto;
margin-left: auto;
position: relative;
.fa { .fa {
font-size: inherit; font-size: inherit;
padding: 0; padding: 0;
width: 1em; width: 1em;
} }
.fa-caret-down {
padding-left: 5px;
}
} }
} }
Loading…
Cancel
Save