aboutsummaryrefslogtreecommitdiff
path: root/assets/sass/typography.scss
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/typography.scss')
-rw-r--r--assets/sass/typography.scss89
1 files changed, 0 insertions, 89 deletions
diff --git a/assets/sass/typography.scss b/assets/sass/typography.scss
deleted file mode 100644
index 565cc56..0000000
--- a/assets/sass/typography.scss
+++ /dev/null
@@ -1,89 +0,0 @@
-@import "variables";
-
-#content {
- a {
- @extend %link-default;
- }
- blockquote {
- border-left: 4px solid;
- font-style: italic;
- margin: $margin-y 0;
- padding: 8px 8px;
- & p {
- margin: 0;
- }
- }
- code {
- color: $green;
- }
- h1, h2, h3, h4, h5, h6 {
- font-size: medium;
- font-weight: bold;
- line-height: normal;
- margin: 1.2rem 0 0.8rem 0;
- }
- @for $i from 1 through 4 {
- h#{$i} {
- font-size: 1.2rem + 0.2 * (4 - $i);
- }
- }
- img {
- display: block;
- margin: $margin-y auto;
- }
- ol {
- counter-reset: list;
- list-style: none;
- padding-left: 0;
- & > li {
- padding-left: 4ch;
- text-indent: -4ch;
- margin: 4px 0;
- &:before {
- content: "[" counter(list, decimal) "] ";
- counter-increment: list;
- }
- }
- }
- pre code {
- color: inherit;
- }
- ul {
- list-style: inside;
- padding-left: 0;
- & > li {
- margin: 4px 0;
- }
- }
- table {
- margin: $margin-y auto;
- width: 100%;
- & tr {
- background-color: white;
- border: 1px solid #cccccc;
- & td {
- @extend %table-cell;
- }
- & th {
- @extend %table-cell;
- font-weight: bold;
- }
- &:nth-child(2n) {
- background-color: #f8f8f8;
- }
- }
- }
- .avatar > img {
- border-radius: 50%;
- float: right;
- margin: -8px 0 0 16px;
- height: $avatar-size;
- width: $avatar-size;
- }
- .highlight {
- margin: $margin-y auto;
- & > pre {
- padding: 8px 8px;
- }
- }
-}