1
0
www.mikescher.com/www/data/css/styles_blogview.scss

118 lines
1.9 KiB
SCSS
Raw Normal View History

2017-12-30 23:11:51 +01:00
@import 'styles_config';
.blogcontent {
color: $COL_TEXT_DARK;
border: 1px solid black;
background-color: $COL_BACKGROUND_2;
2017-12-30 23:46:27 +01:00
width: 90%;
2017-12-30 23:11:51 +01:00
margin-left: auto;
margin-right: auto;
}
.bc_header {
background-color: #BBB;
padding: 0 4px;
}
.bc_data {
padding: 8px;
2017-12-30 23:46:27 +01:00
}
2018-01-01 23:03:05 +01:00
.bc_markdown {
code {
font-family: $FONT_CODE;
direction: ltr;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
-moz-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
2017-12-31 17:53:59 +01:00
}
2018-01-01 23:03:05 +01:00
pre {
font-size: 14px;
display: block;
padding: 9.5px;
margin: 0 0 10px;
line-height: 20px;
word-break: break-all;
word-wrap: break-word;
white-space: pre-wrap;
background-color: $COL_BACKGROUND_3;
color: black;
border: 1px solid rgba(0,0,0,.15);
border-radius: 2px;
2017-12-31 17:53:59 +01:00
}
2018-01-01 23:03:05 +01:00
blockquote {
padding: 0 0 0 15px;
margin: 0 0 20px;
border-left: 5px solid #CCC;
2017-12-31 17:53:59 +01:00
}
2018-01-01 23:03:05 +01:00
img {
max-width: 100%;
2017-12-31 17:53:59 +01:00
}
2018-01-01 23:03:05 +01:00
table {
border-collapse: collapse;
text-align: left;
width: 100%;
border: 1px solid #666;
td, th {
padding: 3px 10px;
}
thead th {
background-color: #7D7D7D;
color: #FFFFFF;
font-weight: bold;
border-left: 1px solid #444;
}
thead th:first-child {
border: none;
}
tbody td {
border-left: 1px solid #666;
font-weight: normal;
}
tbody .alt td {
background: #EBEBEB;
}
tbody td:first-child {
border-left: none;
}
tbody tr:last-child td {
border-bottom: none;
}
tbody tr:nth-child(odd) {
background-color: #ccc;
}
2017-12-31 17:53:59 +01:00
}
2018-01-01 23:03:05 +01:00
}
2017-12-31 17:53:59 +01:00
2018-01-01 23:03:05 +01:00
.mdtable_container {overflow-x: auto;}
2017-12-31 17:53:59 +01:00
2018-01-01 23:03:05 +01:00
.notable {
width: unset !important;
border: none !important;
2017-12-31 17:53:59 +01:00
2018-01-01 23:03:05 +01:00
th,td,tr {
border: none !important;
background: transparent !important;
2017-12-31 17:53:59 +01:00
}
}