revises layouts and refactors SCSS styles
This commit is contained in:
parent
a557ee73fc
commit
7029ccd4f5
17 changed files with 741 additions and 596 deletions
57
static-src/scss/hyde-hyde/_gist.scss
Normal file
57
static-src/scss/hyde-hyde/_gist.scss
Normal file
|
@ -0,0 +1,57 @@
|
|||
/*
|
||||
// https://codersblock.com/blog/customizing-github-gists
|
||||
//
|
||||
body .gist {
|
||||
.gist-file {
|
||||
margin-bottom: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
.gist-data {
|
||||
border-bottom: none;
|
||||
border-radius: 0;
|
||||
background-color: $gray-3;
|
||||
}
|
||||
.blob-wrapper {
|
||||
border-radius: 0;
|
||||
}
|
||||
.highlight {
|
||||
background-color: transparent;
|
||||
font-family: Droid Sans Mono, monospace;
|
||||
font-size: 14px;
|
||||
td {
|
||||
border: none;
|
||||
padding: 5px 15px !important;
|
||||
line-height: 1;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
}
|
||||
}
|
||||
tr {
|
||||
&:first-child td {
|
||||
padding-top: 15px !important;
|
||||
}
|
||||
&:last-child td {
|
||||
padding-bottom: 15px !important;
|
||||
}
|
||||
}
|
||||
.blob-num {
|
||||
color: #ced4da;
|
||||
background-color: #495057;
|
||||
pointer-events: none;
|
||||
}
|
||||
.gist-meta {
|
||||
//display: none;
|
||||
}
|
||||
}
|
||||
*/
|
||||
body .gist {
|
||||
.gist-data {
|
||||
background-color: $gray-0;
|
||||
}
|
||||
.highlight {
|
||||
background-color: transparent;
|
||||
}
|
||||
td {
|
||||
border: none;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue