Add donate button, change link styles

This commit is contained in:
lostinlight 2019-07-16 00:49:09 +03:00
parent 9f816eebc1
commit 7c4803c272
6 changed files with 33 additions and 20 deletions

View file

@ -82,6 +82,7 @@ stars: early adopters
features: features features: features
information: information information: information
contributing: contributing contributing: contributing
donate: DONATE
note: note note: note
soon: coming soon soon: coming soon
uMatch: Find users similar to you by their vocabulary uMatch: Find users similar to you by their vocabulary

View file

@ -12,6 +12,10 @@
<strong><%- __('foreword') %></strong> <strong><%- __('foreword') %></strong>
<% if (data.donate) { %>
<a href="<%= data.donate %>" class="u-block u-emphasize btn-action u-center" style="color: white; background-color: #<%= data.logoClr %>"><%- __('donate') %></a>
<% } %>
<p><%- __('promptStart') %> <%= page.title %> <%- __('promptEnd') %></p> <p><%- __('promptStart') %> <%= page.title %> <%- __('promptEnd') %></p>
<ol> <ol>

View file

@ -43,6 +43,12 @@
} }
} }
.post__preview.featured,
.post__preview a.oneliner {
padding: 0;
background: none;
}
.post__preview:not(.wanted):not(.featured) a:focus > p { .post__preview:not(.wanted):not(.featured) a:focus > p {
color: $coral; color: $coral;
} }

View file

@ -39,6 +39,9 @@
font-family: $font-secondary; font-family: $font-secondary;
display: inline-flex; display: inline-flex;
border-bottom: none; border-bottom: none;
&:hover {
background: none;
}
} }
.grid__item__image { .grid__item__image {
@ -79,11 +82,6 @@
left: 26%; left: 26%;
} }
.f-Osada {
top: 76%;
left: 48%;
}
.f-diaspora { .f-diaspora {
top: 6em; top: 6em;
left: 87%; left: 87%;
@ -106,12 +104,12 @@
.f-GNUSocial { .f-GNUSocial {
top: 83%; top: 83%;
left: 83%; left: 79%;
} }
.f-PeerTube { .f-PeerTube {
top: 65%; top: 65%;
left: 90%; left: 85%;
} }
.f-PixelFed { .f-PixelFed {
@ -289,11 +287,6 @@
flex: 25% 0 0; flex: 25% 0 0;
} }
.f-Aardwolf {
top: -1em;
left: 70%;
}
.f-diaspora { .f-diaspora {
left: 75%; left: 75%;
} }

View file

@ -31,24 +31,24 @@
font-family: $font-secondary; font-family: $font-secondary;
color: $grey; color: $grey;
line-height: 2.2; line-height: 2.2;
width: 100%;
} }
.navbar li.todo { .navbar li.todo {
text-align: center; text-align: center;
} padding-right: 1.2em;
.navbar li:not(:last-child) {
margin: 0 .8em;
} }
.navbar a { .navbar a {
transition: color .2s ease;
border-bottom: none; border-bottom: none;
display: block;
padding: 0 0 .1em 1em;
} }
.navbar a:hover, .navbar a:hover,
.navbar a:focus { .navbar a:focus {
color: $golden; color: $golden;
background-size: 2.5em 2.5em;
} }
.navbar li:not(:last-child):hover svg { .navbar li:not(:last-child):hover svg {
@ -67,7 +67,7 @@
right: 0; right: 0;
width: 200px; width: 200px;
height: 100vh; height: 100vh;
padding: 8em 22px 1em 22px; padding: 8em 0 1em 20px;
background-color: $white; background-color: $white;
display: inline-block; display: inline-block;
transform: matrix(1, 0, 0, 1, 220, 0); transform: matrix(1, 0, 0, 1, 220, 0);

View file

@ -60,11 +60,19 @@ a {
text-decoration: none; text-decoration: none;
color: $black; color: $black;
border-bottom: 1px solid $black; border-bottom: 1px solid $black;
transition: all .15s ease;
background-repeat: repeat-x;
background-size: 0 0;
background-position: 0 65%;
padding: 0 .1em;
&:hover, &:hover,
&:focus, &:focus,
&:active { &:active {
color: $golden; color: $golden;
outline: none; outline: none;
border-bottom: none;
background-image: linear-gradient($black);
background-size: 1.5em 1.5em;
} }
} }
@ -74,8 +82,8 @@ a.dark-ui {
&:hover, &:hover,
&:focus, &:focus,
&:active { &:active {
color: $golden;
outline: none; outline: none;
border-bottom: none;
} }
} }
@ -138,13 +146,14 @@ dfn {
max-width: 170px; max-width: 170px;
border: none; border: none;
margin: .5em 0; margin: .5em 0;
background-color: $golden; background: $golden;
border-radius: 6px; border-radius: 6px;
padding: 7px; padding: 7px;
&:hover, &:hover,
&:active, &:active,
&:focus { &:focus {
background: $black; background: $black;
box-shadow: 0px 2px 4px 0px $asphalt;
} }
} }