diff options
author | mertbakir <2335694-mertbakir@users.noreply.gitlab.com> | 2021-10-23 02:39:32 +0300 |
---|---|---|
committer | mertbakir <mertbakxr@gmail.com> | 2021-10-23 02:53:53 +0300 |
commit | c140d401bbc8d8edba6ac70de1630a40f60c8c06 (patch) | |
tree | ebeba46b06036333643d007552fbc29e0b216d05 /assets | |
parent | a67e0f4bc91b0baec701d50cc091bd4fb78da2bc (diff) |
Update CSS & README
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/_layout.scss | 1 | ||||
-rw-r--r-- | assets/css/_print.scss | 80 | ||||
-rw-r--r-- | assets/css/_section.scss | 8 |
3 files changed, 31 insertions, 58 deletions
diff --git a/assets/css/_layout.scss b/assets/css/_layout.scss index b1bd8ee..b9b3388 100644 --- a/assets/css/_layout.scss +++ b/assets/css/_layout.scss @@ -66,6 +66,7 @@ main.paper { header { grid-area: 1 / 1 / 2 / 8; border-bottom: $border-color 0.05rem solid; + height: 12.75rem; .title { display: flex; diff --git a/assets/css/_print.scss b/assets/css/_print.scss index ed9e608..e1fa6b7 100644 --- a/assets/css/_print.scss +++ b/assets/css/_print.scss @@ -1,57 +1,33 @@ /* Print */ @media print { - @page { - size: A4; - margin: 0; - } - - html, body { - background: #fff; - margin: 0; - padding: 0; - } + @page { + size: A4; + margin: 0; + } - .paper, main.paper { + html, body { + background: #fff; margin: 0; - width: 210mm; - height: 297mm; - overflow: hidden; - -moz-box-shadow: none; - -webkit-box-shadow: none; - box-shadow: none; - page-break-after: always; - } - - a { - text-decoration: none; - - &:not(.non-existing)::after { - content: " (" attr(href) ")"; - margin: 0; - font-weight: 400; - font-size: 0.75rem; - color: scale-color($text-color, $lightness: 30%); - } - - .item-title & { - &::after { - content: attr(href); - display: block; - margin: 0; - } - } - - .section-publications & { - &::after { - content: attr(href); - display: block; - margin: 0 0.75rem; - } - } - } - - footer { - display: none; - } -} + padding: 0; + } + + .paper, main.paper { + margin: 0; + width: 210mm; + height: 297mm; + overflow: hidden; + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + page-break-after: always; + } + + a { + text-decoration: none; + } + + footer { + display: none; + } +}
\ No newline at end of file diff --git a/assets/css/_section.scss b/assets/css/_section.scss index 1affef6..7eba95d 100644 --- a/assets/css/_section.scss +++ b/assets/css/_section.scss @@ -11,13 +11,9 @@ } .section-title { - border-left: solid 0.4rem $text-color; - padding-left: 0.5rem; + border-left: solid 0.35rem $text-color; + padding-left: 0.4rem; font-family: $font-1; - - .right-column & { - border-left: solid 0.3rem $text-color; - } } .item { |