NixNet/_sass/_default.scss

673 lines
10 KiB
SCSS
Raw Normal View History

2018-12-14 05:47:01 +00:00
/* =Base */
2021-06-11 00:03:02 +00:00
input[type="text"] {
2019-02-04 03:05:55 +00:00
width: 30%;
2019-02-02 20:35:21 +00:00
box-sizing: border-box;
2019-02-04 03:05:55 +00:00
border: 0px;
border-radius: 5px;
background-color: #292929;
2019-02-02 20:35:21 +00:00
font-size: 16px;
text-align: center;
padding: 10px 0px 10px 0px;
-webkit-transition: width 0.4s ease-in-out;
transition: width 0.4s ease-in-out;
2019-06-04 17:52:49 +00:00
}
2021-06-11 00:03:02 +00:00
input[type="text"]:focus {
2019-02-02 20:35:21 +00:00
width: 75%;
}
2021-06-11 00:03:02 +00:00
2018-12-14 05:47:01 +00:00
body {
2020-12-09 15:26:37 +00:00
font-family: sans-serif;
2018-12-14 05:47:01 +00:00
color: $iron;
background-color: $dorian;
}
2021-06-11 00:03:02 +00:00
2018-12-14 05:47:01 +00:00
a {
color: $iron;
font-weight: bold;
text-decoration: none;
}
2021-06-11 00:03:02 +00:00
2019-06-04 17:52:49 +00:00
.content {
margin-top: -20px;
2019-07-24 21:40:31 +00:00
word-wrap: anywhere;
2019-06-04 17:52:49 +00:00
}
2021-06-11 00:03:02 +00:00
2019-06-04 17:52:49 +00:00
.content .headerlink {
display: none;
float: left;
padding-right: 4px;
margin-left: -30px;
2021-06-11 00:03:02 +00:00
&:before {
content: "\f0c1";
font-size: smaller;
font-family: "ForkAwesome";
}
2019-06-04 17:52:49 +00:00
}
2021-06-11 00:03:02 +00:00
.content h1:hover .headerlink,
.content h2:hover .headerlink,
2019-06-06 13:28:38 +00:00
.content h3:hover .headerlink {
display: block;
}
2021-06-11 00:03:02 +00:00
.content > h1,
h2 {
2019-06-04 17:52:49 +00:00
border-bottom: 2px solid #fff;
padding-bottom: 7px;
}
2021-06-11 00:03:02 +00:00
2019-07-24 21:40:31 +00:00
.content > h3 {
font-size: 21px;
}
2021-06-11 00:03:02 +00:00
2019-07-24 21:40:31 +00:00
.content > h4 {
font-size: 19px;
}
2021-06-11 00:03:02 +00:00
.content a {
text-decoration: none;
font-weight: bold;
2019-06-04 17:52:49 +00:00
text-align: justify;
}
2021-06-11 00:03:02 +00:00
2019-07-24 21:40:31 +00:00
.content p a::after {
2019-07-14 03:50:04 +00:00
content: "\f08e";
font-size: 15px;
2019-04-05 17:38:27 +00:00
font-family: "ForkAwesome";
2019-07-14 03:50:04 +00:00
margin-left: 5px;
2018-12-14 05:47:01 +00:00
}
2021-06-11 00:03:02 +00:00
2019-08-25 17:17:09 +00:00
.content li a::after {
content: "\f08e";
font-size: 15px;
font-family: "ForkAwesome";
margin-left: 5px;
}
2021-06-11 00:03:02 +00:00
.footnotes {
border-top: 2px solid #808080;
}
2021-06-11 00:03:02 +00:00
.footnote {
2021-06-11 00:03:02 +00:00
text-decoration: underline !important;
}
2021-06-11 00:03:02 +00:00
a.footnote::after {
display: none;
}
2021-06-11 00:03:02 +00:00
a.reversefootnote::after {
display: none;
}
2021-06-11 00:03:02 +00:00
2019-11-19 14:19:25 +00:00
.hide {
display: none;
}
2021-06-11 00:03:02 +00:00
2018-12-14 05:47:01 +00:00
p {
font-size: 20px;
line-height: 32px;
}
2021-06-11 00:03:02 +00:00
2018-12-15 00:56:04 +00:00
p.center {
text-align: center;
}
2021-06-11 00:03:02 +00:00
2018-12-15 00:56:04 +00:00
ul {
font-size: 17px;
line-height: 27px;
}
2021-06-11 00:03:02 +00:00
2018-12-15 00:56:04 +00:00
ol {
font-size: 17px;
line-height: 27px;
}
2021-06-11 00:03:02 +00:00
2018-12-14 05:47:01 +00:00
img {
margin: 40px auto;
display: block;
max-width: 100%;
2019-10-19 19:26:39 +00:00
cursor: pointer;
2018-12-14 05:47:01 +00:00
}
2021-06-11 00:03:02 +00:00
.content img {
position: relative;
2021-06-11 00:03:02 +00:00
transition: transform 0.3s ease;
&:hover {
//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);
}
&:active {
transform: scale(1.4);
}
}
2021-06-11 00:03:02 +00:00
2019-06-06 13:28:38 +00:00
.post-image {
display: none;
}
2021-06-11 00:03:02 +00:00
2019-01-02 02:48:16 +00:00
.flex-cards {
2019-01-01 23:58:24 +00:00
width: 100%;
2021-06-11 00:03:02 +00:00
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
grid-gap: 0.7em;
2019-02-10 18:48:45 +00:00
background-color: #323234;
2019-01-02 02:48:16 +00:00
justify-content: center;
2019-01-01 23:58:24 +00:00
}
2021-06-11 00:03:02 +00:00
.card {
2021-06-11 00:03:02 +00:00
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
2019-01-01 23:58:24 +00:00
margin: 5px;
transition: 0.3s;
border-radius: 5px;
2019-01-01 23:58:24 +00:00
background: #4f4f4fff;
padding: 15px;
2019-01-01 23:58:24 +00:00
font-size: 15px;
text-align: center;
2021-06-11 00:03:02 +00:00
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);
}
2019-01-01 23:58:24 +00:00
}
2021-06-11 00:03:02 +00:00
.button {
border-radius: 8px;
border: 0px;
2019-03-20 00:05:00 +00:00
color: #4f4f4f;
background-color: white;
padding: 16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
-webkit-transition-duration: 0.4s;
transition-duration: 0.4s;
cursor: pointer;
2019-01-01 23:58:24 +00:00
border: 2px solid #fff;
2021-06-11 00:03:02 +00:00
&:hover {
background-color: #4f4f4f;
color: #ffffff;
}
}
2021-06-11 00:03:02 +00:00
2019-03-09 17:20:59 +00:00
.tor {
border-radius: 8px;
border: 0px;
2019-03-20 00:05:00 +00:00
color: #fff;
2021-06-11 00:03:02 +00:00
background-color: #7d4699;
2019-03-20 00:05:00 +00:00
padding: 16px 16px;
2019-03-09 17:20:59 +00:00
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
-webkit-transition-duration: 0.4s;
transition-duration: 0.4s;
cursor: pointer;
2021-06-11 00:03:02 +00:00
border: 2px solid #7d4699;
2019-03-20 00:05:00 +00:00
margin-left: 10px;
2021-06-11 00:03:02 +00:00
&:hover {
background-color: #4f4f4f;
color: #fff;
border: 2px solid #fff;
}
2019-03-09 17:20:59 +00:00
}
2021-06-11 00:03:02 +00:00
.donate {
border-radius: 8px;
border: 0px;
color: #323234;
background-color: white;
padding: 5px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
-webkit-transition-duration: 0.4s;
transition-duration: 0.4s;
cursor: pointer;
border: 2px solid #fff;
}
2021-06-11 00:03:02 +00:00
2019-11-03 16:09:04 +00:00
.scroll {
padding-top: 10px;
}
2021-06-11 00:03:02 +00:00
2019-11-03 15:56:20 +00:00
.tags {
margin-bottom: 3rem;
2020-12-09 15:26:37 +00:00
font-family: sans-serif;
2019-11-03 15:56:20 +00:00
}
2021-06-11 00:03:02 +00:00
2019-11-03 15:56:20 +00:00
.list-tags a {
font-size: 1rem;
color: #fff;
2021-06-11 00:03:02 +00:00
display: inline-block;
border: 1px solid #fff;
border-radius: 0.313rem;
padding: 0.25rem 0.625rem;
margin-right: 0.125rem;
margin-bottom: 0.5rem;
text-decoration: none !important;
2019-11-03 15:56:20 +00:00
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
transition-duration: 0.4s;
}
2021-06-11 00:03:02 +00:00
2019-11-03 15:56:20 +00:00
.tag-title {
2020-12-09 15:26:37 +00:00
font-family: serif;
2019-11-03 15:56:20 +00:00
font-weight: 400;
font-style: normal;
font-size: 2.25rem;
margin-top: 3.75rem;
width: auto;
float: none;
display: block;
margin-right: auto;
margin-left: auto;
padding-left: 0;
padding-right: 0;
color: #fff;
}
2021-06-11 00:03:02 +00:00
2019-11-03 15:56:20 +00:00
.tag-list {
list-style-type: none;
2020-12-09 15:26:37 +00:00
font-family: serif;
2019-11-03 15:56:20 +00:00
padding: 0px;
2021-06-11 00:03:02 +00:00
& li {
font-family: serif;
border-bottom: 1px solid #fff;
padding: 0.625rem 0;
}
& span {
font-weight: 500;
font-size: 20px;
color: $iron;
}
2019-11-03 15:56:20 +00:00
}
2021-06-11 00:03:02 +00:00
2019-11-03 15:56:20 +00:00
.meta {
2021-06-11 00:03:02 +00:00
font-size: 15px !important;
2019-11-03 15:56:20 +00:00
}
2021-06-11 00:03:02 +00:00
2019-11-03 15:56:20 +00:00
.meta {
font-size: 1rem;
color: #fff;
2021-06-11 00:03:02 +00:00
display: inline-block;
border: 1px solid #fff;
border-radius: 0.313rem;
padding: 0.15rem 0.6rem;
margin-right: 0.125rem;
margin-bottom: 0.5rem;
text-decoration: none !important;
2019-11-03 15:56:20 +00:00
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
transition-duration: 0.4s;
}
2021-06-11 00:03:02 +00:00
2019-11-03 15:56:20 +00:00
time {
2021-06-11 00:03:02 +00:00
font-family: "Overpass";
2019-11-03 15:56:20 +00:00
font-size: 20px;
font-weight: 500;
float: right;
vertical-align: middle;
}
2021-06-11 00:03:02 +00:00
2019-11-03 15:56:20 +00:00
.tags a:hover {
2021-06-11 00:03:02 +00:00
color: #323234;
2019-11-03 15:56:20 +00:00
background-color: #fff;
}
2021-06-11 00:03:02 +00:00
.donate:hover {
background-color: #323234;
2019-11-03 15:56:20 +00:00
color: #fff;
}
2021-06-11 00:03:02 +00:00
2018-12-14 05:47:01 +00:00
blockquote {
2018-12-15 00:56:04 +00:00
letter-spacing: 1px;
2019-06-06 13:28:38 +00:00
margin: 0px;
2018-12-14 05:47:01 +00:00
margin-top: 40px;
2019-06-06 13:28:38 +00:00
margin-bottom: 40px;
2018-12-14 05:47:01 +00:00
padding: 0px;
2019-06-06 13:28:38 +00:00
border-left: 4px solid #fff;
2018-12-14 05:47:01 +00:00
p {
2019-06-06 13:28:38 +00:00
margin-left: 20px;
2018-12-14 05:47:01 +00:00
font-size: 20px;
2019-06-06 13:28:38 +00:00
color: #bcbcbc;
2018-12-14 05:47:01 +00:00
font-weight: 400;
2019-06-06 13:28:38 +00:00
}
ul {
color: #bcbcbc;
2018-12-14 05:47:01 +00:00
}
}
2021-06-11 00:03:02 +00:00
2019-06-06 13:28:38 +00:00
.publish-date {
color: $iron;
font-weight: bold;
}
2021-06-11 00:03:02 +00:00
2018-12-14 05:47:01 +00:00
strong {
color: $iron;
}
/* =Header */
.wrapper {
2021-06-11 00:03:02 +00:00
max-width: 1000px;
2018-12-14 05:47:01 +00:00
margin: 100px auto;
2021-06-11 00:03:02 +00:00
padding: 0 30px;
2018-12-14 05:47:01 +00:00
}
.header {
overflow: hidden;
2020-12-09 15:26:37 +00:00
font-family: serif;
2018-12-14 05:47:01 +00:00
}
.navigation {
2021-06-11 00:03:02 +00:00
float: left;
2018-12-14 05:47:01 +00:00
}
.logo {
font-size: 50px;
font-weight: 700;
color: $iron;
}
.menu {
color: $cloudy;
font-size: 18px;
2021-06-11 00:03:02 +00:00
margin: 0px;
2018-12-14 05:47:01 +00:00
margin-top: 6px;
padding: 0px;
list-style-type: none;
}
2019-06-06 13:28:38 +00:00
.menu-entry {
2018-12-14 05:47:01 +00:00
display: inline-block;
margin-right: 35px;
&:last-child {
margin-right: 0px;
}
}
2019-06-06 13:28:38 +00:00
.menu-entry a {
2018-12-14 05:47:01 +00:00
font-weight: 400;
}
.social-links {
2021-06-11 00:03:02 +00:00
float: right;
2018-12-14 05:47:01 +00:00
font-size: 24px;
color: $cloudy;
list-style-type: none;
}
2019-06-06 13:28:38 +00:00
.social-links-entry {
2018-12-14 05:47:01 +00:00
display: inline-block;
margin-left: 10px;
}
/* =Titles */
.page-title {
2021-06-11 00:03:02 +00:00
margin-top: 100px;
margin-bottom: 75px;
2018-12-14 05:47:01 +00:00
text-align: center;
2020-12-09 15:26:37 +00:00
font-family: serif;
2018-12-14 05:47:01 +00:00
}
2019-06-06 13:28:38 +00:00
.page-title-text {
2019-01-14 16:39:40 +00:00
font-weight: 600;
font-size: 60px;
2018-12-14 05:47:01 +00:00
}
2019-06-06 13:28:38 +00:00
.page-title-subtitle {
2018-12-14 05:47:01 +00:00
font-weight: 400;
2020-12-09 15:26:37 +00:00
font-family: monospace;
2018-12-14 05:47:01 +00:00
font-size: 22px;
color: $cloudy;
}
.post-title {
margin-bottom: 100px;
2020-12-09 15:26:37 +00:00
font-family: serif;
2018-12-14 05:47:01 +00:00
}
2019-06-06 13:28:38 +00:00
.post-title-text {
2018-12-14 05:47:01 +00:00
font-size: 40px;
}
2019-06-06 13:28:38 +00:00
.post-title-subtitle {
2018-12-14 05:47:01 +00:00
font-size: 20px;
}
/* =Post teasers */
.list-posts {
list-style-type: none;
2020-12-09 15:26:37 +00:00
font-family: serif;
2018-12-14 05:47:01 +00:00
padding: 0px;
}
.post-teaser {
2020-12-09 15:26:37 +00:00
font-family: serif;
2018-12-14 05:47:01 +00:00
}
2019-01-11 14:14:33 +00:00
.post-teaser p {
font-weight: 200;
2020-12-09 15:26:37 +00:00
font-family: sans-serif;
2019-01-11 14:14:33 +00:00
font-size: 15px;
font-style: none;
}
2019-06-06 13:28:38 +00:00
.post-teaser-title {
2019-01-11 14:14:33 +00:00
font-size: 25px;
2018-12-14 05:47:01 +00:00
color: $iron;
}
2019-06-06 13:28:38 +00:00
.post-teaser-date {
2019-01-11 14:14:33 +00:00
font-size: 17px;
2018-12-14 05:47:01 +00:00
float: right;
vertical-align: middle;
color: $cloudy;
2020-12-09 15:26:37 +00:00
font-family: monospace;
2018-12-14 05:47:01 +00:00
}
.empty-post-list {
font-size: 22px;
font-weight: 700;
color: $iron;
text-align: center;
}
/* =Explore */
2021-06-11 00:03:02 +00:00
.pagination {
text-align: center;
padding: 30px 0 45px;
margin: 0 auto;
max-width: 62.5rem;
}
2021-06-11 00:03:02 +00:00
.pagination > a {
display: inline-block;
border-radius: 50% !important;
padding: 6px;
width: 32px;
height: 32px;
text-decoration: none;
}
2021-06-11 00:03:02 +00:00
.pagination > a:hover {
background-color: transparent;
}
2018-12-14 05:47:01 +00:00
.explore {
text-align: center;
2020-12-09 15:26:37 +00:00
font-family: monospace;
2018-12-14 05:47:01 +00:00
color: $cloudy;
margin-top: 80px;
2019-10-19 19:26:39 +00:00
word-break: break-all;
2018-12-14 05:47:01 +00:00
}
2019-06-06 13:28:38 +00:00
.explore-divider {
2018-12-14 05:47:01 +00:00
font-size: 18px;
letter-spacing: 8.18px;
}
2019-06-06 13:28:38 +00:00
.explore-label {
2018-12-14 05:47:01 +00:00
font-size: 14px;
margin-top: 15px;
2020-12-09 15:26:37 +00:00
font-family: monospace;
2018-12-14 05:47:01 +00:00
}
.categories {
list-style-type: none;
2020-12-09 15:26:37 +00:00
font-family: monospace;
2018-12-14 05:47:01 +00:00
margin-top: 15px;
padding: 0px;
}
2019-06-06 13:28:38 +00:00
.categories-item {
2018-12-14 05:47:01 +00:00
display: inline-block;
font-weight: 700;
font-size: 18px;
}
2019-06-06 13:28:38 +00:00
.categories-item a {
2018-12-14 05:47:01 +00:00
color: $iron;
2020-12-09 15:26:37 +00:00
font-family: monospace;
2018-12-14 05:47:01 +00:00
}
2019-06-06 13:28:38 +00:00
.categories-item:after {
2018-12-14 05:47:01 +00:00
content: "/";
margin-left: 6px;
color: $cloudy;
}
2019-06-06 13:28:38 +00:00
.categories-item:last-child:after {
2018-12-14 05:47:01 +00:00
content: "";
margin-left: 0px;
}
/* =Post page */
.about {
color: $cloudy;
margin-top: 50px;
2018-12-14 05:47:01 +00:00
text-align: center;
line-height: 24px;
}
2019-06-06 13:28:38 +00:00
.about-divider {
2018-12-14 05:47:01 +00:00
font-size: 20px;
margin-bottom: 10px;
2018-12-14 05:47:01 +00:00
letter-spacing: 9.09px;
}
2019-06-06 13:28:38 +00:00
.about-text {
2018-12-14 05:47:01 +00:00
font-size: 18px;
}
#disqus_thread {
margin-top: 100px;
}
2021-06-11 00:03:02 +00:00
2018-12-14 05:47:01 +00:00
@media (max-width: 800px) {
/* =Base */
p {
font-size: 16px;
line-height: 1.6;
}
.navigation,
.social-links {
@include centered-block();
}
2021-06-11 00:03:02 +00:00
.wrapper {
padding-left: 50px;
padding-right: 50px;
}
2018-12-14 05:47:01 +00:00
.social-links {
font-size: 30px;
margin-top: 35px;
}
2019-11-03 15:56:20 +00:00
.tags {
text-align: center;
}
time {
2019-11-03 20:41:05 +00:00
display: none;
2019-11-03 15:56:20 +00:00
}
2018-12-14 05:47:01 +00:00
.page-title {
margin-top: 80px;
margin-bottom: 60px;
}
2019-06-06 13:28:38 +00:00
.page-title-text {
2018-12-14 05:47:01 +00:00
font-size: 40px;
}
2019-06-06 13:28:38 +00:00
.page-title-subtitle {
2018-12-14 05:47:01 +00:00
font-size: 18px;
}
2019-06-06 13:28:38 +00:00
.post-teaser-title {
2018-12-14 05:47:01 +00:00
font-size: 18px;
@include centered-block();
}
2019-06-06 13:28:38 +00:00
.post-teaser-date {
2018-12-14 05:47:01 +00:00
font-size: 16px;
margin-top: 10px;
float: none;
@include centered-block();
}
.explore {
margin-top: 80px;
}
2019-06-06 13:28:38 +00:00
.post-title-text {
2018-12-14 05:47:01 +00:00
font-size: 28px;
}
2019-06-06 13:28:38 +00:00
.post-title-subtitle {
2018-12-14 05:47:01 +00:00
font-size: 18px;
}
2019-01-14 16:39:40 +00:00
.post-teaser p {
text-align: center;
}
2019-01-02 02:48:16 +00:00
}
2021-06-11 00:03:02 +00:00
2019-01-02 02:48:16 +00:00
@media (max-width: 620px) {
2021-06-11 00:03:02 +00:00
input[type="text"] {
2019-01-02 02:48:16 +00:00
width: 80%;
}
2021-06-11 00:03:02 +00:00
input[type="text"]:focus {
2019-01-11 21:04:16 +00:00
width: 100%;
2019-01-11 14:14:33 +00:00
}
2018-12-14 05:47:01 +00:00
}