Skip to content

Commit

Permalink
fix: make it responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
shatgupt committed Jul 9, 2017
1 parent 11117c6 commit 3e3f74d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ html, body {
}

body {
width: 750px;
font-size: 18px;
max-width: 800px;
margin: 0 auto;
color: black;
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
Expand Down Expand Up @@ -42,14 +43,14 @@ header a:hover, footer a:hover {
}

main {
padding-bottom: 65px; /* Height of the footer element + 10px padding */
padding-bottom: 70px; /* Height of the footer element + 10px padding */
}

footer {
left: 0;
bottom: 0;
width: 100%;
height: 55px;
height: 60px;
position: absolute;
text-align: center;
border-top: 1px solid black;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h2><a href="/">RunMyCode</a></h2>

<main class="text-center">
<p>RunMyCode Online is an open source service to run code online from browsers</p>
<iframe style="border: 1px solid;" width="708" height="398" src="https://www.youtube.com/embed/iwz8n3v7QVY?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
<iframe style="border: 1px solid; width: 99%;" height="445" src="https://www.youtube.com/embed/iwz8n3v7QVY?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>

<h4 id="action-msg">Get a key by authenticating below. <a href="faq.html#auth">Why?</a></h4>
<div class="menu" id="auth-buttons">
Expand Down

0 comments on commit 3e3f74d

Please sign in to comment.