Skip to content

Commit

Permalink
update layout
Browse files Browse the repository at this point in the history
  • Loading branch information
daleonpz committed May 30, 2024
1 parent 9d4a847 commit 1dfe473
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 66 deletions.
5 changes: 4 additions & 1 deletion _layouts/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
---

<div class="about">
<h1 class="about__title">About Me:</h1>
<div class="header" align=middle>
<br><br>
<center><h1> About </h1></center>
</div>
<div class="about__content">
{{ content }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<body>

<div class="wrapper">
<a href="{{ site.url }}/feed.xml"><img src="/images/RSS.png" align="middle" alt="rss feed"/></a>
<!-- <a href="{{ site.url }}/feed.xml"><img src="/images/RSS.png" align="middle" alt="rss feed"/></a> -->


<div id="search-icon" align="right">
Expand Down
30 changes: 2 additions & 28 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

<div class="post">
<link href="/css/syntax.css" rel="stylesheet">
<hr>
<br><br>
<div class="post__title">
<h1>{{ page.title }}</h1>
<h1>{{ page.title }}</h1>
</div>
<div class="post__date" align=right>
<p>{{ page.date | date: '%B %-d, %Y' }}</p>
Expand All @@ -22,32 +22,6 @@ <h1>{{ page.title }}</h1>
</div>
<span style="display:block; height: 5px ;"></span>

<!--
<hr>
<div class="post__title" align=middle>
<a> I'm glad you came this far</a> <br><br>
</div>
<div id=maitto align=left>
Dear Friend, <br><br>
I hope this post helped you. <br>
And if you had fun reading it... <br>
</div>
<span style="display:block; height: 20px ;"></span>
<div id=donation align="center" >
<a target="_blank" rel="nofollow" href="https://paypal.me/daleonpz/1"><img title="PayPal Donation" src="images/paypal.png"></a>
</div>
<div id=maitto align=left>
And help this page to be alive and ad free.
Thanks, <br>
</div>
<div id=maitto align=left>
&ensp;&ensp; Daniel <br>
</div>
-->

<span style="display:block; height: 20px ;"></span>
<span style="display:block; height: 10px ;"></span>

Expand Down
12 changes: 6 additions & 6 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ blockquote {
display: block;
}
h1 {
font-size: 2.5em;
font-size: 4.5em;
@media screen and (max-width: $br) {
font-size:1.5em;
font-size:2.5em;
}
font-weight: bold;
margin-bottom: 0;
Expand Down Expand Up @@ -512,19 +512,19 @@ ul.share-buttons .sr-only{


.nav_items{
background: $color_black;
background: $color_white;
background-size: auto;
}
.nav_items a {
color: $color_white;
color: $color_black;
background-size: auto;
text-decoration: none;
font-size: 1.5em;
font-size: 1.0em;
font-weight: bold;
margin-right:8px;
&:hover {
text-decoration: none;
background: $color_black;
background: $color_white;
color: #F2C94C;
}

Expand Down
24 changes: 5 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,16 @@
---

<div class="header" align=middle>
<hr>
<center><h2> Thoughts and Stories </h2></center>
<center><h2> Society. Life. Me </h2></center>
<hr>

<br><br>
<center><h1> Home </h1></center>
<p>
<br><br>
I write about any interesting thought that crosses my mind <br><br>
Or any story that I want to share.<br> <br>
Some of them have a german version. <br><br>
<a href="/me"/ align="middle">Who am I?</a>

or any story that I want to share.<br><br>
</p>
<hr>
<center><h1>Recent Posts</h1></center>
<hr>

</div>
<div class="blog">

<div class="blog">
<ul>
{% for post in site.categories.randomthought limit: 5%}
<li>
Expand All @@ -31,14 +22,9 @@
</ul>
</div>


<hr>

<div class="header">

<p>
If you want to say hello ...

Send me a <a href="mailto:daleonpz@gmail.com">e-mail</a> <br><br>
</p>
</div>
Expand Down
2 changes: 0 additions & 2 deletions me/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ Hi ᶘ ᵒᴥᵒᶅ,

My name is Daniel. I'm just a guy who wants to share something and thinks that having a blog would be fun.

Here I share with you some thoughts and stories.

You can start here! [Last post]({% for post in site.categories.randomthought limit: 1%}{{ post.url }} {% endfor %}).


Expand Down
12 changes: 3 additions & 9 deletions randomthought/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
---


<div class="header">
<hr>
<h1 align=middle> Thoughts And Stories </h1>
<h2 align=middle> Society, Life, Me </h2>
<hr>
<div class="header" align=middle>
<br><br>
<center><h1> Posts </h1></center>
</div>

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
Expand Down Expand Up @@ -54,7 +52,3 @@ <h2 align=middle> Society, Life, Me </h2>
</div>
{% endif %}
</div>

<hr>


0 comments on commit 1dfe473

Please sign in to comment.