|
@@ -10,8 +10,8 @@
|
|
|
position: absolute;
|
|
|
right: 60px;
|
|
|
top: 25px;
|
|
|
- height: $header-height;
|
|
|
- line-height: $header-height;
|
|
|
+ height: $size-headerHeight;
|
|
|
+ line-height: $size-headerHeight;
|
|
|
.break { display: none; }
|
|
|
|
|
|
li {
|
|
@@ -23,7 +23,7 @@
|
|
|
|
|
|
.nav-link {
|
|
|
padding-bottom: 3px;
|
|
|
- &:hover, &.current { border-bottom: 3px solid $primary; }
|
|
|
+ &:hover, &.current { border-bottom: 3px solid $color-primary; }
|
|
|
}
|
|
|
|
|
|
#search-query {
|
|
@@ -38,22 +38,22 @@
|
|
|
transition: border-color .2s ease;
|
|
|
background: #fff url(/images/search.png) 8px 5px no-repeat;
|
|
|
background-size: 20px;
|
|
|
- &:focus { border-color: $primary; }
|
|
|
+ &:focus { border-color: $color-primary; }
|
|
|
}
|
|
|
|
|
|
.MainLogo {
|
|
|
display: inline-block;
|
|
|
font-size: 1.5em;
|
|
|
- line-height: $header-height;
|
|
|
- color: $dark;
|
|
|
- font-family: $logo-font;
|
|
|
+ line-height: $size-headerHeight;
|
|
|
+ color: $color-dark;
|
|
|
+ font-family: $fontFamily-logo;
|
|
|
font-weight: 500;
|
|
|
|
|
|
img {
|
|
|
vertical-align: middle;
|
|
|
margin-right: 6px;
|
|
|
- width: $header-height;
|
|
|
- height: $header-height;
|
|
|
+ width: $size-headerHeight;
|
|
|
+ height: $size-headerHeight;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -128,11 +128,11 @@
|
|
|
}
|
|
|
|
|
|
.sidebar-link {
|
|
|
- color: $light;
|
|
|
+ color: $color-light;
|
|
|
|
|
|
&.current {
|
|
|
font-weight: 600;
|
|
|
- color: $primary;
|
|
|
+ color: $color-primary;
|
|
|
}
|
|
|
|
|
|
&.new &:after {
|
|
@@ -141,7 +141,7 @@
|
|
|
font-size: 10px;
|
|
|
font-weight: 600;
|
|
|
color: #fff;
|
|
|
- background-color: $primary;
|
|
|
+ background-color: $color-primary;
|
|
|
line-height: 14px;
|
|
|
padding: 0 4px;
|
|
|
border-radius: 3px;
|
|
@@ -151,12 +151,12 @@
|
|
|
top: -1px;
|
|
|
}
|
|
|
|
|
|
- &:hover { border-bottom: 2px solid $primary; }
|
|
|
+ &:hover { border-bottom: 2px solid $color-primary; }
|
|
|
}
|
|
|
|
|
|
.section-link &.active {
|
|
|
font-weight: bold;
|
|
|
- color: $primary;
|
|
|
+ color: $color-primary;
|
|
|
}
|
|
|
|
|
|
.main-menu {
|
|
@@ -194,7 +194,7 @@
|
|
|
img { max-width: 100%; }
|
|
|
|
|
|
span.light {
|
|
|
- color: $light;
|
|
|
+ color: $color-light;
|
|
|
}
|
|
|
|
|
|
span.info {
|
|
@@ -210,7 +210,7 @@
|
|
|
h2 {
|
|
|
margin: 2em 0 .8em;
|
|
|
padding-bottom: .7em;
|
|
|
- border-bottom: 1px solid $border;
|
|
|
+ border-bottom: 1px solid $color-border;
|
|
|
}
|
|
|
|
|
|
h3 {
|
|
@@ -218,7 +218,7 @@
|
|
|
position: relative;
|
|
|
&:before {
|
|
|
content: "#";
|
|
|
- color: $primary;
|
|
|
+ color: $color-primary;
|
|
|
position: absolute;
|
|
|
left: -0.7em;
|
|
|
top: -2px;
|
|
@@ -240,14 +240,14 @@
|
|
|
}
|
|
|
|
|
|
a {
|
|
|
- color: $primary;
|
|
|
+ color: $color-primary;
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
blockquote {
|
|
|
margin: 2em 0;
|
|
|
padding-left: 20px;
|
|
|
- border-left: 4px solid $primary;
|
|
|
+ border-left: 4px solid $color-primary;
|
|
|
p {
|
|
|
font-weight: 600;
|
|
|
margin-left: 0;
|
|
@@ -259,17 +259,17 @@
|
|
|
p.tip {
|
|
|
padding: 12px 24px 12px 30px;
|
|
|
margin: 2em 0;
|
|
|
- border-left: 4px solid $red;
|
|
|
- background-color: $codebg;
|
|
|
+ border-left: 4px solid $color-red;
|
|
|
+ background-color: $color-codebg;
|
|
|
position: relative;
|
|
|
- border-bottom-right-radius: $radius;
|
|
|
- border-top-right-radius: $radius;
|
|
|
+ border-bottom-right-radius: $size-radius;
|
|
|
+ border-top-right-radius: $size-radius;
|
|
|
|
|
|
&:before {
|
|
|
position: absolute;
|
|
|
top: 14px;
|
|
|
left: -12px;
|
|
|
- background-color: $red;
|
|
|
+ background-color: $color-red;
|
|
|
color: #fff;
|
|
|
content: '!';
|
|
|
width: 20px;
|
|
@@ -278,7 +278,7 @@
|
|
|
text-align: center;
|
|
|
line-height: 20px;
|
|
|
font-weight: bold;
|
|
|
- font-family: $logo-font;
|
|
|
+ font-family: $fontFamily-logo;
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
}
|
|
@@ -290,7 +290,7 @@
|
|
|
}
|
|
|
|
|
|
.footer {
|
|
|
- color: $light;
|
|
|
+ color: $color-light;
|
|
|
margin-top: 2em;
|
|
|
padding-top: 2em;
|
|
|
border-top: 1px solid #e5e5e5;
|
|
@@ -341,7 +341,7 @@
|
|
|
.nav-link {
|
|
|
padding-bottom: 1px;
|
|
|
&:hover, &.current {
|
|
|
- border-bottom: 2px solid $primary;
|
|
|
+ border-bottom: 2px solid $color-primary;
|
|
|
}
|
|
|
}
|
|
|
|