-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
very basic reset and page structure added
- Loading branch information
1 parent
adc6faf
commit 868ab4d
Showing
10 changed files
with
225 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
:root { | ||
--blue: #0075BC; | ||
--dark-blue: #005C96; | ||
--light-teal: rgb(0, 187, 212, 0.05); | ||
--teal: #00BBD4; | ||
--dark-teal: #00B5D1; | ||
--darker-grey: #444444; | ||
--dark-grey: #606060; | ||
--light-grey: #CCCCCC; | ||
--white: #FFFFFF; | ||
--black: #000000; | ||
--yellow: #FBD333; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#main, | ||
#main:active, | ||
#main:focus { | ||
outline: 0px solid transparent; | ||
overflow: hidden; | ||
} | ||
|
||
#skip a { | ||
display: block; | ||
position: absolute; | ||
left: -999px; | ||
top: -999px; | ||
width: 1px; | ||
height: 1px; | ||
overflow: hidden; | ||
&:focus { | ||
left: auto; | ||
top: auto; | ||
width: 30%; | ||
height: auto; | ||
overflow: auto; | ||
margin: 10px 35%; | ||
color: #000000; | ||
background-color: #ffffff; | ||
padding: 5px; | ||
border-radius: 15px; | ||
border: 4px solid #000000; | ||
text-align: center; | ||
font-size: 1.2em; | ||
z-index: 999; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
/* Normalize */ | ||
button, | ||
input, | ||
optgroup, | ||
select, | ||
textarea { | ||
font-family: inherit; /* 1 */ | ||
font-size: 100%; /* 1 */ | ||
line-height: 1.15; /* 1 */ | ||
margin: 0; /* 2 */ | ||
} | ||
/** | ||
* Show the overflow in IE. | ||
* 1. Show the overflow in Edge. | ||
*/ | ||
button, | ||
input { /* 1 */ | ||
overflow: visible; | ||
} | ||
/** | ||
* Remove the inheritance of text transform in Edge, Firefox, and IE. | ||
* 1. Remove the inheritance of text transform in Firefox. | ||
*/ | ||
button, | ||
select { /* 1 */ | ||
text-transform: none; | ||
} | ||
/** | ||
* Correct the inability to style clickable types in iOS and Safari. | ||
*/ | ||
button, | ||
[type="button"], | ||
[type="reset"], | ||
[type="submit"] { | ||
-webkit-appearance: button; | ||
} | ||
|
||
html { | ||
font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', | ||
Roboto, 'Helvetica Neue', Arial, sans-serif; | ||
font-size: 16px; | ||
word-spacing: 1px; | ||
-ms-text-size-adjust: 100%; | ||
-webkit-text-size-adjust: 100%; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-font-smoothing: antialiased; | ||
box-sizing: border-box; | ||
} | ||
|
||
*, | ||
*:before, | ||
*:after { | ||
box-sizing: border-box; | ||
margin: 0; | ||
} | ||
|
||
#__application { | ||
overflow-x: hidden; | ||
} | ||
|
||
sub, | ||
sup { | ||
/* Specified in % so that the sup/sup is the | ||
right size relative to the surrounding text */ | ||
font-size: 50%; | ||
/* Zero out the line-height so that it doesn't | ||
interfere with the positioning that follows */ | ||
line-height: 0; | ||
/* Where the magic happens: makes all browsers position | ||
the sup/sup properly, relative to the surrounding text */ | ||
position: relative; | ||
/* Note that if you're using Eric Meyer's reset.css, this | ||
is already set and you can remove this rule */ | ||
vertical-align: baseline; | ||
} | ||
sup { | ||
/* Move the superscripted text up */ | ||
top: -0.7em; | ||
} | ||
sub { | ||
/* Move the subscripted text down, but only | ||
half as far down as the superscript moved up */ | ||
bottom: -0.25em; | ||
} | ||
|
||
.killscroll { | ||
overflow: hidden; | ||
} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@import 'reset'; | ||
@import 'colors'; | ||
@import 'global'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<template> | ||
<div> | ||
<div id="skip"> | ||
<a class="skip-main" href="#main">Skip to main content</a> | ||
</div> | ||
<div id="main" ref="main" aria-label="main" role="main"> | ||
<slot /> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
import { defineNuxtConfig } from 'nuxt3' | ||
|
||
export default defineNuxtConfig({ | ||
head: { | ||
titleTemplate: '%s', | ||
meta: [ | ||
{ charset: 'utf-8' }, | ||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }, | ||
|
||
// hid is used as unique identifier. Do not use `vmid` for it as it will not work | ||
{ hid: 'description', name: 'description', content: 'Meta description' } | ||
] | ||
}, | ||
css: [ | ||
'~/assets/css/main.scss' | ||
] | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<template> | ||
<div> | ||
<Head> | ||
<Title>Slow.is</Title> | ||
<Meta name="description" content="An intentional publishing platform." /> | ||
<Link rel="canonical" :href="`https://slow.is${$route.path}`" /> | ||
</Head> | ||
<Body class="home" /> | ||
|
||
Hi | ||
<nuxt-link to="/monkey/">Monkey</nuxt-link> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'Homepage', | ||
data () { | ||
return {} | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters