From ccb0086a352bd7a88f2e85c035bff0daf6b5e449 Mon Sep 17 00:00:00 2001 From: Maria Rushkova Date: Fri, 30 Jul 2021 14:51:20 +0200 Subject: [PATCH] Add section intro --- _includes/header.html | 193 +++++++++++++++++++++--------------------- assets/img/arrow.svg | 3 + index.html | 24 +++++- src/style.css | 48 ++++++++++- tailwind.config.js | 2 +- 5 files changed, 171 insertions(+), 99 deletions(-) create mode 100644 assets/img/arrow.svg diff --git a/_includes/header.html b/_includes/header.html index ac1a910..3dc6052 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,5 +1,5 @@
-
+
+
+
+ + +
-
- - -
+ - - - +
+ + diff --git a/index.html b/index.html index 2b8c59e..2542010 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,28 @@ layout: default --- -

Vac

+
+
+
+

+ VAC researches peer-to-peer, private, censorship resistant communication. +

+ See VAC openings +
+
Work
diff --git a/src/style.css b/src/style.css index d992f23..ed1d606 100644 --- a/src/style.css +++ b/src/style.css @@ -2,6 +2,47 @@ @tailwind components; @tailwind utilities; +h1 { + font-size: 32px; + line-height: 44px; +} + +.link--external { + font-style: italic; + font-weight: 600; + font-size: 12px; + line-height: 16px; + padding-left: 12px; + position: relative; + transition: all 0.3s; +} + +.link--external::before { + content: ""; + position: absolute; + top: 50%; + left: 0; + transform: translateY(-50%); + width: 6px; + height: 8px; + background-image: url(/assets/img/arrow.svg); + background-repeat: no-repeat; + background-size: cover; +} + +.link--external::after { + content: ""; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 1px; +} + +.link--external:hover::after { + background-color: #151512; +} + .nav { max-width: 680px; } @@ -10,7 +51,12 @@ height: 73%; } -@media (max-width: 768px) { +@media (max-width: 767px) { + h1 { + font-size: 24px; + line-height: 33px; + } + .nav { max-width: 480px; } diff --git a/tailwind.config.js b/tailwind.config.js index 6404d8e..b30185f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -3,7 +3,7 @@ module.exports = { theme: { extend: {}, screens: { - xs: { max: "450px" }, + xs: "450px", sm: "570px", "md-max": { max: "768px" }, md: "768px",