Skip to content
Snippets Groups Projects
Commit 5902ab94 authored by psy's avatar psy
Browse files

adapt howto.rc3.world!69 to themes repo

parent 89e6751b
No related branches found
No related tags found
1 merge request!2(carefully) update to the new style
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<div class="container"> <div class="container">
{%- block site_name %} {%- block site_name %}
<a class="navbar-brand" href="{{ nav.homepage.url|url }}" title="{{ config.site_name }}"><img src="img/rc3_logo_pink.svg" title="{{ config.site_name }}" /></a> <a class="navbar-brand" href="{{ nav.homepage.url|url }}" title="{{ config.site_name }}"><img src="img/rc3_21_logo_still.png" title="{{ config.site_name }}" /></a>
{%- endblock %} {%- endblock %}
{%- if nav|length>1 or (page and (page.next_page or page.previous_page)) or config.repo_url %} {%- if nav|length>1 or (page and (page.next_page or page.previous_page)) or config.repo_url %}
......
@font-face {
font-family: 'orbitronregular';
src: url('../fonts/orbitron-variablefont_wght-webfont.woff2') format('woff2'),
url('../fonts/orbitron-variablefont_wght-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face { @font-face {
font-family: 'montserratbold'; font-family: 'montserratbold';
...@@ -30,12 +23,18 @@ ...@@ -30,12 +23,18 @@
font-style: normal; font-style: normal;
} }
@font-face {
font-family: 'changasemibold';
src: url('../fonts/changa-semibold.ttf');
font-weight: normal;
font-style: normal;
}
:root { :root {
--primary-c1: #f00efa; --primary-c1: #f00efa;
--primary-c2: rgba(104, 0, 231, 1); --primary-c2: rgba(104, 0, 231, 1);
--primary-c3: #4ce9f8; --primary-c3: #4ce9f8;
--primary-c4: rgba(16, 14, 35, 1); --primary-c4: #0c0e0b;
/*shaded versions*/ /*shaded versions*/
/* --primary-c1-s1: rgba(103, 2, 149, 1); */ /* --primary-c1-s1: rgba(103, 2, 149, 1); */
...@@ -52,7 +51,7 @@ ...@@ -52,7 +51,7 @@
--secondary-c1: rgba(253, 41, 79, 1); --secondary-c1: rgba(253, 41, 79, 1);
--secondary-c2: rgba(22, 10, 254, 1); --secondary-c2: rgba(22, 10, 254, 1);
--secondary-c3: rgba(255, 235, 216, 1); --secondary-c3: #fff;
--secondary-c4: rgba(1, 2, 42, 1); --secondary-c4: rgba(1, 2, 42, 1);
...@@ -140,20 +139,18 @@ video { ...@@ -140,20 +139,18 @@ video {
} }
h1 { h1 {
color: #444;
font-weight: 400; font-weight: 400;
font-size: 42px; font-size: 42px;
font-family: "orbitronregular"; font-family: "changasemibold";
text-transform: uppercase; text-transform: lowercase;
color: var(--primary-c3); color: var(--secondary-c3);
} }
h2, h3, h4, h5, h6 { h2, h3, h4, h5, h6 {
color: #444;
font-weight: 300; font-weight: 300;
font-family: "orbitronregular"; font-family: "changasemibold";
text-transform: uppercase; text-transform: lowercase;
color: var(--primary-c3); color: var(--secondary-c3);
} }
hr { hr {
...@@ -174,8 +171,9 @@ code.code-large, .rst-content tt.code-large { ...@@ -174,8 +171,9 @@ code.code-large, .rst-content tt.code-large {
code { code {
padding: 2px 5px; padding: 2px 5px;
background: black; background: #08191a;
border: solid 1px #8102fd; border: solid 1px #226970;
border-radius: 3px;
color: white; color: white;
white-space: pre-wrap; white-space: pre-wrap;
word-wrap: break-word; word-wrap: break-word;
...@@ -202,7 +200,7 @@ kbd { ...@@ -202,7 +200,7 @@ kbd {
} }
a code { a code {
color: #2FA4E7; color: var(--primary-c1);
} }
a:hover code, a:focus code { a:hover code, a:focus code {
...@@ -269,9 +267,10 @@ footer a:hover { ...@@ -269,9 +267,10 @@ footer a:hover {
} }
.navbar { .navbar {
font-family: "orbitronregular"; font-family: "changasemibold";
text-transform: uppercase; text-transform: lowercase;
border-bottom: 1px solid var(--primary-c1); border-bottom: 1px solid var(--primary-c1);
font-size: 15pt;
} }
.bg-primary { .bg-primary {
......
File added
rc3-2021/img/favicon.ico

4.19 KiB | W: | H:

rc3-2021/img/favicon.ico

3.19 KiB | W: | H:

rc3-2021/img/favicon.ico
rc3-2021/img/favicon.ico
rc3-2021/img/favicon.ico
rc3-2021/img/favicon.ico
  • 2-up
  • Swipe
  • Onion skin
rc3-2021/img/rc3_21_logo_still.png

14.1 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment