1
0
Fork 0
main
Gustav Lindqvist 7 months ago
parent 9ac2104779
commit 8d8e136fb4

@ -13,7 +13,7 @@ const collections = require('./.eleventy_config/collections');
const CONTENT_GLOBS = {
posts: 'src/posts/**/*.md|pages/**/*.md',
assets: '*.gpx|*.fit|*.pdf|'
assets: '*.gpx|*.fit|*.pdf'
};
module.exports = function (eleventyConfig) {

@ -1,317 +0,0 @@
---
id: 5c1b66bce8811c00bf02ad55
title: "Full Style Test"
custom_excerpt: "Below is just about everything youll need to style in the theme. Check the source code to see the many embedded elements within paragraphs."
date: 2018-12-20
eleventyExcludeFromCollections: true
---
Below is just about everything youll need to style in the theme. Check the source code to see the many embedded elements within paragraphs.
* * *
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
* * *
Lorem ipsum dolor sit amet, [test link](# "test link") adipiscing elit. **This is strong.** Nullam dignissim convallis est. Quisque aliquam. _This is emphasized._ Donec faucibus. Nunc iaculis suscipit dui. 5<sup>3</sup> = 125\. Water is H<sub>2</sub>O. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. <cite>The New York Times</cite> (Thats a citation). <span style="text-decoration:underline;">Underline.</span> Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.
<abbr title="Hyper Text Markup Language">HTML</abbr> and <abbr title="Cascading Style Sheets">CSS</abbr> are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. To copy a file type `COPY <var>filename</var>`. <del>Dinners at 5:00.</del> <ins>Lets make that 7.</ins> This <span style="text-decoration:line-through;">text</span> has been struck.
* * *
## Media
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore.
![Lightning strike over forest in Jönköping](/assets/images/2021/02/20210130_125120-1.jpg "Caption test"){.image .-wide}
![Gjuterihallen i Högskolebiblioteket i Jönköping](/assets/images/Gustav-Lindqvist_2021-12-10_03608-Pano.jpg "Caption test"){.image .exif .-full}
* * *
## List Types
### Definition List
<dl>
<dt>Definition List Title</dt>
<dd>This is a definition list division.</dd>
<dt>Definition</dt>
<dd>An exact statement or description of the nature, scope, or meaning of something: _our definition of what constitutes poetry.</dd>
</dl>
### Ordered List
1. List Item 1
2. List Item 2
1. Nested list item A
2. Nested list item B
3. List Item 3
### Unordered List
* List Item 1
* List Item 2
* Nested list item A
* Nested list item B
* List Item 3
### Checkbox List
* [x] List Item 1
* [x] List Item 2
* [ ] Nested list item A
* [ ] Nested list item B
* [ ] List Item 3
* * *
## Table
<table>
<tbody>
<tr>
<th>Table Header 1</th>
<th>Table Header 2</th>
<th>Table Header 3</th>
</tr>
<tr>
<td>Division 1</td>
<td>Division 2</td>
<td>Division 3</td>
</tr>
<tr class="even">
<td>Division 1</td>
<td>Division 2</td>
<td>Division 3</td>
</tr>
<tr>
<td>Division 1</td>
<td>Division 2</td>
<td>Division 3</td>
</tr>
</tbody>
</table>
* * *
## Preformatted Text
Typographically, preformatted text is not the same thing as code. Sometimes, a faithful execution of the text requires preformatted text that may not have anything to do with code. Most browsers use Courier and thats a good default — with one slight adjustment, Courier 10 Pitch over regular Courier for Linux users.
### Code
Code can be presented inline, like `<?php bloginfo('stylesheet_url'); ?>`, or within a `<pre>` block. Because we have more specific typographic needs for code, well specify Consolas and Monaco ahead of the browser-defined monospace font.
```css
#container {
float: left; margin: 0 -240px 0 0; width: 100%;
}
```
* * *
## Blockquotes
Lets keep it simple. Italics are good to help set it off from the body text. Be sure to style the citation.
> Good afternoon, gentlemen. I am a HAL 9000 computer. I became operational at the H.A.L. plant in Urbana, Illinois on the 12th of January 1992\. My instructor was Mr. Langley, and he taught me to sing a song. If youd like to hear it I can sing it for you. <cite>[HAL 9000](http://en.wikipedia.org/wiki/HAL_9000)</cite>
And heres a bit of trailing text.
* * *
## Text-level semantics
The [a element](#) example
The <abbr>abbr element</abbr> and <abbr title="Title text">abbr element with title</abbr> examples
The **b element** example
The <cite>cite element</cite> example
The `code element` example
The <del>del element</del> example
The <dfn>dfn element</dfn> and <dfn title="Title text">dfn element with title</dfn> examples
The _em element_ example
The _i element_ example
The <ins>ins element</ins> example
The <kbd>kbd element</kbd> example
The <mark>mark element</mark> example
The <q>q element <q>inside</q> a q element</q> example
The <s>s element</s> example
The <samp>samp element</samp> example
The <small>small element</small> example
The <span>span element</span> example
The **strong element** example
The <sub>sub element</sub> example
The <sup>sup element</sup> example
The <var>var element</var> example
The <u>u element</u> example
* * *
## Forms
<form>
<fieldset><legend>Inputs as descendents of labels (form legend)</legend> <label>**Text input** <input type="text" value="default value" style="background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHklEQVQ4EaVTO26DQBD1ohQWaS2lg9JybZ+AK7hNwx2oIoVf4UPQ0Lj1FdKktevIpel8AKNUkDcWMxpgSaIEaTVv3sx7uztiTdu2s/98DywOw3Dued4Who/M2aIx5lZV1aEsy0+qiwHELyi+Ytl0PQ69SxAxkWIA4RMRTdNsKE59juMcuZd6xIAFeZ6fGCdJ8kY4y7KAuTRNGd7jyEBXsdOPE3a0QGPsniOnnYMO67LgSQN9T41F2QGrQRRFCwyzoIF2qyBuKKbcOgPXdVeY9rMWgNsjf9ccYesJhk3f5dYT1HX9gR0LLQR30TnjkUEcx2uIuS4RnI+aj6sJR0AM8AaumPaM/rRehyWhXqbFAA9kh3/8/NvHxAYGAsZ/il8IalkCLBfNVAAAAABJRU5ErkJggg==&quot;); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%;"> </label> <label> **Email input** <input type="email"> </label> <label> **Search input** <input type="search"> </label> <label> **Tel input** <input type="tel"> </label> <label> **URL input** <input type="url" placeholder="http://"> </label> <label> **Password input** <input type="password" value="password" style="background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACIUlEQVQ4EX2TOYhTURSG87IMihDsjGghBhFBmHFDHLWwSqcikk4RRKJgk0KL7C8bMpWpZtIqNkEUl1ZCgs0wOo0SxiLMDApWlgOPrH7/5b2QkYwX7jvn/uc//zl3edZ4PPbNGvF4fC4ajR5VrNvt/mo0Gr1ZPOtfgWw2e9Lv9+chX7cs64CS4Oxg3o9GI7tUKv0Q5o1dAiTfCgQCLwnOkfQOu+oSLyJ2A783HA7vIPLGxX0TgVwud4HKn0nc7Pf7N6vV6oZHkkX8FPG3uMfgXC0Wi2vCg/poUKGGcagQI3k7k8mcp5slcGswGDwpl8tfwGJg3xB6Dvey8vz6oH4C3iXcFYjbwiDeo1KafafkC3NjK7iL5ESFGQEUF7Sg+ifZdDp9GnMF/KGmfBdT2HCwZ7TwtrBPC7rQaav6Iv48rqZwg+F+p8hOMBj0IbxfMdMBrW5pAVGV/ztINByENkU0t5BIJEKRSOQ3Aj+Z57iFs1R5NK3EQS6HQqF1zmQdzpFWq3W42WwOTAf1er1PF2USFlC+qxMvFAr3HcexWX+QX6lUvsKpkTyPSEXJkw6MQ4S38Ljdbi8rmM/nY+CvgNcQqdH6U/xrYK9t244jZv6ByUOSiDdIfgBZ12U6dHEHu9TpdIr8F0OP692CtzaW/a6y3y0Wx5kbFHvGuXzkgf0xhKnPzA4UTyaTB8Ph8AvcHi3fnsrZ7Wore02YViqVOrRXXPhfqP8j6MYlawoAAAAASUVORK5CYII=&quot;); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%;"> </label> <label> **File input** <input type="file"> </label> <label> **Radio input** <input type="radio" name="rad"> </label> <label> **Checkbox input** <input type="checkbox"> </label> <label> <input type="radio" name="rad"> Radio input </label> <label> <input type="checkbox"> Checkbox input </label> <label> **Select field** <select> <option>Option 01</option> <option>Option 02</option> </select> </label> <label>**Textarea** <textarea cols="30" rows="5">Textarea text</textarea></label> </fieldset>
<fieldset><legend>Clickable inputs and buttons</legend> <input type="image" src="http://placekitten.com/90/24" alt="Image (input)"> <input type="reset" value="Reset (input)"> <input type="button" value="Button (input)"> <input type="submit" value="Submit (input)"> <button type="reset">Reset (button)</button> <button type="button">Button (button)</button> <button type="submit">Submit (button)</button></fieldset>
<fieldset id="boxsize"><legend>box-sizing tests</legend>
<div><input type="text" value="text"></div>
<div><input type="email" value="email"></div>
<div><input type="search" value="search"></div>
<div><input type="url" value="http://example.com"></div>
<div><input type="password" value="password" style="background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACIUlEQVQ4EX2TOYhTURSG87IMihDsjGghBhFBmHFDHLWwSqcikk4RRKJgk0KL7C8bMpWpZtIqNkEUl1ZCgs0wOo0SxiLMDApWlgOPrH7/5b2QkYwX7jvn/uc//zl3edZ4PPbNGvF4fC4ajR5VrNvt/mo0Gr1ZPOtfgWw2e9Lv9+chX7cs64CS4Oxg3o9GI7tUKv0Q5o1dAiTfCgQCLwnOkfQOu+oSLyJ2A783HA7vIPLGxX0TgVwud4HKn0nc7Pf7N6vV6oZHkkX8FPG3uMfgXC0Wi2vCg/poUKGGcagQI3k7k8mcp5slcGswGDwpl8tfwGJg3xB6Dvey8vz6oH4C3iXcFYjbwiDeo1KafafkC3NjK7iL5ESFGQEUF7Sg+ifZdDp9GnMF/KGmfBdT2HCwZ7TwtrBPC7rQaav6Iv48rqZwg+F+p8hOMBj0IbxfMdMBrW5pAVGV/ztINByENkU0t5BIJEKRSOQ3Aj+Z57iFs1R5NK3EQS6HQqF1zmQdzpFWq3W42WwOTAf1er1PF2USFlC+qxMvFAr3HcexWX+QX6lUvsKpkTyPSEXJkw6MQ4S38Ljdbi8rmM/nY+CvgNcQqdH6U/xrYK9t244jZv6ByUOSiDdIfgBZ12U6dHEHu9TpdIr8F0OP692CtzaW/a6y3y0Wx5kbFHvGuXzkgf0xhKnPzA4UTyaTB8Ph8AvcHi3fnsrZ7Wore02YViqVOrRXXPhfqP8j6MYlawoAAAAASUVORK5CYII=&quot;); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%;"></div>
<div><input type="color" value="#000000"></div>
<div><input type="number" value="5"></div>
<div><input type="range" value="10"></div>
<div><input type="date" value="1970-01-01"></div>
<div><input type="month" value="1970-01"></div>
<div><input type="week" value="1970-W01"></div>
<div><input type="time" value="18:23"></div>
<div><input type="datetime" value="1970-01-01T00:00:00Z"></div>
<div><input type="datetime-local" value="1970-01-01T00:00"></div>
<div><input type="radio"></div>
<div><input type="checkbox"></div>
<div><select><option>Option 01</option> <option>Option 02</option></select></div>
<div><textarea cols="30" rows="5">Textarea text</textarea></div>
<div><input type="image" src="http://placekitten.com/90/24" alt="Image (input)"></div>
<div><input type="reset" value="Reset (input)"></div>
<div><input type="button" value="Button (input)"></div>
<div><input type="submit" value="Submit (input)"></div>
<div><button type="reset">Reset (button)</button></div>
<div><button type="button">Button (button)</button></div>
<div><button type="submit">Submit (button)</button></div>
</fieldset>
</form>
* * *
## Embeds
Sometimes all you want to do is embed a little love from another location and set your post alive.
### Video
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
<figure class="kg-card kg-embed-card"><iframe src="https://player.vimeo.com/video/103224792?app_id=122963" width="480" height="270" frameborder="0" title="Set Teixeira - 2015 AIRUSH TEAM SERIES VIDEO" allow="autoplay; fullscreen" allowfullscreen=""></iframe></figure>
Culpa qui officia deserunt mollit anim id est laborum.
### Audio
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
<figure class="kg-card kg-embed-card"><iframe width="100%" height="400" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?visual=true&amp;url=https%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F169381837&amp;show_artwork=true"></iframe></figure>
Culpa qui officia deserunt mollit anim id est laborum.
### Code
First a code block
```javascript
var c = new Sketch.create({autoclear: false}), bigCircle = 50, littleCircle = 5, // The velocity value determines how much to move the spinner head (in radians). velocity = 0.08, hue = 0, // The alpha value below determines the length of the spinner's tail. bg = 'rgba(40,40,40,.075)'; Spinner = function() {};
Spinner.prototype.setup = function() {
this.x = c.width / 2;
this.y = c.height / 2 - bigCircle;
this.rotation = 0;
}
Spinner.prototype.update = function() {
this.rotation += velocity;
this.rotation = this.rotation % TWO_PI;
this.x = c.width /2 + cos(this.rotation) * bigCircle;
this.y = c.height / 2 + sin(this.rotation) * bigCircle;
}
Spinner.prototype.draw = function() {
c.fillStyle = 'hsl('+hue+',50%,50%)';
c.beginPath();
c.arc(this.x, this.y, littleCircle, 0, TWO_PI);
c.fill();
c.closePath();
}
c.setup = function() {
spinner = new Spinner();
spinner.setup();
}
c.update = function() {
spinner.update();
hue = ++hue % 360;
}
c.draw = function() {
spinner.draw();
c.fillStyle = bg;
c.fillRect(0,0,c.width,c.height);
}
```
### Resources
<figure class="kg-card kg-embed-card"><iframe id="cp_embed_bcqhe" src="https://codepen.io/rglazebrook/embed/preview/bcqhe?height=300&amp;slug-hash=bcqhe&amp;default-tabs=js,result&amp;host=https://codepen.io" title="Simple Rotating Spinner" scrolling="no" frameborder="0" height="300" allowtransparency="true" class="cp_embed_iframe" style="width: 100%; overflow: hidden;"></iframe></figure>
Loading…
Cancel
Save