Style improvements
This commit is contained in:
@@ -143,3 +143,7 @@ larger .alert p {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
main.container {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
.form_modal {
|
||||
#modal-content {
|
||||
max-width: 60rem;
|
||||
}
|
||||
|
||||
@@ -1,17 +1,11 @@
|
||||
.header_container {
|
||||
margin: 0 auto;
|
||||
max-width: 80rem;
|
||||
padding: 0 2rem;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
.header-container {
|
||||
padding-bottom: 2rem;
|
||||
padding-top: 2rem;
|
||||
margin-bottom: 4rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.header_title > a {
|
||||
color: #010101;
|
||||
font-weight: bolder;
|
||||
font-size: 5rem;
|
||||
}
|
||||
|
||||
.header_title > a:hover {
|
||||
color: #4d4d4d;
|
||||
.header-title {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="form-conta">
|
||||
<div class="form-container">
|
||||
<h2><%= @title %></h2>
|
||||
|
||||
<.form
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
<div class="checkbox-container">
|
||||
<%= checkbox f, :split_invoice, class: "checkbox" %>
|
||||
<%= label f, :split_invoice, "Haluan maksaa laskun kahdessa erässä" %>
|
||||
<%= label f, :split_invoice, "Haluan maksaa laskun kahdessa erässä (sis. laskutuslisä 2,50€)" %>
|
||||
<%= error_tag f, :split_invoice %>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<section class="container">
|
||||
<section class="container header-container">
|
||||
<img src={Routes.static_path(@conn, "/images/logo.jpg")} alt="Osuuspuutarha Logo"/>
|
||||
<h1>Livonsaaren Osuuspuutarha</h1>
|
||||
<h1 class="header-title">Livonsaaren Osuuspuutarha</h1>
|
||||
</section>
|
||||
</header>
|
||||
<%= @inner_content %>
|
||||
|
||||
Reference in New Issue
Block a user