Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the problem with text overlapping other text on the about page #11

Open
wants to merge 4 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
11 changes: 6 additions & 5 deletions about.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,23 @@
<body class="about-page">
<header class="about-header">
<a href="/" class="link-back">&#9001; Share a search</a>
<h1><b>This page is in beta, nothing here means anything yet</b></h1>
<h1><span class="italics">About</span> <b>Let Me DuckDuckGo That For You</b></h1>
<h1>About <b>Let Me DuckDuckGo That For You</b></h1>
</header>

<main>
<section class="contact-section">
<h2>Contact</h2>
<article>
Please email <a href="mailto:[email protected]">[email protected]</a> to contact LMDDGTFY.
<span class="italics">E-mail</span><br><a href="mailto:[email protected]">[email protected]</a>
<br><br>
<span class="italics">Twitter</span><br><a href="https://twitter.com/lmddgtfynet" target="_blank">@lmddgtfynet</a>
</article>
</section>
<section class="privacy-section">
<h2>Privacy</h2>
<article>
Here at <span class="italics">Let Me DuckDuckGo That For You</span> we only collect the following information:
<br />
<br>
<ul>
<li>Whether IPv4 or IPv6 was used. (We do *NOT* store the IP address. Access via IPv4 is stored as "127.0.0.2" and access via IPv6 is stored as "::2" in the nginx access log.)</li>
<li>Time stamp of access.</li>
Expand All @@ -48,7 +49,7 @@ <h2>Privacy</h2>
<section class="about-section">
<h2>Creators</h2>
<article>
This site has been made by <a href="https://kk4oxj.github.io/" target="_blank">Zeke Y</a>, and is maintained by both Zeke Y and <a href="https://yanovich.net" target="_blank">Michael Yanovich</a>. Michael also pays for the hosting and domain name for the site.
This site has been made by <a href="http://zystvan.com" target="_blank">Zeke Y</a>, and is maintained by both Zeke Y and <a href="https://yanovich.net" target="_blank">Michael Yanovich</a>. Michael also pays for the hosting and domain name for the site.
<br>
<a href="https://github.com/myano/lmddgtfy" target="_blank">The code</a> for this site uses the <a href="license.txt">MIT license</a>.
</article>
Expand Down
1 change: 0 additions & 1 deletion apple-touch-icon-precomposed.png

This file was deleted.

1 change: 0 additions & 1 deletion apple-touch-icon.png

This file was deleted.

5 changes: 2 additions & 3 deletions css/style.css
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ General/Other
*******************/

body {
font-family: 'Open Sans', sans-serif;
font-family: sans-serif;
font-weight: normal;
text-align: center;
overflow-x: hidden;
Expand Down Expand Up @@ -218,9 +218,8 @@ About Page

main section {
width: 40%;
height: 275px;
display: inline-block;
margin: 0 2.5%;
margin: 0 2.5% 20px;
vertical-align: top;
}

Expand Down
2 changes: 1 addition & 1 deletion css/style.min.css
100755 → 100644

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion favicon.gif

This file was deleted.

1 change: 0 additions & 1 deletion favicon.png

This file was deleted.

Empty file modified fonts/open_sans/open_sans.min.css
100755 → 100644
Empty file.
Empty file modified fonts/open_sans/open_sans_italic.woff2
100755 → 100644
Empty file.
Empty file modified fonts/open_sans/open_sans_normal.woff2
100755 → 100644
Empty file.
Empty file modified img/cursor-default.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified img/cursor-pointer.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified img/cursor-text.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified img/dark-theme-icon.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified img/ddg-logo-dark-theme.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified img/ddg-logo-light-theme.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified img/light-theme-icon.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified index.html
100755 → 100644
Empty file.
Empty file modified js/jquery.min.js
100755 → 100644
Empty file.
27 changes: 4 additions & 23 deletions js/script.js
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,12 @@ $(document).ready(function() {
this.select();
});

// get a cookie's value
// http://stackoverflow.com/a/4825695/4013202
function getCookie(c_name) {
if (document.cookie.length > 0) {
c_start = document.cookie.indexOf(c_name + "=");

if (c_start != -1) {
c_start = c_start + c_name.length + 1;
c_end = document.cookie.indexOf(";", c_start);

if (c_end == -1) {
c_end = document.cookie.length;
}
return unescape(document.cookie.substring(c_start, c_end));
}
}
return "";
}

if (getCookie('theme') == 'dark') {
if (localStorage["theme"] == "dark") {
$('body').addClass('dark-theme').removeClass('light-theme');
$('#ddg-logo').attr('src', 'img/ddg-logo-dark-theme.png');
$('#ddg-theme-url-param').attr("value", "d");
}
else if (getCookie('theme') == 'light') {
else if (localStorage["theme"] == "light") {
$('body').addClass('light-theme').removeClass('dark-theme');
$('#ddg-logo').attr('src', 'img/ddg-logo-light-theme.png');
$('#ddg-theme-url-param').attr("value", "-1");
Expand Down Expand Up @@ -207,14 +188,14 @@ $(document).ready(function() {
$('#ddg-logo').attr('src', 'img/ddg-logo-dark-theme.png');
$('#ddg-theme-url-param').attr("value", "d");

document.cookie = 'theme=dark; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/;';
localStorage["theme"] = "dark";
});

$('#light-theme-icon').click(function() {
$('body').addClass('light-theme').removeClass('dark-theme');
$('#ddg-logo').attr('src', 'img/ddg-logo-light-theme.png');
$('#ddg-theme-url-param').attr("value", "-1");

document.cookie = 'theme=light; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/;';
localStorage["theme"] = "light";
});
});
Loading