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

Remove scripts. Improve semantics. #2

Merged
merged 1 commit into from Jan 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 10 additions & 17 deletions html/index.html
Expand Up @@ -6,16 +6,17 @@
<link rel="icon" type="image/png" sizes="180x180" href="images/icons/favicon-180x180.png">
<link rel="icon" type="image/png" sizes="32x32" href="images/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="images/icons/favicon-16x16.png">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
<link rel="stylesheet" href="style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<div class="top">
<header>
<a href="https://opengeoreviews.org/">
<img src="images/ogr_logo_color.png" alt="OpenGeoReview.org logo" class="center"/>
</a>
</div>
<div class="main">
</header>
<main class="main">
<h1>A new way for local reviews
<p style="color:#2d69df;">Open. Collaborative. Trustworthy.</p>
</h1>
Expand All @@ -27,20 +28,12 @@ <h1>A new way for local reviews
<li><b>Monetization</b> - make business subscriptions once the project is matured and spread the income between applications, authors, moderators and network operators.</li>
</ul>
<div class="btn-container">
<button class="btn join" type="button" id="join-button"><a href="https://forum.opengeoreviews.org/">Read more and Join us</a></button>
<a href="https://forum.opengeoreviews.org/" class="btn join">Read more and Join us</a>
</div>

</div>
<div class="footer">
<p>&copy; 2018 <a href="https://opengeoreviews.org/">OpenGeoReviews.org</a><p>
</div>
<script>
$('#join-button').on('click', function(e) {
window.open("https://forum.opengeoreviews.org/", '_self');

e.preventDefault();

});
</script>
</main>
<footer class="footer">
<p>&copy; 2018 <a href="https://opengeoreviews.org/">OpenGeoReviews.org</a></p>
</footer>
</body>
</html>
18 changes: 7 additions & 11 deletions html/style.css
Expand Up @@ -30,7 +30,7 @@ body {
font-size: 2.5em;
line-height: 2em;
color: #596680;
font-family: 'Overpass';
font-family: 'Overpass', sans-serif;
font-weight: 800;
letter-spacing: 0.02em;
}
Expand All @@ -43,7 +43,7 @@ body {

.main ul {
width: 600px;
line-height: 1.5em;
line-height: 1.5em;
font-size: 1.1em;
}
.main li {
Expand All @@ -52,27 +52,23 @@ body {


.btn-container {
text-align: center;
margin-top: 50px;
}

.btn-container a {
text-decoration: none;
color: white;
}

.btn {
background-color: #2d6ae0;
color: white;
padding: 0px 25px 0px 25px;
min-height: 60px;
line-height: 60px;
border: none;
margin:0 auto;
display: block;
display: inline-block;
border-radius: 50px;
text-align: center;
text-decoration: none;
font-size: 1em;
font-family: Overpass;
font-family: 'Overpass', sans-serif;
font-weight: 800;
letter-spacing: 0.04em;
cursor: pointer;
Expand All @@ -86,7 +82,7 @@ body {
}

.footer {
/* position: fixed; */
position: fixed;
left: 0;
bottom: 0;
width: 100%;
Expand Down