This commit is contained in:
Zakary Timson 2022-05-02 21:10:56 -04:00
parent 8e818b179b
commit 89bec31275
3 changed files with 22 additions and 5 deletions

View File

@ -0,0 +1,5 @@
.console {
background-color: #333;
color: #00ff00;
font-family: monospace !important;
}

View File

@ -1,13 +1,9 @@
@import url("https://fonts.googleapis.com/css?family=Arvo");
.typewriter {
h1,h2,h3,h4,h5,h6 {
& {
overflow: hidden;
margin: 0 auto;
letter-spacing: .15em;
animation: blink-caret 1s step-end infinite;
display: inline;
font-family: 'Arvo', serif;
}
@keyframes typing {

View File

@ -0,0 +1,16 @@
import {Injectable} from '@angular/core';
@Injectable({providedIn: 'root'})
export class QuoteService {
readonly quotes = [
'When you are a kid you don\'t realize you are also watching your parents grow up',
'Some one at Google was like "Yea, just have someone drive down every road on earth!"',
'Anxiety is like when video game combat music is playing but you can\'t find the enemy',
'Why do kamikaze pilots wear helmets?',
'The cake is a lie!'
];
random() {
return this.quotes[Math.round(Math.random() * this.quotes.length)];
}
}