anxhelo from lushka.al improved

This commit is contained in:
Amolith 2021-06-10 20:03:02 -04:00
parent 55f1bc20fc
commit e42abccaf6
Signed by: Amolith
GPG Key ID: 5548AD9930655715
3 changed files with 150 additions and 197 deletions

View File

@ -1,5 +1,5 @@
/* =Base */ /* =Base */
input[type=text] { input[type="text"] {
width: 30%; width: 30%;
box-sizing: border-box; box-sizing: border-box;
border: 0px; border: 0px;
@ -11,172 +11,180 @@ input[type=text] {
-webkit-transition: width 0.4s ease-in-out; -webkit-transition: width 0.4s ease-in-out;
transition: width 0.4s ease-in-out; transition: width 0.4s ease-in-out;
} }
input[type=text]:focus {
input[type="text"]:focus {
width: 75%; width: 75%;
} }
body { body {
font-family: sans-serif; font-family: sans-serif;
color: $iron; color: $iron;
background-color: $dorian; background-color: $dorian;
} }
a { a {
color: $iron; color: $iron;
font-weight: bold; font-weight: bold;
text-decoration: none; text-decoration: none;
} }
.content { .content {
margin-top: -20px; margin-top: -20px;
word-wrap: anywhere; word-wrap: anywhere;
} }
.content .headerlink { .content .headerlink {
display: none; display: none;
float: left; float: left;
padding-right: 4px; padding-right: 4px;
margin-left: -30px; margin-left: -30px;
&:before {
content: "\f0c1";
font-size: smaller;
font-family: "ForkAwesome";
}
} }
.content .headerlink::before {
content: "\f0c1"; .content h1:hover .headerlink,
font-size: smaller; .content h2:hover .headerlink,
font-family: "ForkAwesome";
}
.content h1:hover .headerlink {
display: block;
}
.content h2:hover .headerlink {
display: block;
}
.content h3:hover .headerlink { .content h3:hover .headerlink {
display: block; display: block;
} }
.content > h1,h2 {
.content > h1,
h2 {
border-bottom: 2px solid #fff; border-bottom: 2px solid #fff;
padding-bottom: 7px; padding-bottom: 7px;
} }
.content > h3 { .content > h3 {
font-size: 21px; font-size: 21px;
} }
.content > h4 { .content > h4 {
font-size: 19px; font-size: 19px;
} }
.content a { .content a {
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
text-align: justify; text-align: justify;
} }
.content p a::after { .content p a::after {
content: "\f08e"; content: "\f08e";
font-size: 15px; font-size: 15px;
font-family: "ForkAwesome"; font-family: "ForkAwesome";
margin-left: 5px; margin-left: 5px;
} }
.content li a::after { .content li a::after {
content: "\f08e"; content: "\f08e";
font-size: 15px; font-size: 15px;
font-family: "ForkAwesome"; font-family: "ForkAwesome";
margin-left: 5px; margin-left: 5px;
} }
.footnotes { .footnotes {
border-top: 2px solid #808080; border-top: 2px solid #808080;
} }
.footnote { .footnote {
text-decoration: underline!important; text-decoration: underline !important;
} }
a.footnote::after { a.footnote::after {
display: none; display: none;
} }
a.reversefootnote::after { a.reversefootnote::after {
display: none; display: none;
} }
.hide { .hide {
display: none; display: none;
} }
p { p {
font-size: 20px; font-size: 20px;
line-height: 32px; line-height: 32px;
} }
p.center { p.center {
text-align: center; text-align: center;
} }
ul { ul {
font-size: 17px; font-size: 17px;
line-height: 27px; line-height: 27px;
} }
ol { ol {
font-size: 17px; font-size: 17px;
line-height: 27px; line-height: 27px;
} }
img { img {
margin: 40px auto; margin: 40px auto;
display: block; display: block;
max-width: 100%; max-width: 100%;
cursor: pointer; cursor: pointer;
} }
.content img { .content img {
position: relative; position: relative;
transition: transform .3s ease; transition: transform 0.3s ease;
}
.content img:hover { &:hover {
/** box-shadow: 0 14px 28px rgba(0,0,0,0.25),0 10px 10px rgba(0,0,0,0.22);**/ //box-shadow: 0 14px 28px rgba(0,0,0,0.25),0 10px 10px rgba(0,0,0,0.22);**/
transform: translate3d(1px, -5px, 0px); transform: translate3d(1px, -5px, 0px);
} }
.content img:active { &:active {
transform: scale(1.4); transform: scale(1.4);
}
} }
.post-image { .post-image {
display: none; display: none;
} }
.flex-wrapper {
display: flex;
justify-content: center;
background-color: #323234;
}
.flex-cards { .flex-cards {
width: 100%; width: 100%;
display: flex; display: grid;
flex-wrap: wrap; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
grid-gap: 0.7em;
background-color: #323234; background-color: #323234;
justify-content: center; justify-content: center;
} }
.card { .card {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3); box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
margin: 5px; margin: 5px;
transition: 0.3s; transition: 0.3s;
border-radius: 5px; border-radius: 5px;
width: 28.3%;
background: #4f4f4fff; background: #4f4f4fff;
padding: 15px; padding: 15px;
font-size: 15px; font-size: 15px;
text-align: center; text-align: center;
display: flex;
flex-direction: column;
& .buttons {
margin-top: auto;
}
& p {
font-size: 17px;
text-align: left;
line-height: 27px;
}
&:hover {
box-shadow: 0 12px 20px 0 rgba(0, 0, 0, 0.5);
}
} }
div.card p {
font-size: 17px;
text-align: left;
line-height: 27px;
}
.card:hover {
box-shadow: 0 12px 20px 0 rgba(0,0,0,0.5);
}
.crypto-card {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3);
margin: 5px;
transition: 0.3s;
border-radius: 5px;
width: 35%;
background: #ffffffff;
padding: 15px;
font-size: 15px;
text-align: center;
color: #323234;
word-wrap: break-word;
}
div.crypto-card p {
font-size: 17px;
text-align: center;
line-height: 27px;
}
.crypto-card:hover {
box-shadow: 0 12px 20px 0 rgba(0,0,0,0.5);
}
.button { .button {
border-radius: 8px; border-radius: 8px;
border: 0px; border: 0px;
@ -192,16 +200,18 @@ div.crypto-card p {
transition-duration: 0.4s; transition-duration: 0.4s;
cursor: pointer; cursor: pointer;
border: 2px solid #fff; border: 2px solid #fff;
&:hover {
background-color: #4f4f4f;
color: #ffffff;
}
} }
.button:hover {
background-color: #4f4f4f;
color: #FFFFFF;
}
.tor { .tor {
border-radius: 8px; border-radius: 8px;
border: 0px; border: 0px;
color: #fff; color: #fff;
background-color: #7D4699; background-color: #7d4699;
padding: 16px 16px; padding: 16px 16px;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
@ -210,14 +220,16 @@ div.crypto-card p {
-webkit-transition-duration: 0.4s; -webkit-transition-duration: 0.4s;
transition-duration: 0.4s; transition-duration: 0.4s;
cursor: pointer; cursor: pointer;
border: 2px solid #7D4699; border: 2px solid #7d4699;
margin-left: 10px; margin-left: 10px;
&:hover {
background-color: #4f4f4f;
color: #fff;
border: 2px solid #fff;
}
} }
.tor:hover {
background-color: #4f4f4f;
color: #fff;
border: 2px solid #fff;
}
.donate { .donate {
border-radius: 8px; border-radius: 8px;
border: 0px; border: 0px;
@ -234,29 +246,33 @@ div.crypto-card p {
cursor: pointer; cursor: pointer;
border: 2px solid #fff; border: 2px solid #fff;
} }
.scroll { .scroll {
padding-top: 10px; padding-top: 10px;
} }
.tags { .tags {
margin-bottom: 3rem; margin-bottom: 3rem;
font-family: sans-serif; font-family: sans-serif;
} }
.list-tags a { .list-tags a {
font-size: 1rem; font-size: 1rem;
color: #fff; color: #fff;
display:inline-block; display: inline-block;
border:1px solid #fff; border: 1px solid #fff;
border-radius:.313rem; border-radius: 0.313rem;
padding:.25rem .625rem; padding: 0.25rem 0.625rem;
margin-right:.125rem; margin-right: 0.125rem;
margin-bottom:.5rem; margin-bottom: 0.5rem;
text-decoration:none !important; text-decoration: none !important;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
transition-duration: 0.4s; transition-duration: 0.4s;
} }
.tag-title { .tag-title {
font-family: serif; font-family: serif;
font-weight: 400; font-weight: 400;
@ -272,76 +288,65 @@ div.crypto-card p {
padding-right: 0; padding-right: 0;
color: #fff; color: #fff;
} }
.tag-list { .tag-list {
list-style-type: none; list-style-type: none;
font-family: serif; font-family: serif;
padding: 0px; padding: 0px;
& li {
font-family: serif;
border-bottom: 1px solid #fff;
padding: 0.625rem 0;
}
& span {
font-weight: 500;
font-size: 20px;
color: $iron;
}
} }
.tag-list li {
font-family: serif;
border-bottom: 1px solid #fff;
padding: .625rem 0;
}
.tag-list span {
font-weight: 500;
font-size: 20px;
color: $iron;
}
.meta { .meta {
font-size: 15px!important; font-size: 15px !important;
} }
.meta { .meta {
font-size: 1rem; font-size: 1rem;
color: #fff; color: #fff;
display:inline-block; display: inline-block;
border:1px solid #fff; border: 1px solid #fff;
border-radius:.313rem; border-radius: 0.313rem;
padding:.15rem .6rem; padding: 0.15rem 0.6rem;
margin-right:.125rem; margin-right: 0.125rem;
margin-bottom:.5rem; margin-bottom: 0.5rem;
text-decoration:none !important; text-decoration: none !important;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
transition-duration: 0.4s; transition-duration: 0.4s;
} }
time { time {
font-family: Overpass; font-family: "Overpass";
font-size: 20px; font-size: 20px;
font-weight: 500; font-weight: 500;
float: right; float: right;
vertical-align: middle; vertical-align: middle;
} }
.tags a:hover { .tags a:hover {
color:#323234; color: #323234;
background-color: #fff; background-color: #fff;
} }
.donate:hover { .donate:hover {
background-color: #323234; background-color: #323234;
color: #fff; color: #fff;
} }
.contact-card {
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3);
background: #4f4f4fff;
margin: 5px;
transition: 0.3s;
border-radius: 5px;
width: 20%;
text-align: center;
}
div.contact-card h1 {
font-size: 50px;
text-align: center;
line-height: 0px;
}
div.contact-card h2 {
font-size: 17px;
line-height: 27px;
}
.contact-card:hover {
box-shadow: 0 12px 20px 0 rgba(0,0,0,0.5);
}
blockquote { blockquote {
letter-spacing: 1px; letter-spacing: 1px;
margin: 0px; margin: 0px;
@ -359,18 +364,21 @@ blockquote {
color: #bcbcbc; color: #bcbcbc;
} }
} }
.publish-date { .publish-date {
color: $iron; color: $iron;
font-weight: bold; font-weight: bold;
} }
strong { strong {
color: $iron; color: $iron;
} }
/* =Header */ /* =Header */
.wrapper { .wrapper {
width: 70%; max-width: 1000px;
margin: 100px auto; margin: 100px auto;
padding: 0 30px;
} }
.header { .header {
@ -379,7 +387,7 @@ strong {
} }
.navigation { .navigation {
float:left; float: left;
} }
.logo { .logo {
@ -391,7 +399,7 @@ strong {
.menu { .menu {
color: $cloudy; color: $cloudy;
font-size: 18px; font-size: 18px;
margin:0px; margin: 0px;
margin-top: 6px; margin-top: 6px;
padding: 0px; padding: 0px;
list-style-type: none; list-style-type: none;
@ -411,7 +419,7 @@ strong {
} }
.social-links { .social-links {
float:right; float: right;
font-size: 24px; font-size: 24px;
color: $cloudy; color: $cloudy;
list-style-type: none; list-style-type: none;
@ -424,8 +432,8 @@ strong {
/* =Titles */ /* =Titles */
.page-title { .page-title {
margin-top:100px; margin-top: 100px;
margin-bottom:75px; margin-bottom: 75px;
text-align: center; text-align: center;
font-family: serif; font-family: serif;
} }
@ -495,13 +503,13 @@ strong {
} }
/* =Explore */ /* =Explore */
.pagination { .pagination {
text-align: center; text-align: center;
padding: 30px 0 45px; padding: 30px 0 45px;
margin: 0 auto; margin: 0 auto;
max-width: 62.5rem; max-width: 62.5rem;
} }
.pagination > a { .pagination > a {
display: inline-block; display: inline-block;
border-radius: 50% !important; border-radius: 50% !important;
padding: 6px; padding: 6px;
@ -509,7 +517,7 @@ strong {
height: 32px; height: 32px;
text-decoration: none; text-decoration: none;
} }
.pagination > a:hover { .pagination > a:hover {
background-color: transparent; background-color: transparent;
} }
@ -561,7 +569,6 @@ strong {
margin-left: 0px; margin-left: 0px;
} }
/* =Post page */ /* =Post page */
.about { .about {
color: $cloudy; color: $cloudy;
@ -583,29 +590,7 @@ strong {
#disqus_thread { #disqus_thread {
margin-top: 100px; margin-top: 100px;
} }
@media (min-width: 1920px) {
.wrapper {
width: 50%
}
}
@media (min-width: 2560px) {
.wrapper {
width: 37%
}
}
@media (max-width: 1000px) {
.contact-card {
width: 28%;
}
}
@media screen and (max-width: 1000px) and (max-height:600px) {
.wrapper {
width: 75%;
}
.card {
width: 35%;
}
}
@media (max-width: 800px) { @media (max-width: 800px) {
/* =Base */ /* =Base */
p { p {
@ -613,15 +598,16 @@ strong {
line-height: 1.6; line-height: 1.6;
} }
.wrapper {
width: 80%;
}
.navigation, .navigation,
.social-links { .social-links {
@include centered-block(); @include centered-block();
} }
.wrapper {
padding-left: 50px;
padding-right: 50px;
}
.social-links { .social-links {
font-size: 30px; font-size: 30px;
margin-top: 35px; margin-top: 35px;
@ -674,45 +660,13 @@ strong {
.post-teaser p { .post-teaser p {
text-align: center; text-align: center;
} }
.card {
width: 40%;
}
.contact-card {
width: 30%;
}
.crypto-card {
width: 70%;
}
} }
@media (max-width: 620px) { @media (max-width: 620px) {
input[type=text] { input[type="text"] {
width: 80%; width: 80%;
} }
input[type=text]:focus { input[type="text"]:focus {
width: 100%;
}
.card {
width: 80%;
}
.wrapper {
width: 84%;
}
.contact-card {
width: 45%;
}
.crypto-card {
width: 70%;
}
}
@media (max-width: 400px) {
.card {
width: 100%;
}
.contact-card {
width: 100%;
}
.crypto-card {
width: 100%; width: 100%;
} }
} }
;

View File

@ -33,10 +33,8 @@ priority: 0.9
<br/> <br/>
--> -->
<br/> <br/>
<div class="flex-wrapper"> <div class="flex-cards">
<div class="flex-cards"> <!-- Static cards -->
<!-- Static cards -->
</div>
</div> </div>
<br /> <br />
<center> <center>

View File

@ -9,12 +9,13 @@ for i in x["cards"]:
<div class="card"> <div class="card">
<h1>{i["name"]}</h1> <h1>{i["name"]}</h1>
<p>{i["description"]}</p> <p>{i["description"]}</p>
<div class="buttons">
<a href="{i["link"]}"><button class="button">{i["button_text"]}</button></a> <a href="{i["link"]}"><button class="button">{i["button_text"]}</button></a>
""" """
if i["tor"] != "#": if i["tor"] != "#":
text += f'<a href="{i["tor"]}"><button class="tor">Tor</button></a>' text += f'<a href="{i["tor"]}"><button class="tor">Tor</button></a>'
text += "</div>" text += "</div></div>"
with open('_site/index.html') as f: with open('_site/index.html') as f:
y = f.read() y = f.read()