mirror of
https://github.com/jakejarvis/synonyms-for-awesome.git
synced 2025-04-26 06:25:22 -04:00
first awesome commit
This commit is contained in:
commit
87580fb16e
56
index.php
Normal file
56
index.php
Normal file
@ -0,0 +1,56 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>synonyms for awesome</title>
|
||||
|
||||
<link href="/style.css" rel="stylesheet">
|
||||
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:600' rel='stylesheet' type='text/css'>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<?php
|
||||
|
||||
$synonyms = array();
|
||||
|
||||
$fh = fopen('synonyms.txt','r');
|
||||
while ($line = fgets($fh)) {
|
||||
$synonyms[] = $line;
|
||||
}
|
||||
fclose($fh);
|
||||
|
||||
$synonym = $synonyms[rand(0, count($synonyms) - 1)];
|
||||
|
||||
?>
|
||||
|
||||
<table><tr><td><?= $synonym ?></td></tr></table> <!-- don't judge me -->
|
||||
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-1563964-40', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var _gauges = _gauges || [];
|
||||
(function() {
|
||||
var t = document.createElement('script');
|
||||
t.type = 'text/javascript';
|
||||
t.async = true;
|
||||
t.id = 'gauges-tracker';
|
||||
t.setAttribute('data-site-id', '53ae2eb3eddd5b026800db71');
|
||||
t.src = '//secure.gaug.es/track.js';
|
||||
var s = document.getElementsByTagName('script')[0];
|
||||
s.parentNode.insertBefore(t, s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
31
style.css
Normal file
31
style.css
Normal file
@ -0,0 +1,31 @@
|
||||
html, body {
|
||||
margin: 0px;
|
||||
font-size: 4.5em;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
height: 100%;
|
||||
background-color: #414ef8;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media (min-width: 300px) {
|
||||
html { font-size: 70%; }
|
||||
}
|
||||
|
||||
@media (min-width: 500px) {
|
||||
html { font-size: 80%; }
|
||||
}
|
||||
|
||||
@media (min-width: 700px) {
|
||||
html { font-size: 120%; }
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
html { font-size: 200%; }
|
||||
}
|
||||
|
||||
table, tr, td {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
45
synonyms.txt
Normal file
45
synonyms.txt
Normal file
@ -0,0 +1,45 @@
|
||||
astonishing
|
||||
astounding
|
||||
awe-inspiring
|
||||
beautiful
|
||||
breathtaking
|
||||
excellent
|
||||
exceptional
|
||||
extraordinary
|
||||
fabulous
|
||||
fantastic
|
||||
first-rate
|
||||
flawless
|
||||
formidable
|
||||
funkadelic
|
||||
impressive
|
||||
inconceivable
|
||||
incredible
|
||||
indomitable
|
||||
kick-butt
|
||||
kryptonian
|
||||
legendary
|
||||
magnificent
|
||||
majestic
|
||||
marvelous
|
||||
nifty
|
||||
outstanding
|
||||
overwhelming
|
||||
phenomenal
|
||||
prodigious
|
||||
remarkable
|
||||
righteous
|
||||
sensational
|
||||
shocking
|
||||
staggering
|
||||
stunning
|
||||
stupendous
|
||||
sublime
|
||||
super
|
||||
superb
|
||||
supercalifragilisticexpialidocious
|
||||
terrific
|
||||
transcendent
|
||||
wicked
|
||||
wonderful
|
||||
wondrous
|
Loading…
x
Reference in New Issue
Block a user