mirror of
https://github.com/kittywitch/dork.dev.git
synced 2026-02-09 15:19:18 -08:00
feat: handle images and also make the site more responsive and
accessible
This commit is contained in:
parent
00a25ab364
commit
0fe33b59fd
4 changed files with 9 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>dork.dev - {{ page.title }}</title>
|
<title>dork.dev - {{ page.title }}</title>
|
||||||
<link rel="stylesheet" type="text/css" href="/stylesheet.css">
|
<link rel="stylesheet" type="text/css" href="/stylesheet.css">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta property="og:title" content="{{ site.title }} - {{ page.title }}" />
|
<meta property="og:title" content="{{ site.title }} - {{ page.title }}" />
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:url" content="{{ page.permalink }}" />
|
<meta property="og:url" content="{{ page.permalink }}" />
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
{% include "head.liquid" %}
|
{% include "head.liquid" %}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
{% include "head.liquid" %}
|
{% include "head.liquid" %}
|
||||||
</head>
|
</head>
|
||||||
|
|
|
||||||
|
|
@ -17,13 +17,18 @@ body
|
||||||
/* Center the container within the viewport */
|
/* Center the container within the viewport */
|
||||||
margin: 0 auto
|
margin: 0 auto
|
||||||
/* Give the lines an adequate amount of room to breathe. */
|
/* Give the lines an adequate amount of room to breathe. */
|
||||||
line-height: 1.4em
|
line-height: 1.4
|
||||||
|
|
||||||
|
|
||||||
h1, h2, h3
|
h1, h2, h3
|
||||||
/* More contrast with the headers than the main text */
|
/* More contrast with the headers than the main text */
|
||||||
color: #111
|
color: #111
|
||||||
|
|
||||||
|
img
|
||||||
|
/* Make sure that the images do not overflow the body */
|
||||||
|
max-width: 100%
|
||||||
|
/* Make sure that the images are not too tall as to be annoying */
|
||||||
|
max-height: 50ch
|
||||||
|
|
||||||
/* We want the footer to be like two columns, where the right columns are also right-aligned and the columns grow to share the space sanely. */
|
/* We want the footer to be like two columns, where the right columns are also right-aligned and the columns grow to share the space sanely. */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue