mirror of
https://github.com/amiaopensource/ffmprovisr.git
synced 2025-11-18 01:27:47 +01:00
Compare commits
29 Commits
v2017-10-0
...
v2017-10-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea323d4b01 | ||
|
|
082f9a1175 | ||
|
|
04776428c8 | ||
|
|
b1f7f5cad4 | ||
|
|
6d41096dd5 | ||
|
|
77c31a7c5c | ||
|
|
0c9086d70d | ||
|
|
2b6dfac5b0 | ||
|
|
ba21f8b88d | ||
|
|
b483acdb6d | ||
|
|
d91fb336b9 | ||
|
|
97f62ae600 | ||
|
|
98d2459b79 | ||
|
|
719e3a73f5 | ||
|
|
439f1933da | ||
|
|
0f52cde91a | ||
|
|
8a14c6e5fb | ||
|
|
8c04a58949 | ||
|
|
6e93313528 | ||
|
|
b7bc7218b8 | ||
|
|
7ec21fb6d2 | ||
|
|
1e2b2dd18f | ||
|
|
9d4e18e6ef | ||
|
|
61681c8dd3 | ||
|
|
71e68b5e2e | ||
|
|
872eec2aa7 | ||
|
|
863f70054d | ||
|
|
16c8d68e39 | ||
|
|
08593bb221 |
11
assets/css/pure-min.css
vendored
11
assets/css/pure-min.css
vendored
File diff suppressed because one or more lines are too long
11
assets/javascript/buzz.min.js
vendored
11
assets/javascript/buzz.min.js
vendored
File diff suppressed because one or more lines are too long
4
assets/javascript/jquery-3.1.1.min.js
vendored
4
assets/javascript/jquery-3.1.1.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
83
css/css.css
83
css/css.css
@@ -1,9 +1,73 @@
|
|||||||
|
.grid {
|
||||||
|
display: grid;
|
||||||
|
align-content: center;
|
||||||
|
grid-template-areas:
|
||||||
|
"header"
|
||||||
|
"sidebar"
|
||||||
|
"content"
|
||||||
|
"footer";
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
grid-area: header;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
grid-area: content;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar {
|
||||||
|
grid-area: sidebar;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
grid-area: footer;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 999px) {
|
||||||
|
.grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
grid-template-areas:
|
||||||
|
"header"
|
||||||
|
"sidebar"
|
||||||
|
"content"
|
||||||
|
"footer";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (min-width: 1000px) {
|
||||||
|
.grid {
|
||||||
|
grid-gap: 1rem;
|
||||||
|
grid-template-columns: 30% auto;
|
||||||
|
grid-template-areas:
|
||||||
|
"header header"
|
||||||
|
"sidebar content"
|
||||||
|
"footer footer";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.license img {
|
||||||
|
max-width: 10em;
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-family: 'Montserrat', sans-serif;
|
font-family: 'Montserrat', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
letter-spacing: 0.1em;
|
||||||
|
font-size: 7vw;
|
||||||
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 24px;
|
font-size: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: 2em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.intro-lead {
|
.intro-lead {
|
||||||
@@ -39,11 +103,6 @@ img {
|
|||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
|
||||||
letter-spacing: 8px;
|
|
||||||
font-size: 86px;
|
|
||||||
line-height: 120px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div {
|
div {
|
||||||
font-family: 'Merriweather', serif;
|
font-family: 'Merriweather', serif;
|
||||||
@@ -114,15 +173,3 @@ div {
|
|||||||
.footnote {
|
.footnote {
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width: 576px) {
|
|
||||||
img {
|
|
||||||
max-width: 60%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (min-width: 992px) {
|
|
||||||
img {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
BIN
img/cc.png
Normal file
BIN
img/cc.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
3582
index.html
3582
index.html
File diff suppressed because it is too large
Load Diff
28
js/js.js
28
js/js.js
@@ -4,25 +4,21 @@ $(document).ready(function() {
|
|||||||
$('[data-toggle="tooltip"]').tooltip()
|
$('[data-toggle="tooltip"]').tooltip()
|
||||||
});
|
});
|
||||||
|
|
||||||
// open modal window if a hash is found in URL
|
// open recipe window if a hash is found in URL
|
||||||
if(window.location.hash) {
|
if(window.location.hash) {
|
||||||
$(window.location.hash).modal('show');
|
id = window.location.hash
|
||||||
// add direct link to modal window
|
$(id).collapse('show');
|
||||||
$(".link").empty();
|
$('html, body').animate({ scrollTop: $(id).offset().top}, 1000);
|
||||||
$(".link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
|
$(id + " .link").empty();
|
||||||
|
$(id + " .link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
|
||||||
}
|
}
|
||||||
|
|
||||||
// add hash to URL when modal is opened
|
// add hash URL when recipe is opened
|
||||||
$('span[data-toggle="modal"]').on("click", function(){
|
$('span[data-toggle="collapse"]').on("click", function(){
|
||||||
window.location.hash = $(this).attr("data-target");
|
id = $(this).attr("data-target");
|
||||||
// add direct link to modal window
|
window.location.hash = id
|
||||||
$(".link").empty();
|
$(id + " .link").empty();
|
||||||
$(".link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
|
$(id + " .link").append("<small>Link to this command: <a href="+window.location.href+">"+window.location.href+"</a></small>");
|
||||||
});
|
|
||||||
|
|
||||||
// remove hash from URL when modal is closed
|
|
||||||
$(document).on('hide.bs.modal', function (e) {
|
|
||||||
history.pushState("", document.title, window.location.pathname);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -22,4 +22,6 @@ elif [[ "$(uname -s)" = "Linux" ]] ; then
|
|||||||
ffmprovisr_path=$(find ~/.linuxbrew/Cellar/ffmprovisr -iname 'index.html' | sort -M | tail -n1)
|
ffmprovisr_path=$(find ~/.linuxbrew/Cellar/ffmprovisr -iname 'index.html' | sort -M | tail -n1)
|
||||||
fi
|
fi
|
||||||
xdg-open "${ffmprovisr_path}"
|
xdg-open "${ffmprovisr_path}"
|
||||||
|
else
|
||||||
|
echo "Please locate the 'ffmprovisr' folder, and open the 'index.html' file in a browser."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user