diff --git a/public/css/main.css b/public/css/main.css new file mode 100644 index 0000000..8af7cf0 --- /dev/null +++ b/public/css/main.css @@ -0,0 +1,37 @@ +.content { + width: 300px; + margin: 0 auto; + } + input.url_input { + width: 190px; + } + .title { + padding-bottom: 10px; + } + .url_data { + padding-top: 10px; + } + button.copy_short_url { + width: 32px; + height:32px; + padding: 0px; + margin: 0; + margin-left: 10px; + } + button.copy_short_url > img { + display: block; + width: 28px; + height: 28px; + padding: 0px; + margin: 0; + margin-left: -6px; + margin-top: -4px; + } + div.short_url_text { + width: 205px; + height: 32px; + padding: 5px; + box-sizing: border-box; + margin: 0; + float: left; + } \ No newline at end of file diff --git a/templates/index.html.ep b/templates/index.html.ep index c10db1f..6ba72fc 100644 --- a/templates/index.html.ep +++ b/templates/index.html.ep @@ -1,46 +1,8 @@ - - + +
@@ -49,14 +11,14 @@
- +
<% if (exists($page_data->{'url'})) { %>

source url: '><%= $page_data->{'url'} %>

-

+

<%= $page_data->{'shorten_url'} %>

<% } %>