282 lines
4.6 KiB
SCSS
282 lines
4.6 KiB
SCSS
@import "../vars";
|
|
|
|
.clearfix:after {
|
|
content: ".";
|
|
display: block;
|
|
clear: both;
|
|
visibility: hidden;
|
|
line-height: 0;
|
|
height: 0;
|
|
}
|
|
|
|
html, body {
|
|
padding: 0;
|
|
margin: 0;
|
|
border: 0;
|
|
background-color: $bg;
|
|
color: $fg;
|
|
height: 100%;
|
|
min-height: 100%;
|
|
}
|
|
body {
|
|
font-family: $ff;
|
|
font-size: $fs;
|
|
}
|
|
|
|
.base-width {
|
|
max-width: $base-width;
|
|
margin: 0 auto;
|
|
position: relative;
|
|
}
|
|
|
|
body.full-width .base-width {
|
|
max-width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
@media screen and (min-width: $wide_width) {
|
|
body.wide .base-width {
|
|
max-width: $wide_width;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"],
|
|
textarea {
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
box-sizing: border-box;
|
|
border: 1px $input-border solid;
|
|
border-radius: 0;
|
|
background-color: $input-bg;
|
|
color: $fg;
|
|
font-family: $ff;
|
|
font-size: $fs;
|
|
padding: 6px;
|
|
outline: none;
|
|
@include radius(3px);
|
|
|
|
&:focus {
|
|
border-color: $input-border-focused;
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
//input[type="checkbox"] {
|
|
// margin-left: 0;
|
|
//}
|
|
|
|
//button {
|
|
// border-radius: 2px;
|
|
// background-color: $light-bg;
|
|
// color: $fg;
|
|
// padding: 7px 12px;
|
|
// border: none;
|
|
// /*box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);*/
|
|
// font-family: $ff;
|
|
// font-size: $fs - 1px;
|
|
// outline: none;
|
|
// cursor: pointer;
|
|
// position: relative;
|
|
//}
|
|
//button:hover {
|
|
// box-shadow: 0 1px 9px rgba(0, 0, 0, 0.2);
|
|
//}
|
|
//button:active {
|
|
// top: 1px;
|
|
//}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: $link-color;
|
|
outline: none;
|
|
}
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
p, p code {
|
|
line-height: 150%;
|
|
}
|
|
|
|
.unicode { font-family: sans-serif; }
|
|
|
|
.ff_ms { font-family: $ffMono }
|
|
.fl_r { float: right }
|
|
.fl_l { float: left }
|
|
.pos_rel { position: relative }
|
|
.pos_abs { position: absolute }
|
|
.pos_fxd { position: fixed }
|
|
|
|
.page-content {
|
|
padding: 0 $side-padding;
|
|
}
|
|
.page-content-inner {
|
|
padding: $base-padding 0;
|
|
}
|
|
|
|
|
|
table.contacts {
|
|
border: 0;
|
|
border-collapse: collapse;
|
|
margin: 8px auto 0;
|
|
}
|
|
table.contacts td {
|
|
padding-bottom: 15px;
|
|
vertical-align: top;
|
|
}
|
|
table.contacts td.label {
|
|
text-align: right;
|
|
width: 30%;
|
|
color: $dark-grey;
|
|
}
|
|
table.contacts td.value {
|
|
text-align: left;
|
|
padding-left: 8px;
|
|
}
|
|
table.contacts td.value span {
|
|
background: $inline-code-block-bg;
|
|
padding: 3px 7px 4px;
|
|
border-radius: 3px;
|
|
color: $fg;
|
|
font-family: $ffMono;
|
|
font-size: $fs - 1px;
|
|
}
|
|
table.contacts td b {
|
|
font-weight: 600;
|
|
}
|
|
table.contacts td pre {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
table.contacts div.note {
|
|
font-size: $fs - 3px;
|
|
padding-top: 2px;
|
|
color: $dark-grey;
|
|
> a {
|
|
color: $dark-grey;
|
|
border-bottom: 1px $border-color solid;
|
|
&:hover {
|
|
text-decoration: none;
|
|
color: $link-color;
|
|
border-bottom-color: $link-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
.pt {
|
|
margin: 5px 0 20px;
|
|
color: $dark-fg;
|
|
padding-bottom: 7px;
|
|
border-bottom: 2px rgba(255, 255, 255, 0.12) solid;
|
|
}
|
|
.pt h3 {
|
|
margin: 0;
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
font-size: $fs;
|
|
color: $fg;
|
|
}
|
|
.pt h3:not(:first-child) {
|
|
margin-left: 5px;
|
|
}
|
|
.pt a {
|
|
margin-right: 5px;
|
|
}
|
|
.pt a:not(:first-child) {
|
|
margin-left: 5px;
|
|
}
|
|
.pt a, .pt h3 {
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
.pt_r { margin-top: 5px }
|
|
|
|
.empty {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
color: $grey;
|
|
@include radius(3px);
|
|
background-color: $dark-bg;
|
|
}
|
|
|
|
.md-file-attach {
|
|
padding: 3px 0;
|
|
}
|
|
.md-file-attach-icon {
|
|
width: 14px;
|
|
height: 14px;
|
|
background: transparent url(/img/attachment.svg) no-repeat center center;
|
|
background-size: 14px 14px;
|
|
display: inline-block;
|
|
margin-right: 5px;
|
|
position: relative;
|
|
top: 1px;
|
|
}
|
|
.md-file-attach > a {
|
|
//font-weight: bold;
|
|
}
|
|
.md-file-attach-size {
|
|
color: $grey;
|
|
margin-left: 2px;
|
|
}
|
|
.md-file-attach-note {
|
|
color: $fg;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.md-image {
|
|
padding: 3px 0;
|
|
line-height: 0;
|
|
max-width: 100%;
|
|
}
|
|
.md-images {
|
|
margin-bottom: -8px;
|
|
padding: 3px 0;
|
|
max-width: 100%;
|
|
}
|
|
.md-images .md-image {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
.md-images > span {
|
|
display: block;
|
|
float: left;
|
|
margin: 0 8px 8px 0;
|
|
max-width: 100%;
|
|
}
|
|
.md-image.align-center { text-align: center; }
|
|
.md-image.align-left { text-align: left; }
|
|
.md-image.align-right { text-align: right; }
|
|
.md-image-wrap {
|
|
display: inline-block;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.md-image-wrap > a {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
.md-image-note {
|
|
line-height: 150%;
|
|
color: $dark-grey;
|
|
padding: 2px 0 4px;
|
|
}
|
|
|
|
.md-video video {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.language-ascii {
|
|
line-height: 125% !important;
|
|
}
|