Base
This commit is contained in:
commit
a111e50cdf
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,133 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="nl">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
|
||||
<title>Bij1 Style Guide</title>
|
||||
<link rel="stylesheet" href="./style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header></header>
|
||||
<main>
|
||||
<h1>Heading 1</h1>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
|
||||
consectetur, nunc eget aliquam ultricies, nunc nunc ultricies tortor,
|
||||
quis aliquam nunc nunc sit amet nisl. Nullam consectetur, nunc eget
|
||||
aliquam ultricies, nunc nunc ultricies
|
||||
<a href="https://www.bij1.org">tortor</a>, quis aliquam nunc nunc sit
|
||||
amet nisl.
|
||||
</p>
|
||||
<h2>Heading 2</h2>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
|
||||
consectetur, nunc eget aliquam <code>ultricies</code>, nunc nunc
|
||||
ultricies tortor, quis aliquam nunc nunc sit amet nisl. Nullam
|
||||
consectetur, nunc eget aliquam ultricies, nunc nunc ultricies tortor,
|
||||
quis aliquam nunc nunc sit amet nisl.
|
||||
</p>
|
||||
|
||||
<p><img src="https://placehold.co/400x200" alt="alt text" /></p>
|
||||
|
||||
<h3>Heading 3</h3>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet,
|
||||
<strong>consectetur adipiscing</strong> elit. Nullam consectetur,
|
||||
<em>nunc eget aliquam</em> ultricies, nunc nunc ultricies tortor, quis
|
||||
aliquam nunc nunc sit amet nisl. Nullam consectetur, nunc eget aliquam
|
||||
ultricies, nunc nunc ultricies tortor, quis aliquam nunc nunc sit amet
|
||||
nisl.
|
||||
</p>
|
||||
|
||||
<blockquote>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
|
||||
consectetur, nunc eget aliquam ultricies, nunc nunc ultricies tortor,
|
||||
quis aliquam nunc nunc sit amet nisl. Nullam consectetur, nunc eget
|
||||
aliquam ultricies, nunc nunc ultricies tortor, quis aliquam nunc nunc
|
||||
sit amet nisl.
|
||||
</p>
|
||||
</blockquote>
|
||||
|
||||
<ol>
|
||||
<li>Ordered list</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ol>
|
||||
|
||||
<hr />
|
||||
|
||||
<ul>
|
||||
<li>Unordered list</li>
|
||||
<li>Second item</li>
|
||||
<li>Third item</li>
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
<code>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
|
||||
consectetur, nunc eget aliquam ultricies, nunc nunc ultricies tortor,
|
||||
quis aliquam nunc nunc sit amet nisl. Nullam consectetur, nunc eget
|
||||
aliquam ultricies, nunc nunc ultricies tortor, quis aliquam nunc nunc
|
||||
sit amet nisl.
|
||||
</code>
|
||||
</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Syntax</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Header</td>
|
||||
<td>Title</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Paragraph</td>
|
||||
<td>Text</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<pre><code>{
|
||||
<span class="hljs-attr">"firstName"</span>: <span class="hljs-string">"John"</span>,
|
||||
<span class="hljs-attr">"lastName"</span>: <span class="hljs-string">"Smith"</span>,
|
||||
<span class="hljs-attr">"age"</span>: <span class="hljs-number">25</span>
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<p>Here's a sentence with a footnote. [^1]</p>
|
||||
<p>[^1]: This is the footnote.</p>
|
||||
|
||||
<h3 id="my-great-heading-custom-id-">My Great Heading {#custom-id}</h3>
|
||||
|
||||
<p>term : definition : definition</p>
|
||||
|
||||
<p><del>The world is flat.</del></p>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<input checked="" disabled="" type="checkbox" /> Write the press
|
||||
release
|
||||
</li>
|
||||
<li><input disabled="" type="checkbox" /> Update the website</li>
|
||||
<li><input disabled="" type="checkbox" /> Contact the media</li>
|
||||
</ul>
|
||||
|
||||
<p>That is so funny! :joy:</p>
|
||||
|
||||
<p>I need to highlight these <mark>very important words</mark>.</p>
|
||||
|
||||
<p>H<sub>2</sub>O</p>
|
||||
<p>X<sup>2</sup></p>
|
||||
</main>
|
||||
<footer></footer>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,163 @@
|
|||
@font-face {
|
||||
font-family: 'Bij1';
|
||||
src: url('./assets/fonts/BIJ1-Regular.woff2');
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Bij1';
|
||||
src: url('./assets/fonts/BIJ1-SemiBold.woff2');
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'Bij1';
|
||||
src: url('./assets/fonts/BIJ1-Bold.woff2');
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
:root {
|
||||
/* Color */
|
||||
--color-black: #000000;
|
||||
--color-gray: #EDEDED;
|
||||
--color-white: #FFFFFF;
|
||||
--color-yellow: #FFFF00;
|
||||
--color-orange: #FF9600;
|
||||
--color-pink: #FF00BA;
|
||||
--color-green: #4FD600;
|
||||
--color-purple: #C700BF;
|
||||
--color-red: #FF0000;
|
||||
--color-blue: #00CCFF;
|
||||
|
||||
--color-accent: var(--color-yellow);
|
||||
|
||||
/* Fonts */
|
||||
--font-family-base: 'Bij1', sans-serif;
|
||||
|
||||
/* Font sizes */
|
||||
--font-size-xxs: 0.75rem;
|
||||
--font-size-xs: 1rem;
|
||||
--font-size-sm: 1.125rem;
|
||||
--font-size-md: 1.5rem;
|
||||
--font-size-lg: 1.9rem;
|
||||
--font-size-xl: 2.6rem;
|
||||
|
||||
/* Line height */
|
||||
--line-height: 1.5;
|
||||
|
||||
/* Spacing */
|
||||
--spacing-xxs: 2px;
|
||||
--spacing-xs: 4px;
|
||||
--spacing-sm: 8px;
|
||||
--spacing-md: 16px;
|
||||
--spacing-lg: 32px;
|
||||
--spacing-xl: 64px;
|
||||
--spacing-xxl: 128px;
|
||||
--spacing-xxxl: 256px;
|
||||
|
||||
/* Borders */
|
||||
--border-accent-size: 10px;
|
||||
--border-accent: var(--border-accent-size) solid;
|
||||
--border-accent-image-source: linear-gradient(to right,
|
||||
var(--color-orange) calc(100%/6*1),
|
||||
var(--color-pink) calc(100%/6*1),
|
||||
var(--color-pink) calc(100%/6*2),
|
||||
var(--color-green) calc(100%/6*2),
|
||||
var(--color-green) calc(100%/6*3),
|
||||
var(--color-purple) calc(100%/6*3),
|
||||
var(--color-purple) calc(100%/6*4),
|
||||
var(--color-red) calc(100%/6*4),
|
||||
var(--color-red) calc(100%/6*5),
|
||||
var(--color-blue) calc(100%/6*5)
|
||||
);
|
||||
--border-accent-image-slice: 1;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: var(--font-family-base);
|
||||
text-rendering: optimizeLegibility;
|
||||
line-height: var(--line-height);
|
||||
font-size: var(--font-size-md);
|
||||
color: var(--color-black);
|
||||
text-decoration-skip-ink: skip-ink;
|
||||
}
|
||||
|
||||
header {
|
||||
position: relative;
|
||||
border-bottom: var(--border-accent);
|
||||
border-image-source: var(--border-accent-image-source);
|
||||
border-image-slice: var(--border-accent-image-slice);
|
||||
}
|
||||
|
||||
main {
|
||||
max-width: 40em;
|
||||
margin: 0 auto;
|
||||
padding: var(--spacing-md);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: var(--font-size-xl);
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: var(--font-size-lg);
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
p,
|
||||
blockquote,
|
||||
ol,
|
||||
ul,
|
||||
hr,
|
||||
table,
|
||||
pre {
|
||||
margin-bottom: var(--spacing-md);
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-size: var(--font-size-xxl);
|
||||
}
|
||||
|
||||
ol,
|
||||
ul {
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: var(--color-gray);
|
||||
}
|
||||
|
||||
pre > code {
|
||||
display: block;
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--color-black);
|
||||
text-decoration: underline;
|
||||
background-color: var(--color-accent);
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
Loading…
Reference in New Issue