Skip to content

Commit

Permalink
improved styling (esp. for small screns)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszviste committed Jul 22, 2020
1 parent 9736b39 commit 051ce19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
if (isset($_SERVER['SERVER_PORT']) && (intval($_SERVER['SERVER_PORT']) != 80)) $selfaddr_root .= ':' . $_SERVER['SERVER_PORT'];
$selfaddr_root .= dirname($_SERVER['REQUEST_URI']);

echo "<p>short url: <a href=\"{$ids}\">{$selfaddr_root}{$ids}</a></p>";
echo "<p><span class=\"grey\">short url:</span> <a href=\"{$ids}\">{$selfaddr_root}{$ids}</a></p>";

SKIP:
?>
Expand Down
6 changes: 4 additions & 2 deletions slanklink.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body {
}

h1 {
margin: 1.7em auto;
margin: 1.4em auto;
font-weight: normal;
font-size: 2em;
color: #333;
Expand All @@ -26,7 +26,9 @@ p.debug {
}

input.urlentry {
width: 50em;
width: 90%;
max-width: 50em;
margin: 0 0.3em 0.6em 0;
}

span.grey {
Expand Down

0 comments on commit 051ce19

Please sign in to comment.