diff options
author | Andrii-Moshenskyi <andrii.moshenskyi@gmail.com> | 2021-01-21 13:05:05 +0200 |
---|---|---|
committer | Andrii-Moshenskyi <andrii.moshenskyi@gmail.com> | 2021-01-21 13:05:05 +0200 |
commit | 7db3add7156413c25aa9461dfa5fdcc50c35be3a (patch) | |
tree | 705c3868d3f1828d6e006833fae1d8ce1d91caa3 | |
parent | acebb3a44e5cf2a96eb48fd35a3574833f9b0bf1 (diff) | |
download | community.vyos.net-7db3add7156413c25aa9461dfa5fdcc50c35be3a.tar.gz community.vyos.net-7db3add7156413c25aa9461dfa5fdcc50c35be3a.zip |
Move fixup.css styles to main.sass, add .container to #content block
-rw-r--r-- | sass/main.sass | 14 | ||||
-rw-r--r-- | site/index.html | 6 | ||||
-rw-r--r-- | 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 @@ <section class="main-text"> <div class="container"> - <p class="main-text__title">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. </p> + <p>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. </p> </div> </section> @@ -90,8 +90,8 @@ <section class="bottom-text"> <div class="container"> <div class="bottom-text__inner"> - <h2 class="bottom-text__title">Funding model</h2> - <p class="bottom text__subtitle">VyOS is funded through cloud marketplace images, prebuilt LTS image subscriptions, and support/consulting services.</p> + <h2>Funding model</h2> + <p>VyOS is funded through cloud marketplace images, prebuilt LTS image subscriptions, and support/consulting services.</p> </div> </div> </section> 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 @@ <meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="/css/main.css">
- <link rel="stylesheet" href="/css/fixup.css">
</head>
<body>
@@ -53,7 +52,9 @@ <main>
- <div id="content"><!-- content is automatically inserted here --></div>
+ <div class="container small" id="content">
+ <!-- content is automatically inserted here -->
+ </div>
</main>
<footer>
|