revuo-weekly/_sass/custom.scss

397 lines
6.1 KiB
SCSS
Raw Normal View History

p.note {
2023-03-11 10:35:11 +00:00
font-size: 0.7em;
margin-bottom: 1rem;
margin-top: -1rem;
}
.bcstats {
2023-03-11 10:35:11 +00:00
background-color: var(--block-bg-color);
margin-bottom: 1.3334rem;
border-radius: 2px;
}
.bcstats p {
2023-03-11 10:35:11 +00:00
padding: 1em;
margin: 0;
}
.bcstats p:nth-child(even) {
2023-03-11 10:35:11 +00:00
background-color: var(--blog-bg-color-secondary);
}
$breakpoint-alpha: 480px; // adjust to your needs
p.table-title {
2023-03-11 10:35:11 +00:00
margin: 0;
padding-bottom: 0.5em;
font-weight: 700;
font-size: 16px;
padding-top: 0.5em;
}
2023-03-11 10:35:11 +00:00
.price-table,
.moneroversary-table {
margin: 0 0 1.3334rem 0;
width: 100%; // adjust to your needs
background: #45494f;
color: #efefef;
border-radius: 2px;
overflow: hidden;
border-spacing: 0;
@media (min-width: $breakpoint-alpha) {
2022-03-31 14:14:21 +00:00
background-color: var(--block-bg-color);
color: #45494f;
tr.row3 {
2022-03-31 14:14:21 +00:00
background-color: var(--blog-bg-color-secondary);
2023-03-11 10:35:11 +00:00
}
}
2023-03-11 10:35:11 +00:00
tr {
border-top: 2px solid #fff;
border-bottom: 2px solid #fff;
}
2023-03-11 10:35:11 +00:00
tr.row1 {
2022-03-31 14:14:21 +00:00
background-color: var(--block-bg-color-heading);
}
2023-03-11 10:35:11 +00:00
th {
2023-03-11 10:35:11 +00:00
display: none;
}
2023-03-11 10:35:11 +00:00
td {
2023-03-11 10:35:11 +00:00
display: block;
&:first-child {
2023-03-11 10:35:11 +00:00
padding-top: 0.5em;
}
&:last-child {
2023-03-11 10:35:11 +00:00
padding-bottom: 0.5em;
}
&:before {
2023-03-11 10:35:11 +00:00
content: attr(data-th) ": "; // who knew you could do this? The internet, that's who.
font-weight: bold;
// optional stuff to make it look nicer
width: 6.5em; // magic number :( adjust according to your own content
display: inline-block;
// end options
2023-03-11 10:35:11 +00:00
@media (min-width: $breakpoint-alpha) {
display: none;
}
}
}
2023-03-11 10:35:11 +00:00
th,
td {
text-align: left;
2023-03-11 10:35:11 +00:00
margin: 0.5em 1em;
@media (min-width: $breakpoint-alpha) {
display: table-cell;
2023-03-11 10:35:11 +00:00
padding: 0.25em 0.5em;
padding: 1em !important;
&:first-child {
padding-left: 0;
}
2023-03-11 10:35:11 +00:00
&:last-child {
padding-right: 0;
}
}
}
2023-03-11 10:35:11 +00:00
th,
td:before {
2022-03-31 17:15:16 +00:00
color: #fff;
}
2023-03-11 10:35:11 +00:00
td.green {
2023-03-11 10:35:11 +00:00
color: #66d166;
@media (min-width: $breakpoint-alpha) {
2023-03-11 10:35:11 +00:00
color: #51a751;
}
}
2023-03-11 10:35:11 +00:00
td.red {
2023-03-11 10:35:11 +00:00
color: #e36f6e;
@media (min-width: $breakpoint-alpha) {
2023-03-11 10:35:11 +00:00
color: #d83231;
}
}
}
2019-04-18 04:32:03 +00:00
.moneroversary-table {
2023-03-11 10:35:11 +00:00
margin: 1.3334rem 0 1.3334rem 0;
@media (max-width: $breakpoint-alpha) {
2019-04-18 04:32:03 +00:00
background: #f0f0f0;
color: #45494f;
2023-03-11 10:35:11 +00:00
}
th,
td:before {
@media (max-width: $breakpoint-alpha) {
color: #45494f;
2019-04-18 04:32:03 +00:00
}
2023-03-11 10:35:11 +00:00
}
2019-04-18 04:32:03 +00:00
}
.moneroversary-table tr.row1 {
2023-03-11 10:35:11 +00:00
background-color: #db8b55;
2019-04-18 04:32:03 +00:00
}
.content h3 {
2023-03-11 10:35:11 +00:00
margin-top: 3rem;
background-color: #45494f;
color: white;
padding-left: 1rem;
margin-bottom: 1rem;
border-radius: 2px;
}
2019-11-15 01:23:07 +00:00
.content h3.orange {
2023-03-11 10:35:11 +00:00
background-color: #db8b55;
2019-11-15 01:23:07 +00:00
}
2023-03-11 10:35:11 +00:00
.content ul,
.content ol {
line-height: 1.9;
}
2023-03-11 10:35:11 +00:00
.newsbyte,
.event {
padding: 1rem;
background-color: var(--block-bg-color);
margin-top: 1rem;
}
2023-03-11 10:35:11 +00:00
.newsbyte:first-of-type,
.event:first-of-type {
margin-top: 0;
}
.newsbyte:after {
2023-03-11 10:35:11 +00:00
display: none;
content: "";
width: 100%;
height: 1px;
margin-top: 2rem;
background-color: #d5d5d5;
}
.newsbyte h4,
h4.stat {
font-size: 18px;
font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
font-weight: 700;
@media (max-width: 480px) {
font-size: 16px;
}
}
2023-03-11 10:35:11 +00:00
.newsbyte p,
.event p {
margin-bottom: 0;
}
p.date {
2023-03-11 10:35:11 +00:00
margin-bottom: 0.2em;
font-weight: 700;
}
.proposal {
2023-03-11 10:35:11 +00:00
margin-bottom: 1rem;
padding: 1em;
background-color: var(--block-bg-color);
}
.proposal p {
2023-03-11 10:35:11 +00:00
margin-bottom: 0;
}
.proposal p:first-child {
2023-03-11 10:35:11 +00:00
padding-bottom: 0.5rem;
}
.proposal p a {
2023-03-11 10:35:11 +00:00
line-height: 1.7;
}
img.merchant-img {
2023-03-11 10:35:11 +00:00
width: 15rem;
margin: 0 0 24px 0;
}
img#pepperworks {
2023-03-11 10:35:11 +00:00
margin-top: 40px;
}
2019-06-06 20:44:35 +00:00
img#openpriv {
2023-03-11 10:35:11 +00:00
margin-bottom: 0;
2019-06-06 20:44:35 +00:00
}
2019-06-21 01:17:58 +00:00
img#veracrypt {
2023-03-11 10:35:11 +00:00
width: 10rem;
margin-top: 40px;
2019-06-21 01:17:58 +00:00
}
p.address {
2023-03-11 10:35:11 +00:00
background-color: var(--block-bg-color);
color: var(--link-color);
font-weight: bold;
word-wrap: break-word;
padding: 1.5rem;
margin-top: 1.5rem;
border-radius: 2px;
-webkit-touch-callout: all;
-webkit-user-select: all;
-khtml-user-select: all;
-moz-user-select: all;
-ms-user-select: all;
user-select: all;
}
a.qr {
2023-03-11 10:35:11 +00:00
display: inline-block;
border: none;
border-radius: 10px;
}
a.qr img {
2023-03-11 10:35:11 +00:00
margin-bottom: 0;
vertical-align: middle;
}
2019-04-18 04:32:03 +00:00
img.merchant-img {
2023-03-11 10:35:11 +00:00
margin-left: auto;
margin-right: auto;
2019-04-18 04:32:03 +00:00
}
2019-07-05 01:53:50 +00:00
img.fob-img {
2023-03-11 10:35:11 +00:00
margin-left: auto;
margin-right: auto;
width: 8rem;
background-color: rgba(0, 0, 0, 0.75);
padding: 1rem;
2019-07-05 01:53:50 +00:00
}
2019-07-19 01:18:53 +00:00
img.wikileaks-img {
2023-03-11 10:35:11 +00:00
margin-left: auto;
margin-right: auto;
width: 10rem;
2019-07-19 01:18:53 +00:00
}
2019-04-18 04:32:03 +00:00
img#njalla {
2023-03-11 10:35:11 +00:00
background-color: #01051f;
padding: 1rem;
2019-04-18 04:32:03 +00:00
}
2019-06-28 04:15:03 +00:00
p.text-lead {
2023-03-11 10:35:11 +00:00
margin-bottom: 0;
2019-06-28 04:15:03 +00:00
}
2023-03-11 10:35:11 +00:00
#post-page img.img-lead,
#post-page p.text-lead {
display: none;
2019-06-28 04:15:03 +00:00
}
img.gratuitas {
2023-03-11 10:35:11 +00:00
width: 10rem;
}
2019-09-15 19:39:39 +00:00
2019-11-15 01:23:07 +00:00
img.localmonero {
2023-03-11 10:35:11 +00:00
width: 10rem;
margin-bottom: -1rem;
2019-11-15 01:23:07 +00:00
}
2021-01-19 06:01:20 +00:00
.sponsors {
2023-03-11 10:35:11 +00:00
box-sizing: border-box;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-flex: 0;
-ms-flex: 0 1 auto;
flex: 0 1 auto;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
text-align: center;
2021-01-19 06:01:20 +00:00
}
.sponsor {
2023-03-11 10:35:11 +00:00
box-sizing: border-box;
-webkit-box-flex: 0;
-ms-flex: 0 0 auto;
flex: 0 0 auto;
flex-basis: auto;
@media (max-width: 520px) {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
2021-01-19 06:01:20 +00:00
}
img.dvchain {
2023-03-11 10:35:11 +00:00
height: 9rem;
margin-left: 3rem;
@media (max-width: 520px) {
margin-left: auto;
margin-top: 1rem;
height: auto;
width: 13rem;
}
2021-01-19 06:01:20 +00:00
}
2023-03-11 10:35:11 +00:00
// Periodical
2019-09-15 19:39:39 +00:00
.revuo-classes a {
2023-03-11 10:35:11 +00:00
padding: 1rem 2rem;
width: 11rem;
2019-09-15 19:39:39 +00:00
}
#weekly .revuo-classes a.wk {
2023-03-11 10:35:11 +00:00
background-color: #f0f0f0;
2019-09-15 19:39:39 +00:00
}
2023-03-11 10:35:11 +00:00
#periodical .revuo-classes a.pd,
#wrap.periodical .revuo-classes a.pd:active,
#wrap.periodical .revuo-classes a.pd:focus {
background-color: #f0f0f0;
2019-09-15 19:39:39 +00:00
}
// Typography for Periodical
.hted-head {
2023-03-11 10:35:11 +00:00
margin: 2.5rem 0 1.3334rem 0;
background: #d9dadb;
color: #222222;
width: 100%;
border-radius: 2px;
padding: 1em;
text-align: left;
2019-09-15 19:39:39 +00:00
}
#post-page h2 {
2023-03-11 10:35:11 +00:00
line-height: 1.3;
2019-09-15 19:39:39 +00:00
}
2019-11-15 01:23:07 +00:00
.text-center {
2023-03-11 10:35:11 +00:00
text-align: center;
2021-02-04 02:23:33 +00:00
}
.page-numbers-display {
2023-03-11 10:35:11 +00:00
display: inline-block;
margin-left: 1rem;
margin-right: 1rem;
2021-05-10 23:40:20 +00:00
}
html {
2023-03-11 10:35:11 +00:00
scroll-behavior: smooth;
2022-03-30 18:08:51 +00:00
}