From cdf12250c6eddc584b2059f17ffb69c0e8df553e Mon Sep 17 00:00:00 2001 From: Denis Fedoseev Date: Wed, 13 Feb 2019 11:35:35 +0300 Subject: [PATCH] css was moved to external file textarea -> div --- public/css/main.css | 37 +++++++++++++++++++++++++++++++++ templates/index.html.ep | 46 ++++------------------------------------- 2 files changed, 41 insertions(+), 42 deletions(-) create mode 100644 public/css/main.css 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'} %>

<% } %>