revuo-weekly/css/main.scss

203 lines
3.7 KiB
SCSS
Raw Normal View History

---
# Front matter comment to ensure Jekyll properly reads file.
---
//Import
2022-04-11 11:09:33 -04:00
@import "base", "mixin", "typography", "layout", "syntax.scss", "custom.scss", "responsive.scss";
2022-03-30 11:21:26 -04:00
/////////////////////////////////////////
/////////////////////////////////////////
/////////////////////////////////////////
//////////// LIGHT THEME ////////////////
/////////////////////////////////////////
/////////////////////////////////////////
/////////////////////////////////////////
//html {
2023-03-11 05:30:38 -05:00
//background-color: #0f0f0f;
////background-color: #f0f0f0;
2022-03-30 11:21:26 -04:00
//html {
2023-03-11 05:30:38 -05:00
//[>background-color: #0f0f0f;<]
////background-color: #f0f0f0;
//background-color: lightblue;
2022-03-30 11:21:26 -04:00
//}
////body {
2023-03-11 05:30:38 -05:00
//////background-color: #f0f0f0;
////background-color: #0f0f0f;
2022-03-30 11:21:26 -04:00
//body {
2023-03-11 05:30:38 -05:00
//[>background-color: #0f0f0f;<]
////background-color: #f0f0f0;
//background-color: lightblue;
2022-03-30 11:21:26 -04:00
//}
2022-04-02 05:34:14 -04:00
// Default Style (Dark)
2022-03-30 11:21:26 -04:00
:root {
2023-03-11 05:30:38 -05:00
--primary-color: #888888;
--secondary-color: #666666;
--font-color: #cecece;
--link-color: #e6e6e6;
--bg-color: #0f0f0f;
--heading-color: #454545;
--block-bg-color: #2f3234;
--block-bg-color-secondary: #444444;
--block-bg-color-heading: #333333;
--table-color: #cecece;
--head-nav-bg-color: transparent;
--head-nav-text-color: #d56f2a;
--menu-color: #e1e1e1;
--license-color: #666666;
2023-03-12 05:22:02 -04:00
--filter-color: invert(100%);
2022-03-30 11:21:26 -04:00
}
2022-04-02 05:34:14 -04:00
// Was entered incorrectly.. Dark = Light
2022-03-30 11:21:26 -04:00
[data-theme="dark"] {
2023-03-11 05:30:38 -05:00
--primary-color: #666666;
--secondary-color: #555555;
--font-color: #555555;
--link-color: #444444;
--bg-color: #2f3136;
--heading-color: #666666;
--block-bg-color: #d7d7d7;
--block-bg-color-secondary: #c0c0c0;
--block-bg-color-heading: #a5a5a5;
--table-color: #000000;
--nav-bg-color: #353637;
--nav-bg-hover-color: #d56f2a;
--nav-text-color: #d9dcde;
--head-nav-bg-color: transparent;
--head-nav-text-color: #d56f2a;
--menu-color: #d56f2a;
--license-color: #666666;
--footer-bg-color: #202225;
2023-03-12 05:22:02 -04:00
--filter-color: none;
2022-03-30 11:21:26 -04:00
}
body {
2023-03-11 05:30:38 -05:00
background-color: var(--bg-color);
color: var(--font-color);
2022-03-30 11:21:26 -04:00
}
html {
2023-03-11 05:30:38 -05:00
background-color: var(--bg-color);
color: var(--font-color);
2022-03-30 11:21:26 -04:00
}
h1 {
2023-03-11 05:30:38 -05:00
color: var(--secondary-color);
2022-03-30 11:21:26 -04:00
}
a {
2023-03-11 05:30:38 -05:00
color: var(--link-color);
2022-03-30 11:21:26 -04:00
}
2022-04-02 05:21:09 -04:00
2022-03-31 14:03:38 -04:00
.moneroversary-table,
2022-04-02 05:21:09 -04:00
.price-table {
2023-03-11 05:30:38 -05:00
color: var(--table-color);
2022-03-31 14:03:38 -04:00
}
2022-04-01 14:53:24 -04:00
2022-04-02 05:21:09 -04:00
#weekly .revuo-classes a.wk,
#periodical .revuo-classes a.pd,
#wrap.periodical .revuo-classes a.pd:active,
#wrap.periodical .revuo-classes a.pd:focus {
2023-03-11 05:30:38 -05:00
background-color: var(--head-nav-bg-color);
color: var(--head-nav-text-color);
2022-04-01 14:53:24 -04:00
}
2022-04-02 09:10:04 -04:00
time.by-line,
p.by-line-post {
2023-03-11 05:30:38 -05:00
color: var(--table-color);
2022-04-02 09:10:04 -04:00
}
2022-04-02 13:23:12 -04:00
2023-03-11 04:42:32 -05:00
#nav-menu {
2023-03-11 05:30:38 -05:00
background-color: var(--head-nav-bg-color);
2023-03-11 04:42:32 -05:00
}
2022-04-02 13:23:12 -04:00
#menu,
#menu::after,
2022-04-02 15:11:46 -04:00
#menu::before {
2023-03-11 05:30:38 -05:00
background-color: var(--menu-color);
2022-04-02 14:35:49 -04:00
}
2023-03-11 06:24:11 -05:00
a.icon img {
width: 32px;
}
2023-03-11 04:42:32 -05:00
#nav {
2023-03-11 05:30:38 -05:00
background-color: var(--nav-bg-color);
2023-03-11 04:42:32 -05:00
}
2023-03-11 05:30:38 -05:00
#nav a,
#nav-left a {
color: var(--nav-text-color);
2023-03-11 04:42:32 -05:00
}
2023-03-11 05:30:38 -05:00
#nav a:hover,
#nav-left a:hover {
background-color: var(--nav-bg-hover-color);
color: var(--nav-bg-color);
2023-03-11 04:42:32 -05:00
}
#nav-list::after {
2023-03-11 05:30:38 -05:00
background-color: var(--nav-bg-hover-color);
2023-03-11 04:42:32 -05:00
}
#menu.btn-close::before,
#menu.btn-close::after {
2023-03-11 05:30:38 -05:00
background-color: var(--nav-bg-hover-color);
2023-03-11 04:42:32 -05:00
}
2023-03-11 05:22:35 -05:00
.page-item {
2023-03-11 05:30:38 -05:00
background-color: var(--license-color);
color: var(--footer-bg-color);
2023-03-11 05:22:35 -05:00
}
.pagination a:hover {
2023-03-11 05:30:38 -05:00
background-color: var(--nav-bg-color);
2023-03-11 05:22:35 -05:00
}
2023-03-11 04:52:06 -05:00
.footer {
2023-03-11 05:30:38 -05:00
background-color: var(--footer-bg-color);
color: var(--nav-text-color);
2023-03-11 04:52:06 -05:00
}
2023-03-12 05:15:47 -04:00
img {
2023-03-12 05:22:02 -04:00
filter: var(--filter-color);
2023-03-12 05:15:47 -04:00
}
2023-03-12 05:22:02 -04:00
img.logo,
img.img-lead,
2023-03-12 05:22:02 -04:00
a.icon img,
a.qr img,
2023-03-12 05:15:47 -04:00
img.noColorChange {
filter: none;
}
2022-04-11 11:09:33 -04:00
#header .action-container {
2022-04-12 09:59:37 -04:00
&--left {
left: 25px;
top: 35px;
}
&--right {
right: 80px;
top: 35px;
}
2022-04-11 11:09:33 -04:00
align-items: center;
display: flex;
flex-direction: row;
gap: 12px;
height: 36px;
position: absolute;
2022-04-02 14:35:49 -04:00
}
2022-04-02 16:40:29 -04:00
2022-04-12 10:10:50 -04:00
#header {
2023-03-11 05:30:38 -05:00
a.rss,
a.donate {
2022-04-12 10:10:50 -04:00
display: block;
padding-bottom: 0;
}
2022-05-17 14:51:18 -04:00
}