Skip to content

Commit cd355f7

Browse files
author
somrat-gyver
committed
fix some minor issues
1 parent 756387e commit cd355f7

File tree

5 files changed

+115
-65
lines changed

5 files changed

+115
-65
lines changed

exampleSite/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
######################## default configuration ####################
2-
baseURL = "http://demo.themefisher.com/persian-hugo/"
2+
baseURL = "https://www.example.com"
33
title = "Persian"
44
theme = "persian"
55
languageName = "En"

exampleSite/resources/_gen/assets/scss/scss/style.scss_f300667da4f5b5f84e1a9e0702b2fdde.content

Lines changed: 112 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/*!------------------------------------------------------------------
22
[MAIN STYLESHEET]
33

4-
PROJECT: Project Name
5-
VERSION: Versoin Number
4+
PROJECT: Persian Hugo
5+
VERSION: 1.0.0
6+
AUTHOR: Themefisher
7+
AUTHOR WEBSITE: https://themefisher.com
8+
69
-------------------------------------------------------------------*/
710
/*------------------------------------------------------------------
811
[TABLE OF CONTENTS]
@@ -24,7 +27,7 @@ p, .paragraph {
2427
font-family: "Playfair Display", sans-serif; }
2528

2629
h1, h2, h3, h4, h5, h6 {
27-
color: #555;
30+
color: #333;
2831
font-family: "Playfair Display", sans-serif;
2932
font-weight: 500;
3033
line-height: 1.2; }
@@ -63,20 +66,20 @@ h6, .h6 {
6366
box-shadow: none !important; }
6467

6568
.btn-primary {
66-
background: #F6A623;
69+
background: #222;
6770
color: #fff;
68-
border-color: #F6A623; }
71+
border-color: #222; }
6972
.btn-primary:active, .btn-primary:hover, .btn-primary.focus, .btn-primary.active {
70-
background: #F6A623 !important;
71-
border-color: #F6A623 !important; }
73+
background: #222 !important;
74+
border-color: #222 !important; }
7275

7376
.btn-outline-primary {
7477
background: transparent;
7578
color: #555;
76-
border-color: #F6A623; }
79+
border-color: #222; }
7780
.btn-outline-primary:active, .btn-outline-primary:hover, .btn-outline-primary.focus, .btn-outline-primary.active {
78-
background: #F6A623 !important;
79-
border-color: #F6A623 !important;
81+
background: #222 !important;
82+
border-color: #222 !important;
8083
color: #fff; }
8184

8285
.btn-link {
@@ -93,7 +96,7 @@ h6, .h6 {
9396
.btn-link:active, .btn-link:hover, .btn-link.focus, .btn-link.active {
9497
background: transparent !important;
9598
border: 0 !important;
96-
color: #F6A623;
99+
color: #222;
97100
text-decoration: none; }
98101
.btn-link:active i, .btn-link:hover i, .btn-link.focus i, .btn-link.active i {
99102
margin-left: 15px; }
@@ -104,7 +107,7 @@ body {
104107
transition: .2s ease; }
105108

106109
::selection {
107-
background: #f8ba54;
110+
background: #3c3c3c;
108111
color: #fff; }
109112

110113
/* preloader */
@@ -143,7 +146,7 @@ select {
143146
outline: 0; }
144147

