diff options
| author | Valentin Popov <info@valentineus.link> | 2020-01-23 19:26:23 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-23 19:26:23 +0300 | 
| commit | d05dfb5fbc9603491643a41a47ff9463bf2fda4e (patch) | |
| tree | 5be50a926a746832df84e7a4abd04eb967f0bb79 /_scss/components | |
| parent | d48911089650991034664eac3d2dc2cb2527fcaa (diff) | |
| parent | 11c402a2938935111fc6c82f53b720eb71e355c7 (diff) | |
| download | popov.link-d05dfb5fbc9603491643a41a47ff9463bf2fda4e.tar.xz popov.link-d05dfb5fbc9603491643a41a47ff9463bf2fda4e.zip | |
Merge pull request #2 from valentineus/monopage
Monopage
Diffstat (limited to '_scss/components')
| -rw-r--r-- | _scss/components/_avatar.scss | 9 | ||||
| -rw-r--r-- | _scss/components/_core.scss | 38 | ||||
| -rw-r--r-- | _scss/components/_header.scss | 9 | 
3 files changed, 1 insertions, 55 deletions
| diff --git a/_scss/components/_avatar.scss b/_scss/components/_avatar.scss deleted file mode 100644 index e4b133f..0000000 --- a/_scss/components/_avatar.scss +++ /dev/null @@ -1,9 +0,0 @@ -.avatar { -  margin: auto; -  max-width: 148px; -  text-align: center; - -  img { -    border-radius: 10px; -  } -} diff --git a/_scss/components/_core.scss b/_scss/components/_core.scss index f3a28f1..46740ac 100644 --- a/_scss/components/_core.scss +++ b/_scss/components/_core.scss @@ -4,47 +4,11 @@  *::after,  *::before {    @include text-size-adjust(100%); +    box-sizing: border-box;  }  html {    background-color: $color-html; -  height: 100%;    overflow-y: scroll;  } - -body { -  display: flex; -  flex-direction: row; -  min-height: 100%; -} - -.container { -  flex: 75%; -  padding-right: 16px; -} - -.sidebar { -  border-left: 1px solid $color-bg-alt; -  flex: 25%; -  height: 100%; -  padding-left: 16px; -} - -@media (max-width: 684px) { -  body { -    flex-direction: column; -  } - -  .container { -    flex: 100%; -    padding-right: 0; -  } - -  .sidebar { -    border: 0; -    display: none; -    flex: 100%; -    padding-left: 0; -  } -} diff --git a/_scss/components/_header.scss b/_scss/components/_header.scss deleted file mode 100644 index c5b95b8..0000000 --- a/_scss/components/_header.scss +++ /dev/null @@ -1,9 +0,0 @@ -header { -  border-bottom: 1px solid $color-bg-alt; -} - -article { -  header { -    padding-bottom: 16px; -  } -} | 
