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

Commit

Permalink
Add interview, small clean
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretOnline committed May 4, 2016
1 parent c366de7 commit 3853f90
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 21 deletions.
6 changes: 6 additions & 0 deletions data/links.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@
"color":"#C6A560",
"src":"CTRi2aEJrgQ",
"method": "yt"
},
{
"title":"Hour Long Interview w/ Sean",
"color":"#D05727",
"src":"sldaUTUAd5k",
"method": "yt"
}
]
},
Expand Down
2 changes: 2 additions & 0 deletions generator.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
<meta charset="utf-8">
<title>Generator</title>
<script src="scripts/generator.js"></script>
<link rel="icon" sizes="196x196" href="res/icon.png">
<link rel="stylesheet" href="styles/info.css">
<link rel="stylesheet" href="styles/generator.css">
<link rel="stylesheet" href="styles/themes/flat.css">
<link rel="stylesheet" href="https://static.nmsdb.info/fonts/geonms.css">
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Open+Sans' type='text/css'>
</head>
Expand Down
4 changes: 1 addition & 3 deletions scripts/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,7 @@
if (data.categories.length) {
try {
var category = categories[data.categories[0]];
if (category.darkText) {
card.classList.add('dark-text');
}
card.classList.add('cat-' + category.class);
headerBg.style.backgroundColor = category.color;
} catch (err) {
console.warn('Category ' + data.categories[0] + ' might not exist. Couldn\'t set header properties');
Expand Down
9 changes: 6 additions & 3 deletions styles/generator.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ textarea {
overflow: hidden;
transition: max-height 0.5s;
}
.help:hover .help-list,
.help:active .help-list {
.help:active .help-list,
.help:hover .help-list {
max-height: 50vh;
}
button {
Expand All @@ -46,4 +46,7 @@ button {
.input button,
.input input {
margin: 2px;
}
}
.preview-container .card {
max-width: 100% !important;
}
15 changes: 0 additions & 15 deletions styles/info.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,21 +142,6 @@ main {
.page-search {
order: -1;
}
.page-info {
order: 0;
}
.page-cat {
order: 1;
}
.page-elements {
order: 2;
}
.page-links {
order: 3;
}
.page-recent {
order: 4;
}
.page-container.ie {
transform: translateX(calc(-1 *((100vw - 100%) / 4)));
}
Expand Down

0 comments on commit 3853f90

Please sign in to comment.