Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/restaurant-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsomrat <monnaf37@gmail.com>2019-10-31 07:01:22 +0300
committersomrat <monnaf37@gmail.com>2019-10-31 07:01:22 +0300
commit39e5438b8fa8c6ff5d0726ee1eeb1c5073decd8d (patch)
treecf6b494938ca06c3d6fab4298f5b6df7d3d3118e
parenta9d5b4c56fb342bca6669b2842c7ed2890f8d050 (diff)
modify about and blog post height
-rw-r--r--layouts/partials/about.html2
-rw-r--r--static/css/main.css8
2 files changed, 7 insertions, 3 deletions
diff --git a/layouts/partials/about.html b/layouts/partials/about.html
index ae0cb03..ac367ad 100644
--- a/layouts/partials/about.html
+++ b/layouts/partials/about.html
@@ -5,7 +5,7 @@
<div class="row">
<div class="col-md-12">
<div class="block">
- <img class="img-responsive" src="{{ .image | absURL }}" alt="Logo"/>
+ <img class="img-responsive mx-auto" src="{{ .image | absURL }}" alt="Logo"/>
<h1 class="heading wow fadeInUp" data-wow-duration="400ms" data-wow-delay="500ms">{{ .title | markdownify }}</h1>
<p class="wow fadeInUp" data-wow-duration="300ms" data-wow-delay="600ms">{{ .description | markdownify }}</p>
</div>
diff --git a/static/css/main.css b/static/css/main.css
index b23865b..27ae5ff 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -326,6 +326,7 @@ nav .block .navbar-default .navbar-nav>.active>a:hover:before {
#blog .block ul li {
overflow: hidden;
width: 49.5%;
+ max-height: 210px;
float: left;
background: #fff;
text-align: center;
@@ -355,7 +356,7 @@ nav .block .navbar-default .navbar-nav>.active>a:hover:before {
#blog .block ul li h3 a {
color: #323232;
font-size: 20px;
-
+ display: block;
}
#blog .block ul li h3 a:hover {
@@ -485,7 +486,10 @@ nav .block .navbar-default .navbar-nav>.active>a:hover:before {
}
-
+.mx-auto{
+ margin-left: auto;
+ margin-right: auto;
+}