generated from lauechev/enflujo-plantilla-vite
-
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.
- Loading branch information
Showing
20 changed files
with
272 additions
and
29 deletions.
There are no files selected for viewing
File renamed without changes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
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,17 @@ | ||
import './scss/styles.scss'; | ||
|
||
const sentenceTag = document.querySelector<HTMLInputElement>(`input[type="text"]`); | ||
const outputTag = document.querySelector<HTMLDivElement>('.output'); | ||
|
||
//when i type in my sentence tag, update the output tag accordingly | ||
|
||
if (sentenceTag && outputTag) { | ||
sentenceTag.addEventListener('keyup', function () { | ||
if (this.value) { | ||
outputTag.innerHTML = this.value; | ||
} else { | ||
outputTag.innerHTML = 'The quick brown fox...'; | ||
} | ||
// outputTag.innerHTML = this.value; | ||
}); | ||
} |
This file was deleted.
Oops, something went wrong.
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,145 @@ | ||
html, | ||
body, | ||
div, | ||
span, | ||
applet, | ||
object, | ||
iframe, | ||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
p, | ||
blockquote, | ||
pre, | ||
a, | ||
abbr, | ||
acronym, | ||
address, | ||
big, | ||
cite, | ||
code, | ||
del, | ||
dfn, | ||
em, | ||
img, | ||
ins, | ||
kbd, | ||
q, | ||
s, | ||
samp, | ||
small, | ||
strike, | ||
strong, | ||
sub, | ||
sup, | ||
tt, | ||
var, | ||
b, | ||
u, | ||
i, | ||
center, | ||
dl, | ||
dt, | ||
dd, | ||
ol, | ||
ul, | ||
li, | ||
fieldset, | ||
form, | ||
label, | ||
legend, | ||
table, | ||
caption, | ||
tbody, | ||
tfoot, | ||
thead, | ||
tr, | ||
th, | ||
td, | ||
article, | ||
aside, | ||
canvas, | ||
details, | ||
embed, | ||
figure, | ||
figcaption, | ||
footer, | ||
header, | ||
hgroup, | ||
menu, | ||
nav, | ||
output, | ||
ruby, | ||
section, | ||
summary, | ||
time, | ||
mark, | ||
audio, | ||
video { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
font-size: 100%; | ||
font: inherit; | ||
vertical-align: baseline; | ||
} | ||
|
||
article, | ||
aside, | ||
details, | ||
figcaption, | ||
figure, | ||
footer, | ||
header, | ||
hgroup, | ||
menu, | ||
nav, | ||
section { | ||
display: block; | ||
} | ||
body { | ||
line-height: 1; | ||
} | ||
ol, | ||
ul { | ||
list-style: none; | ||
} | ||
blockquote, | ||
q { | ||
quotes: none; | ||
} | ||
blockquote:before, | ||
blockquote:after, | ||
q:before, | ||
q:after { | ||
content: ''; | ||
content: none; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
} | ||
|
||
img, | ||
iframe { | ||
vertical-align: bottom; | ||
max-width: 100%; | ||
} | ||
|
||
input, | ||
textarea, | ||
select { | ||
font: inherit; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
text-rendering: optimizeLegibility; | ||
} | ||
|
||
html { | ||
height: 100%; | ||
} |
This file was deleted.
Oops, something went wrong.
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,86 @@ | ||
@use './base.scss' as *; | ||
@use './variables' as *; | ||
|
||
@font-face { | ||
font-family: 'Faune'; | ||
font-weight: 400; | ||
src: url(/assets/faune-regular.woff2), url(/assets/faune-regular.woff); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Faune'; | ||
font-weight: 400; | ||
font-style: italic; | ||
src: url(/assets/faune-italic.woff2), url(/assets/faune-italic.woff); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Faune'; | ||
font-weight: 700; | ||
src: url(/assets/faune-bold.woff2), url(/assets/faune-bold.woff); | ||
} | ||
|
||
html { | ||
box-sizing: border-box; | ||
height: 100%; | ||
} | ||
|
||
*, | ||
*:before, | ||
*:after { | ||
box-sizing: inherit; | ||
} | ||
|
||
html, | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
body { | ||
font-family: 'Faune', Arial; | ||
font-size: 16px; | ||
line-height: 1.5; | ||
|
||
background-color: var(--background); | ||
color: var(--textColor); | ||
margin: 40px 40px 40px 320px; | ||
} | ||
|
||
.options { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
height: 100vh; | ||
width: 280px; | ||
background-color: var(--background); | ||
padding: 40px; | ||
border-right: 1px solid rgba(255, 255, 255, 0.1); | ||
} | ||
|
||
h1 { | ||
font-weight: 700; | ||
font-size: 24px; | ||
} | ||
|
||
.option1 { | ||
margin: 10px 0 0 0; | ||
} | ||
|
||
label { | ||
display: block; | ||
margin: 0 0 5px 0; | ||
} | ||
|
||
input[type='text'] { | ||
width: 100%; | ||
background-color: var(--background2); | ||
border: none; | ||
color: var(--white); | ||
outline: none; | ||
padding: 5px 7px 5px 7px; | ||
} | ||
|
||
.output { | ||
font-size: 64px; | ||
} |
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,12 @@ | ||
:root { | ||
--fontTitles: 'Uchen'; | ||
--fontBody: 'IBM Plex Mono'; | ||
--gray: #575757; | ||
--lightBlack: #1f1f1f; | ||
--white: #e9e8e4; | ||
--textColor: var(--white); | ||
--textColorInverted: var(--white); | ||
--background: var(--lightBlack); | ||
--backgroundInverted: var(--green); | ||
--background2: var(--gray); | ||
} |
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