Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Could this be included in the samples? #5

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.DS_Store
js/config.js
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
HTML5 webspeech
=================

Google for images using the HTML5 Speech API
---------------------------------------------

get your own API key [here](https://code.google.com/apis/console/).
11 changes: 11 additions & 0 deletions css/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
@font-face {
font-family: 'droid_sansregular';
src: url('../fonts/DroidSans-webfont.eot');
src: url('../fonts/DroidSans-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/DroidSans-webfont.woff') format('woff'),
url('../fonts/DroidSans-webfont.ttf') format('truetype'),
url('../fonts/DroidSans-webfont.svg#droid_sansregular') format('svg');
font-weight: normal;
font-style: normal;

}
85 changes: 85 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
* {
font-family: 'droid_sansregular';
}

h1 {
color: #ccc;
}

a:link {
color:#777;
text-decoration: none;
}
a:visited {
color:#666;
}
a:hover {
color:#ccc;
}
.button {
background: -webkit-linear-gradient(top,#008dfd 0,#0370ea 100%);
border: 1px solid #076bd2;
border-radius: 3px;
color: #fff;
display: none;
font-size: 13px;
line-height: 1.3;
padding: 8px 25px;
text-align: center;
text-shadow: 1px 1px 1px #076bd2;
letter-spacing: normal;
}
.center {
padding: 10px;
text-align: center;
}
.final {
color: black;
padding-right: 3px;
}
.interim {
color: gray;
}
.info {
font-size: 14px;
text-align: center;
color: #777;
display: none;
}
.right {
float: right;
}
.sidebyside {
display: inline-block;
width: 45%;
min-height: 40px;
text-align: left;
vertical-align: top;
}
#headline {
font-size: 40px;
}
#info {
font-size: 14px;
text-align: center;
color: #777;
visibility: hidden;
}
#results {
font-size: 14px;
border: 1px solid #ddd;
padding: 15px;
text-align: left;
min-height: 150px;
}
#start_button {
border: 0;
background-color:transparent;
padding: 0;
}
.sidebyside {
display:none;
}
#results {
display: none;
}
Binary file added fonts/DroidSans-webfont.eot
Binary file not shown.
2,023 changes: 2,023 additions & 0 deletions fonts/DroidSans-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/DroidSans-webfont.ttf
Binary file not shown.
Binary file added fonts/DroidSans-webfont.woff
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
Loading