From acebb3a44e5cf2a96eb48fd35a3574833f9b0bf1 Mon Sep 17 00:00:00 2001 From: Andrii-Moshenskyi Date: Thu, 21 Jan 2021 13:04:08 +0200 Subject: Fix the SASS compilation error --- sass/fonts.sass | 3 +-- sass/front-page/banner.sass | 6 +----- sass/front-page/bottom-text.sass | 2 +- sass/front-page/inform-columns.sass | 2 +- sass/front-page/main-text.sass | 2 +- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/sass/fonts.sass b/sass/fonts.sass index 8875af9..a22bc92 100644 --- a/sass/fonts.sass +++ b/sass/fonts.sass @@ -1,4 +1,3 @@ - @font-face font-family: 'Lato' font-style: normal @@ -21,4 +20,4 @@ font-weight: 900 font-display: swap src: local('Lato Black'), local('Lato-Black'), url('../fonts/lato-black.woff2') format('woff2') - unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD \ No newline at end of file diff --git a/sass/front-page/banner.sass b/sass/front-page/banner.sass index c243d03..8cbea55 100644 --- a/sass/front-page/banner.sass +++ b/sass/front-page/banner.sass @@ -1,4 +1,4 @@ -@import settings.sass +@import ../settings.sass section.banner background-image: url("/img/front-page/banner/banner-bg.svg") @@ -62,10 +62,6 @@ section.banner +resp(sm) height: 38px font-size: 14px - // margin-left: auto - // margin-right: auto - // margin-top: 50px - // position: absolute &:hover background: $white color: $black \ No newline at end of file diff --git a/sass/front-page/bottom-text.sass b/sass/front-page/bottom-text.sass index e8aee16..60b83d6 100644 --- a/sass/front-page/bottom-text.sass +++ b/sass/front-page/bottom-text.sass @@ -1,4 +1,4 @@ -@import settings.sass +@import ../settings.sass section.bottom-text div.bottom-text__inner diff --git a/sass/front-page/inform-columns.sass b/sass/front-page/inform-columns.sass index 68930df..a12befa 100644 --- a/sass/front-page/inform-columns.sass +++ b/sass/front-page/inform-columns.sass @@ -1,4 +1,4 @@ -@import settings.sass +@import ../settings.sass section.inform-columns div.inform-column__inner diff --git a/sass/front-page/main-text.sass b/sass/front-page/main-text.sass index 54e0786..2534165 100644 --- a/sass/front-page/main-text.sass +++ b/sass/front-page/main-text.sass @@ -1,4 +1,4 @@ -@import settings.sass +@import ../settings.sass section.main-text max-width: 884px -- cgit v1.2.3 From 7db3add7156413c25aa9461dfa5fdcc50c35be3a Mon Sep 17 00:00:00 2001 From: Andrii-Moshenskyi Date: Thu, 21 Jan 2021 13:05:05 +0200 Subject: Move fixup.css styles to main.sass, add .container to #content block --- sass/main.sass | 14 +++++++++++++- site/index.html | 6 +++--- templates/main.html | 5 +++-- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/sass/main.sass b/sass/main.sass index 53de465..6e409f8 100644 --- a/sass/main.sass +++ b/sass/main.sass @@ -21,16 +21,28 @@ p font-weight: normal font-size: 18px line-height: 180% - text-align: center color: $black +resp(sm) font-size: 14px + @supports (hyphens: auto) + text-align: justify + hyphens: auto + +pre, code, sample + white-space: pre-wrap + hyphens: none div.container max-width: 1340px margin: 0 auto padding-left: 15px padding-right: 15px + &.small + max-width: 1000px + +#content + margin-top: 20px + margin-bottom: 20px @import header.sass @import front-page/banner.sass diff --git a/site/index.html b/site/index.html index 0cd9146..7cb2a4a 100644 --- a/site/index.html +++ b/site/index.html @@ -1,6 +1,6 @@
-

VyOS is a fully open source, enterprise-grade router platform. Being open source and community-driven is not a liability for us, not an early stage gimmick we want to shed—it’s our distinctive advantage. VyOS started as a community fork of a discontinued Vyatta Core project in 2013, with a promise to live up to free and open source software values. We kept the promise and turned VyOS into a successful, self-funded project.

+

VyOS is a fully open source, enterprise-grade router platform. Being open source and community-driven is not a liability for us, not an early stage gimmick we want to shed—it’s our distinctive advantage. VyOS started as a community fork of a discontinued Vyatta Core project in 2013, with a promise to live up to free and open source software values. We kept the promise and turned VyOS into a successful, self-funded project.

@@ -90,8 +90,8 @@
-

Funding model

-

VyOS is funded through cloud marketplace images, prebuilt LTS image subscriptions, and support/consulting services.

+

Funding model

+

VyOS is funded through cloud marketplace images, prebuilt LTS image subscriptions, and support/consulting services.

diff --git a/templates/main.html b/templates/main.html index 9292d1b..d9f5c82 100644 --- a/templates/main.html +++ b/templates/main.html @@ -12,7 +12,6 @@ - @@ -53,7 +52,9 @@
-
+
+ +