style links on info pages, and fix layouts

pull/1/head
ansuz 8 years ago
parent 72c4175b6f
commit 9d0252e989

@ -9,7 +9,7 @@
html.cp, .cp body { html.cp, .cp body {
font-size: .875em; font-size: .875em;
background-color: @base; background-color: @page-white; //@base;
color: @fore; color: @fore;
font-family: Georgia,Cambria,serif; font-family: Georgia,Cambria,serif;
@ -90,11 +90,16 @@ h6 {
a { a {
cursor: pointer; cursor: pointer;
color: @cp-darkblue; color: @cp-light-blue;
//#41b7d8; //@cp-darkblue;
text-decoration: none; text-decoration: none;
&:hover { &:hover {
color: @cp-accent2; color: darken(@cp-light-blue, 10%); //@cp-accent2;
}
&:visited {
color: @cp-purple;
} }
} }
@ -124,7 +129,7 @@ body.html {
width: 100%; width: 100%;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
background: #fff; //@base; background: @page-white;
padding: 10px 0;//@main-border-width; padding: 10px 0;//@main-border-width;
position: relative; position: relative;
@ -230,14 +235,16 @@ body.html {
} }
} }
.mainOverlay { #main {
position: absolute; .mainOverlay {
top: 0; position: absolute;
left: 0; top: 0;
right: 0; left: 0;
bottom: 0; right: 0;
background-color: #000; bottom: 0;
opacity: 0.3; background-color: #000;
opacity: 0.35;
}
} }
#mainBlock { #mainBlock {
&.hidden { &.hidden {
@ -269,8 +276,6 @@ body.html {
transform: translateY(-50%); transform: translateY(-50%);
} }
} }
background: @main-bg;
background-size: cover;
} }
#main { #main {
background: @main-bg; background: @main-bg;
@ -280,6 +285,7 @@ body.html {
} }
#main_other { #main_other {
padding: 0 @main-border-width; padding: 0 @main-border-width;
background-color: @page-white;
} }
.category { .category {

@ -13,6 +13,8 @@
box-sizing: border-box; box-sizing: border-box;
font-size: 30px; font-size: 30px;
border-bottom: 1px solid darken(@topbar-back, 15%);
&> span { &> span {
vertical-align: middle; vertical-align: middle;
display: inline-block; display: inline-block;

@ -18,10 +18,12 @@
@cp-blue: #00CFC1; @cp-blue: #00CFC1;
@cp-blue: #00ADEE; @cp-blue: #00ADEE;
@cp-light-blue: lighten(@cp-blue, 20%); @cp-light-blue: #41b7d8; // lighten(@cp-blue, 20%);
@cp-purple: #558; @cp-purple: #558;
@page-white: #fafafa;
// alertify things // alertify things
@box-shadow: 0 2px 5px 0 rgba(0,0,0,.2); @box-shadow: 0 2px 5px 0 rgba(0,0,0,.2);

Loading…
Cancel
Save