summaryrefslogtreecommitdiff
path: root/assets/css/header.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/header.css')
-rw-r--r--assets/css/header.css41
1 files changed, 41 insertions, 0 deletions
diff --git a/assets/css/header.css b/assets/css/header.css
new file mode 100644
index 0000000..f30c826
--- /dev/null
+++ b/assets/css/header.css
@@ -0,0 +1,41 @@
+/* Header
+-------------------------------------------------- */
+.nav {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ max-width: calc(var(--nav-width) + var(--gap) * 2);
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.nav a {
+ display: block;
+ line-height: var(--header-height);
+}
+
+.logo,
+.menu {
+ margin-left: var(--gap);
+ margin-right: var(--gap);
+}
+
+.logo a {
+ font-size: 24px;
+ font-weight: 700;
+}
+
+.menu {
+ display: flex;
+ list-style: none;
+ word-break: keep-all;
+ overflow-x: auto;
+}
+
+.menu li+li {
+ margin-left: var(--gap);
+}
+
+.menu a {
+ font-size: 16px;
+} \ No newline at end of file