Skip to content

Instantly share code, notes, and snippets.

@bostrot
Last active February 16, 2019 18:57
Show Gist options
  • Save bostrot/237839dc4b1bf649a3d04cf3186bc243 to your computer and use it in GitHub Desktop.
Save bostrot/237839dc4b1bf649a3d04cf3186bc243 to your computer and use it in GitHub Desktop.
TVMaze API Quick Search Gadget for HTML
body {padding-top:50px;}
td {
border-top: none !important;
}
.row {
padding-bottom: 10px;
}
.box {
border-radius: 3px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
padding: 10px 15px;
text-align: left;
display: block;
margin-top: 60px;
}
.box-icon {
background-color: #57a544;
border-radius: 50%;
display: table;
height: 100px;
margin: 0 auto;
width: 100px;
margin-top: -61px;
}
.box-icon span {
color: #fff;
display: table-cell;
text-align: center;
vertical-align: middle;
}
.info {
}
.info h4 {
font-size: 26px;
letter-spacing: 2px;
text-transform: uppercase;
}
.info > p {
color: #717171;
font-size: 16px;
padding-top: 10px;
}
#search {
background-color: #03a9f4;
border-radius: 2px;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
color: #fff;
transition: all 0.5s ease 0s;
margin-top: 1em;
}
#search a:hover {
background-color: #0288d1;
box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.12);
color: #fff;
transition: all 0.5s ease 0s;
}
input {
width: 100%;
}
html {
width: 100%;
height: 100%;
}
.content {
font-family: 'VT323', monospace;
font-size: 30px;
}
#search {
color: #fff !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment