1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- .el-article-content {
- font: 1.2em/1.6em @font-family-serif;
- max-width: 50em;
- text-align: justify;
- blockquote {
- border-left: 0; // override bootstrap
- font-family: @font-family-sans-serif;
- font-size: inherit;
- font-weight: 300;
- margin-left: 2em;
- quotes: "\201C""\201D""\2018""\2019";
- &:before {
- color: @gray;
- content: open-quote;
- font-size: 4em;
- line-height: 0.1em;
- margin-right: 0.25em;
- vertical-align: -0.4em;
- }
- }
- img {
- &:extend(.img-responsive);
- border: 2px solid #EEE;
- padding: 5px;
- }
- // Syntax Highlight
- table.highlighttable {
- table-layout: fixed;
- width: 100%;
- td.linenos {
- padding-right: 2px;
- width: @el-syntax-highlight-line-no-width;
- div.linenodiv {
- pre {
- background-color: @el-syntax-highlight-line-no-background-color;
- border-radius: @border-radius-base 0 0 @border-radius-base;
- color: @el-syntax-highlight-line-no-color;
- overflow: scroll;
- text-align: center;
- }
- }
- }
- td.code {
- width: 100 - @el-syntax-highlight-line-no-width;
- div.highlight {
- // pygments.css has a rule for div.highlight color. Give it the same border that
- // descendent pre has.
- border-radius: 0 @border-radius-base @border-radius-base 0;
- pre {
- border-radius: 0 @border-radius-base @border-radius-base 0;
- }
- }
- }
- }
- }
|