145148
a:hover {
146-
color: #F6A623; }
149+
color: #222; }
147150

148151
.slick-slide {
149152
outline: 0; }
@@ -188,58 +191,70 @@ a:hover {
188191
display: unset !important; }
189192

190193
.bg-primary {
191-
background: #F6A623 !important; }
194+
background: #222 !important; }
192195

193196
.bg-black {
194197
background: #000 !important; }
195198

196199
.text-primary {
197-
color: #F6A623 !important; }
200+
color: #222 !important; }
198201

199-
.zindex-1 {
200-
z-index: 1; }
202+
.bg-light {
203+
background-color: #fbfbfb !important; }
201204

202205
.form-control {
203206
width: 100%;
204207
height: 50px;
205208
border: 1px solid #eee;
206209
background-color: transparent;
207-
color: #555; }
210+
color: #333; }
208211
.form-control:focus {
209-
border-color: #eee;
212+
border-color: #222 !important;
210213
color: inherit;
211214
box-shadow: none;
212215
background-color: transparent; }
213216

214217
.form-group {
215218
margin-bottom: 20px; }
216219
.form-group label {
217-
color: #555;
218-
font-size: 15px; }
220+
color: #333;
221+
margin-bottom: 10px;
222+
display: block; }
219223
.form-group .form-control {
220224
border: 0;
221-
border-bottom: 1px solid #eee;
225+
border: 1px solid #eee;
222226
border-radius: 0;
223-
padding: 0;
224-
height: 40px;
225-
background-color: inherit; }
227+
padding: 0 20px;
228+
height: 50px;
229+
background-color: inherit;
230+
color: #333; }
226231
.form-group .form-control::placeholder {
227-
font-size: 13px;
228-
opacity: .8; }
232+
font-size: 15px;
233+
opacity: 1;
234+
color: #555; }
229235

230236
textarea.form-control {
231-
height: 100px !important; }
237+
height: 150px !important;
238+
padding: 20px !important; }
239+
240+
mark {
241+
background-color: transparent;
242+
color: #fff;
243+
border: 1px solid #fff;
244+
border-radius: 3px;
245+
margin: 0 5px;
246+
padding: 0 5px; }
232247

233248
.navigation {
234249
position: relative;
235250
padding: 50px 0; }
236251

237252
.navbar-light .navbar-nav .nav-link {
238-
color: #555;
253+
color: #333;
239254
text-transform: capitalize;
240-
font-size: 14px; }
255+
font-size: 18px; }
241256
.navbar-light .navbar-nav .nav-link:hover {
242-
color: #F6A623; }
257+
color: #222; }
243258

244259
.navbar-expand-md .navbar-nav .nav-item {
245260
margin: 0; }
@@ -258,7 +273,7 @@ textarea.form-control {
258273
font-size: 14px;
259274
padding: 7px 22px; }
260275
.navbar-expand-md .navbar-nav .dropdown-menu .dropdown-item:hover {
261-
color: #F6A623; }
276+
color: #222; }
262277

263278
/* search */
264279
.search-btn {
@@ -328,14 +343,17 @@ textarea.form-control {
328343
left: 0;
329344
width: 100%;
330345
height: 100%;
331-
background: linear-gradient(to bottom, rgba(56, 56, 56, 0.45), rgba(56, 56, 56, 0.25) 100%); }
346+
background: linear-gradient(to bottom, rgba(56, 56, 56, 0.5), rgba(56, 56, 56, 0.3) 100%); }
332347
.post-date {
333348
color: #fff;
334349
min-height: 75px;
335350
width: 75px;
336351
border-radius: 50%;
337352
border: 1px solid #fff;
338353
margin: 0 auto 20px; }
354+
@media (max-width: 575px) {
355+
.post-date {
356+
zoom: .7; } }
339357
.post-date span {
340358
display: block;
341359
text-transform: uppercase; }
@@ -345,6 +363,15 @@ textarea.form-control {
345363
.post-title {
346364
font-size: 4rem;
347365
color: #fff; }
366+
@media (max-width: 1200px) {
367+
.post-title {
368+
font-size: 3rem; } }
369+
@media (max-width: 991px) {
370+
.post-title {
371+
font-size: 1.7rem; } }
372+
@media (max-width: 575px) {
373+
.post-title {
374+
font-size: 1.2rem; } }
348375
.post-title a {
349376
color: inherit; }
350377
.post-meta {
@@ -354,13 +381,38 @@ textarea.form-control {
354381
.post-meta a {
355382
text-transform: uppercase; }
356383
.post-meta a:hover {
357-
color: #F6A623; }
384+
color: #222; }
358385
.post .post-meta i {
359386
color: #fff; }
360387
.post .post-meta a {
361388
color: #fff; }
389+
@media (max-width: 575px) {
390+
.post .post-meta a {
391+
font-size: 12px; } }
362392
.post-sm .post-title {
363393
font-size: 1.7rem; }
394+
@media (max-width: 575px) {
395+
.post-sm .post-title {
396+
font-size: 1.2rem; } }
397+
.author-img {
398+
height: 100px;
399+
width: 100px;
400+
border-radius: 50%;
401+
object-fit: cover;
402+
transform: translateY(50px); }
403+
404+
.facts {
405+
text-align: center; }
406+
.facts h1, .facts h2, .facts h3 {
407+
display: inline-block;
408+
border-bottom: 1px solid #000;
409+
margin-bottom: 20px; }
410+
.facts li {
411+
border-bottom: 1px solid #eee;
412+
padding: 10px 0;
413+
margin: 0 !important; }
414+
.facts li::before {
415+
display: none; }
364416

365417
.pagination {
366418
margin-top: 30px; }
@@ -377,14 +429,14 @@ textarea.form-control {
377429
border: 0;
378430
color: #555; }
379431
.pagination .page-item .page-link:hover {
380-
background: #F6A623;
432+
background: #222;
381433
color: #fff; }
382434
.pagination .page-item .page-link:focus {
383435
box-shadow: none; }
384436
.pagination .page-item:first-child .page-link, .pagination .page-item:last-child .page-link {
385437
border-radius: 50%; }
386438
.pagination .page-item.active .page-link {
387-
background: #F6A623;
439+
background: #222;
388440
color: #fff; }
389441

390442
.content * {
@@ -409,7 +461,7 @@ textarea.form-control {
409461
color: #555;
410462
border-bottom: 1px dotted #eee; }
411463
.content a:hover {
412-
color: #F6A623; }
464+
color: #222; }
413465

414466
.content ol,
415467
.content ul {
@@ -431,7 +483,7 @@ textarea.form-control {
431483
height: 8px;
432484
width: 8px;
433485
border-radius: 50%;
434-
background: #F6A623;
486+
background: #222;
435487
left: 3px;
436488
top: 8px; }
437489

@@ -454,13 +506,13 @@ textarea.form-control {
454506
font-weight: 500; }
455507

456508
.content thead {
457-
background: #eee;
509+
background: #fbfbfb;
458510
margin-bottom: 0; }
459511
.content thead tr {
460512
border-bottom: 1px solid #eee; }
461513

462514
.content tbody {
463-
background: #fbfbfb;
515+
background: white;
464516
margin-bottom: 0; }
465517

466518
.content .notices {
@@ -483,7 +535,7 @@ textarea.form-control {
483535

484536
.content .notices.note p {
485537
border-top: 30px solid #6ab0de;
486-
background: #eee; }
538+
background: #fbfbfb; }
487539

488540
.content .notices.note p::after {
489541
content: 'Note';
@@ -494,7 +546,7 @@ textarea.form-control {
494546

495547
.content .notices.tip p {
496548
border-top: 30px solid #78C578;
497-
background: #eee; }
549+
background: #fbfbfb; }
498550

499551
.content .notices.tip p::after {
500552
content: 'Tip';
@@ -505,7 +557,7 @@ textarea.form-control {
505557

506558
.content .notices.info p {
507559
border-top: 30px solid #F0B37E;
508-
background: #eee; }
560+
background: #fbfbfb; }
509561

510562
.content .notices.info p::after {
511563
content: 'Info';
@@ -516,7 +568,7 @@ textarea.form-control {
516568

517569
.content .notices.warning p {
518570
border-top: 30px solid #E06F6C;
519-
background: #eee; }
571+
background: #fbfbfb; }
520572

521573
.content .notices.warning p::after {
522574
content: 'Warning';
@@ -529,10 +581,10 @@ textarea.form-control {
529581
font-size: 20px !important;
530582
color: #555;
531583
padding: 20px 40px;
532-
border-left: 2px solid #F6A623;
584+
border-left: 2px solid #222;
533585
margin: 40px 0;
534586
font-weight: bold;
535-
background: #eee; }
587+
background: #fbfbfb; }
536588
.content blockquote p {
537589
margin-bottom: 0 !important; }
538590

@@ -545,3 +597,17 @@ textarea.form-control {
545597
.content code {
546598
margin-bottom: 0 !important;
547599
font-size: 100%; }
600+
601+
.quote {
602+
background-color: #fbfbfb;
603+
display: flex;
604+
padding: 20px;
605+
margin-bottom: 20px; }
606+
.quote i {
607+
font-size: 24px;
608+
color: #222;
609+
margin-right: 10px; }
610+
.quote p {
611+
font-style: italic; }
612+
.quote-by {
613+
color: #222; }

layouts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<section class="section pt-0">
44
<div class="container-fluid">
55
<div class="row">
6-
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "post") }}
6+
{{ $paginator := .Paginate (where site.RegularPages "Type" "in" site.Params.mainSections) }}
77
{{ range $index,$elements:= $paginator.Pages }}
88
{{ if eq $index 0}}
99
<div class="col-12 mb-4">

0 commit comments

Comments
 (0)