revuo-weekly/_sass/custom.scss

389 lines
6.5 KiB
SCSS
Raw Normal View History

p.note {
font-size: 0.7em;
margin-bottom: 1rem;
margin-top: -1rem;
}
.bcstats {
2022-03-30 21:17:54 +02:00
background-color: var(--block-bg-color);
margin-bottom: 1.3334rem;
border-radius: 2px;
}
.bcstats p {
padding: 1em;
margin: 0;
}
.bcstats p:nth-child(even) {
2022-03-31 16:14:21 +02:00
background-color: var(--blog-bg-color-secondary);
}
$breakpoint-alpha: 480px; // adjust to your needs
p.table-title {
margin: 0;
padding-bottom: 0.5em;
font-weight: 700;
font-size: 16px;
padding-top: 0.5em;
}
2019-04-18 06:32:03 +02: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 16:14:21 +02:00
background-color: var(--block-bg-color);
color: #45494f;
tr.row3 {
2022-03-31 16:14:21 +02:00
background-color: var(--blog-bg-color-secondary);
}
}
tr {
border-top: 2px solid #fff;
border-bottom: 2px solid #fff;
}
tr.row1 {
2022-03-31 16:14:21 +02:00
background-color: var(--block-bg-color-heading);
}
th {
display: none;
}
td {
display: block;
&:first-child {
padding-top: .5em;
}
&:last-child {
padding-bottom: .5em;
}
&:before {
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
@media (min-width: $breakpoint-alpha) {
display: none;
}
}
}
th, td {
text-align: left;
margin: .5em 1em;
@media (min-width: $breakpoint-alpha) {
display: table-cell;
padding: .25em .5em;
padding: 1em !important;
&:first-child {
padding-left: 0;
}
&:last-child {
padding-right: 0;
}
}
}
th, td:before {
2022-03-31 19:15:16 +02:00
color: #fff;
}
td.green {
color: #66d166;
@media (min-width: $breakpoint-alpha) {
color: #51a751;
}
}
td.red {
color: #e36f6e;
@media (min-width: $breakpoint-alpha) {
color: #d83231;
}
}
}
2019-04-18 06:32:03 +02:00
.moneroversary-table {
2019-04-25 22:11:53 +02:00
margin: 1.3334rem 0 1.3334rem 0;
2019-04-18 06:32:03 +02:00
@media (max-width: $breakpoint-alpha) {
background: #f0f0f0;
color: #45494f;
}
th, td:before {
@media (max-width: $breakpoint-alpha) {
color: #45494f;
}
}
}
.moneroversary-table tr.row1 {
background-color: #db8b55;
}
.content h3 {
margin-top: 3rem;
background-color: #45494f;
color: white;
padding-left: 1rem;
margin-bottom: 1rem;
2020-02-08 02:57:50 +01:00
border-radius: 2px;
}
2019-11-15 02:23:07 +01:00
.content h3.orange {
background-color: #db8b55;
}
2019-04-11 23:23:46 +02:00
.content ul, .content ol {
line-height: 1.9;
}
.newsbyte, .event {
padding: 1rem;
2022-03-30 21:13:14 +02:00
background-color: var(--block-bg-color);
margin-top: 1rem;
}
.newsbyte:first-of-type, .event:first-of-type {
margin-top: 0;
}
.newsbyte:after {
display: none;
content: '';
width: 100%;
height: 1px;
margin-top: 2rem;
background-color: #d5d5d5;
}
.newsbyte h4, h4.stat {
font-size: 18px;
2022-02-22 19:10:08 +01:00
font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
font-weight: 700;
@media (max-width: 480px) {
font-size: 16px;
}
}
.newsbyte p, .event p {
margin-bottom: 0;
}
p.date {
margin-bottom: 0.2em;
font-weight: 700;
}
.proposal {
margin-bottom: 1rem;
padding: 1em;
2022-03-30 21:17:54 +02:00
background-color: var(--block-bg-color);
}
.proposal p {
margin-bottom: 0;
}
.proposal p:first-child {
padding-bottom: 0.5rem;
}
.proposal p a {
line-height: 1.7;
}
img.merchant-img {
width: 15rem;
margin: 0 0 24px 0;
}
img#pepperworks {
margin-top: 40px;
}
2019-06-06 22:44:35 +02:00
img#openpriv {
margin-bottom: 0;
}
2019-06-21 03:17:58 +02:00
img#veracrypt {
width: 10rem;
margin-top: 40px;
}
p.address {
2022-03-31 14:49:10 +02:00
background-color: var(--block-bg-color);
2022-03-31 16:14:21 +02:00
color: var(--primary-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 {
display: inline-block;
border: none;
border-radius: 10px;
}
a.qr img {
margin-bottom: 0;
vertical-align: middle;
}
2019-04-18 06:32:03 +02:00
img.merchant-img {
margin-left: auto;
margin-right: auto;
}
2019-07-05 03:53:50 +02:00
img.fob-img {
margin-left: auto;
margin-right: auto;
width: 8rem;
background-color: rgba(0, 0, 0, 0.75);;
padding: 1rem;
}
2019-07-19 03:18:53 +02:00
img.wikileaks-img {
margin-left: auto;
margin-right: auto;
width: 10rem;
}
2019-04-18 06:32:03 +02:00
img#njalla {
background-color: #01051F;
padding: 1rem;
}
2019-06-28 06:15:03 +02:00
p.text-lead {
margin-bottom: 0;
}
#post-page img.img-lead, #post-page p.text-lead {
display: none;
}
img.gratuitas {
width: 10rem;
}
2019-09-15 21:39:39 +02:00
2019-11-15 02:23:07 +01:00
img.localmonero {
width: 10rem;
margin-bottom: -1rem;
}
2021-01-19 07:01:20 +01:00
.sponsors {
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;
}
.sponsor {
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%;
}
}
img.dvchain {
height: 9rem;
margin-left: 3rem;
@media (max-width: 520px) {
margin-left: auto;
margin-top: 1rem;
height: auto;
width: 13rem;
}
}
2019-09-15 21:39:39 +02:00
// Periodical
.revuo-classes a {
padding: 1rem 2rem;
width: 11rem;
}
#weekly .revuo-classes a.wk {
background-color: #f0f0f0;
}
#periodical .revuo-classes a.pd, #wrap.periodical .revuo-classes a.pd:active, #wrap.periodical .revuo-classes a.pd:focus {
background-color: #f0f0f0;
}
// Typography for Periodical
.hted-head {
margin: 2.5rem 0 1.3334rem 0;
2020-01-31 21:46:23 +01:00
background: #d9dadb;
color: #222222;
2019-09-15 21:39:39 +02:00
width: 100%;
border-radius: 2px;
padding: 1em;
text-align: left;
}
#post-page h2 {
line-height: 1.3;
}
2019-11-15 02:23:07 +01:00
.text-center {
text-align: center;
2021-02-04 03:23:33 +01:00
}
.page-numbers-display {
display: inline-block;
margin-left: 1rem;
margin-right: 1rem;
2021-05-11 01:40:20 +02:00
}
html {
scroll-behavior: smooth;
2022-03-30 20:08:51 +02:00
}