Fix white theme and borders uniformity
This commit is contained in:
parent
74fc4dbaec
commit
65c654fede
@ -16,17 +16,15 @@
|
|||||||
body {
|
body {
|
||||||
font-family: Avenir, HelveticaNeue-Light, "Helvetica Neue Light",
|
font-family: Avenir, HelveticaNeue-Light, "Helvetica Neue Light",
|
||||||
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
"Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
|
||||||
/* color: #454545; */
|
color: #454545;
|
||||||
font-size: 1.1em;
|
font-size: 1.1em;
|
||||||
background: linear-gradient(90deg, #000 21px, transparent 1%) center, linear-gradient(#000 21px, transparent 1%) center, white;
|
|
||||||
background-color: #C9C8C8;
|
|
||||||
background-size: 22px 22px;
|
background-size: 22px 22px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
/* box-sizing: border-box; */
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -54,7 +52,7 @@ p {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 1.2rem;
|
border-radius: 1.2rem;
|
||||||
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3);
|
/* box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); */
|
||||||
}
|
}
|
||||||
.home-faceshot {
|
.home-faceshot {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
@ -168,10 +166,10 @@ p {
|
|||||||
max-width: 50rem;
|
max-width: 50rem;
|
||||||
/* border-radius: 1.2rem; */
|
/* border-radius: 1.2rem; */
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
|
/* transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); */
|
||||||
|
|
||||||
border: solid;
|
border: solid;
|
||||||
border-width: 1px;
|
border-width: 3px;
|
||||||
border-color: black;
|
border-color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -204,13 +202,12 @@ p {
|
|||||||
/* margin: 3rem 0; */
|
/* margin: 3rem 0; */
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 50rem;
|
max-width: 50rem;
|
||||||
box-sizing: border-box;
|
/* /* box-sizing: border-box; */ */
|
||||||
background-color: white;
|
background-color: white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
/* border-radius: 1.2rem; */
|
/* border-radius: 1.2rem; */
|
||||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||||
transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1);
|
/* transition: transform 0.2s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.2s cubic-bezier(0.25,0.8,0.25,1); */
|
||||||
/* box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); */
|
|
||||||
}
|
}
|
||||||
.home-card {
|
.home-card {
|
||||||
padding: 0.8em;
|
padding: 0.8em;
|
||||||
@ -225,7 +222,7 @@ p {
|
|||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
border: solid;
|
border: solid;
|
||||||
border-color: grey;
|
border-color: black;
|
||||||
border-width: 3px;
|
border-width: 3px;
|
||||||
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -260,7 +257,7 @@ p {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0.77em 0;
|
padding: 0.77em 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
/* /* box-sizing: border-box; */ */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: rgba(0, 0, 0, 0.4);
|
background-color: rgba(0, 0, 0, 0.4);
|
||||||
@ -321,11 +318,11 @@ p {
|
|||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
border-radius: 0.3rem;
|
border-radius: 0.3rem;
|
||||||
transition: transform 0.1s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.1s cubic-bezier(0.25,0.8,0.25,1);
|
/* transition: transform 0.1s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.1s cubic-bezier(0.25,0.8,0.25,1); */
|
||||||
box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3);
|
/* box-shadow: 0 0.7rem 2.3rem 0 rgba(0,0,0,0.3); */
|
||||||
}
|
}
|
||||||
.button:hover {
|
.button:hover {
|
||||||
box-shadow: 0 0.05rem 0.15rem rgba(0,0,0,0.12), 0 0.05rem 0.1rem rgba(0,0,0,0.24);
|
/* box-shadow: 0 0.05rem 0.15rem rgba(0,0,0,0.12), 0 0.05rem 0.1rem rgba(0,0,0,0.24); */
|
||||||
transform: scale(0.97);
|
transform: scale(0.97);
|
||||||
}
|
}
|
||||||
.button:active {
|
.button:active {
|
||||||
@ -338,12 +335,12 @@ p {
|
|||||||
.side-padding {
|
.side-padding {
|
||||||
padding-left: 1.2rem !important;
|
padding-left: 1.2rem !important;
|
||||||
padding-right: 1.2rem !important;
|
padding-right: 1.2rem !important;
|
||||||
box-sizing: border-box !important;
|
/* /* box-sizing: border-box !important; */ */
|
||||||
}
|
}
|
||||||
.side-text-padding {
|
.side-text-padding {
|
||||||
padding-left: 1.2rem !important;
|
padding-left: 1.2rem !important;
|
||||||
padding-right: 1.2rem !important;
|
padding-right: 1.2rem !important;
|
||||||
box-sizing: border-box !important;
|
/* /* box-sizing: border-box !important; */ */
|
||||||
}
|
}
|
||||||
.small-pic {
|
.small-pic {
|
||||||
display: block;
|
display: block;
|
||||||
@ -529,8 +526,9 @@ footer h3 {
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
border: solid;
|
border: solid;
|
||||||
border-color: grey;
|
border-color: black;
|
||||||
border-width: 3px;
|
border-width: 3px;
|
||||||
|
border-style: solid;
|
||||||
}
|
}
|
||||||
.card-img {
|
.card-img {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{ .Site.LanguageCode }}" dir="ltr">
|
<html lang="{{ .Site.LanguageCode }}" dir="ltr">
|
||||||
|
|
||||||
{{ partial "head.html" . }}
|
{{ partial "head.html" . }}
|
||||||
|
|
||||||
<body class="list-body">
|
<body class="list-body">
|
||||||
|
|
||||||
<main class="card-container side-gutter">
|
<main class="card-container side-gutter">
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
<a
|
<a href="{{ .Permalink }}" class="card blog-card blog-card-feed" rel="bookmark" >
|
||||||
href="{{ .Permalink }}" class="card blog-card blog-card-feed" rel="bookmark" >
|
|
||||||
<div class="card-img-container">
|
<div class="card-img-container">
|
||||||
{{ with .Resources.GetMatch "featuredImage" }}
|
{{ with .Resources.GetMatch "featuredImage" }}
|
||||||
<picture>
|
<picture>
|
||||||
|
Loading…
Reference in New Issue
Block a user