Skip to content
Snippets Groups Projects
Commit 41a41d89 authored by Christophe's avatar Christophe
Browse files

fix: link color

parent 81ec962a
No related branches found
No related tags found
1 merge request!14fix(frontend): improve error legibility and reporting
...@@ -8,7 +8,7 @@ type LayoutProps = { ...@@ -8,7 +8,7 @@ type LayoutProps = {
const Layout: FC<PropsWithChildren<LayoutProps>> = ({ children, className }) => ( const Layout: FC<PropsWithChildren<LayoutProps>> = ({ children, className }) => (
<div className="flex min-h-screen flex-col"> <div className="flex min-h-screen flex-col">
<Navbar /> <Navbar />
<div className="bg-white"> <div className="grow bg-white">
<div className="container mx-auto grow"> <div className="container mx-auto grow">
<main className={className}>{children}</main> <main className={className}>{children}</main>
</div> </div>
......
import 'normalize.css/normalize.css'; import 'normalize.css/normalize.css';
import 'styles/style.scss';
import 'styles/tailwind.css'; import 'styles/tailwind.css';
import 'styles/style.scss';
import type { AppProps } from 'next/app'; import type { AppProps } from 'next/app';
import { type FC, type PropsWithChildren } from 'react'; import { type FC, type PropsWithChildren } from 'react';
......
...@@ -13,6 +13,23 @@ code { ...@@ -13,6 +13,23 @@ code {
font-size: 0.7em; font-size: 0.7em;
} }
a {
scroll-margin-top: $navbar-height + 1rem;
text-decoration: underline;
color: theme( "colors.blue.600" );
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
margin-bottom: .5rem;
}
h1, .h1 {
font-size: 2rem;
}
h2, .h2 {
font-size: 1.33rem;
}
.section { .section {
padding-top: 100px; padding-top: 100px;
} }
...@@ -65,16 +82,6 @@ code { ...@@ -65,16 +82,6 @@ code {
font-weight: bold; font-weight: bold;
} }
.deep-picture {
position: relative;
width: 80%;
}
.entry-title {
width: 100%;
font-size: 2em;
}
/* Navbar */ /* Navbar */
.navbar { .navbar {
display: block; display: block;
...@@ -115,33 +122,6 @@ code { ...@@ -115,33 +122,6 @@ code {
.navbar-link.active { .navbar-link.active {
color: #33C3F0; color: #33C3F0;
} }
.has-docked-nav .navbar {
position: fixed;
top: 0;
left: 0;
}
.has-docked-nav .navbar-spacer {
display: block;
}
/* Re-overiding the width 100% declaration to match size of % based container */
.has-docked-nav .navbar > .container {
width: 80%;
}
/* Images */
main {
margin-block: 1.5rem;
border-radius: 0.5rem;
padding: $container-padding;
}
input, select, textarea {
width: 100%;
}
.button, button {
background-color: white;
}
.navbar-button { .navbar-button {
font-family: Arial, serif; font-family: Arial, serif;
...@@ -160,6 +140,21 @@ input, select, textarea { ...@@ -160,6 +140,21 @@ input, select, textarea {
color: #0FA0CE; color: #0FA0CE;
} }
/* Images */
main {
margin-block: 1.5rem;
border-radius: 0.5rem;
padding: $container-padding;
}
input, select, textarea {
width: 100%;
}
.button, button {
background-color: white;
}
.modal { .modal {
border: 0; border: 0;
box-shadow: 0 0 1em black; box-shadow: 0 0 1em black;
...@@ -183,16 +178,6 @@ input, select, textarea { ...@@ -183,16 +178,6 @@ input, select, textarea {
color: #000000; color: #000000;
} }
.flex {
display: flex;
}
.justify-end {
justify-content: flex-end;
}
.flex-gap {
gap: 1rem;
}
.border-warning { .border-warning {
border: 1px solid rgb(100% 80% 20%) !important; border: 1px solid rgb(100% 80% 20%) !important;
background-color: rgb(255 242 204) !important; background-color: rgb(255 242 204) !important;
...@@ -235,10 +220,6 @@ button:disabled, .button:disabled, .button-primary:disabled { ...@@ -235,10 +220,6 @@ button:disabled, .button:disabled, .button-primary:disabled {
width: auto; width: auto;
} }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
margin-bottom: .5rem;
}
hr { hr {
border-top: 1px solid #888; border-top: 1px solid #888;
} }
...@@ -247,19 +228,4 @@ hr { ...@@ -247,19 +228,4 @@ hr {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
}
a {
scroll-margin-top: $navbar-height + 1rem;
text-decoration: underline;
color: theme( "colors.blue.600" );
}
h1, .h1 {
font-size: 2rem;
}
h2, .h2 {
font-size: 1.33rem;
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment