ReedyBear's Blog

My Theme Oct 2024

This:

/* I do not want to rely on anything google, so I commented this out. I didn't realize it was here before ... Might need to tweak my font styles.
* @import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;400;500;600;700;800;900&display=swap');
*/

:root {
	/* Custom #847996; */
	--underline_color: #a000a0;
    --main-color:#a000a0;
  
    /* from a past reedybear.com 
    --font_brand_1: 'EB Garamond', serif;
    --font_brand_2:  'Dancing Script', 'Kaushan', "Times New Roman", fantasy, cursive, serif;

    --font_size_base: 112%;
    --font_size_main: 1.2em;
    --font_size_header_link: 1.35em;
    --font_size_header_logo: 1.5em;

    --color_brand_1: #500092;
    --color_brand_1_rgb: 80,0,146;
    --color_brand_1_bright: #a000a0;
    --color_brand_1_alt: #820FFF;
    --color_brand_2: #FCDA30;
    --color_brand_2_bright: #FCDA30;
    --color_brand_2_dark: #EAC020;

    --color_white: #FDFDFD;
    --color_off_white: #DDD;
    --color_cream: #FFEDCC;
    --color_grey: #bfbfbf;
    --color_dark_grey: #585460;
    /* --color_dark_grey: #7a7a7a; ////
    --color_black: #222;
    */
	/* Built in */
    --width: 720px;
    --font-main: 'Roboto Mono', monospace;
    --font-secondary: 'Roboto Mono', monospace;
    --font-scale: .9em;
    --background-color: #fff;
    --heading-color: #232333;
    --text-color: #232333;
    --link-color: #232333;
    --visited-color: #232333;
    /*--main-color: #ff0000;*/
    --code-background-color: #f2f2f2;
    --code-color: #222;
    --blockquote-color: #222;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--font-scale);
    margin: auto;
    padding: 20px;
    max-width: var(--width);
    text-align: left;
    background-color: var(--background-color);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    color: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    color: var(--heading-color);
}

a {
    color: var(--link-color);
    font-family: var(--font-main);
    cursor: pointer;
    text-decoration: none;
    border-bottom: 3px solid var(--underline_color);
  	padding: 0 4px;
  	
}

a:hover {
    background-color: var(--main-color);
    color: white;
    text-decoration: none;
  	border-radius:8px;
}

header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px dotted #232333;
}

nav a, nav a:hover {
    margin-right: 8px;
    padding: 4px 5px 2px 4px;
  
  	/*
    border-radius: 25% 8px 12% 10px;
  	border-radius: 25% 12%;
    border-radius: 50% 9px / 60% 6px;
    */
  	border-radius: 80% 9px / 40% 8px;
    text-wrap:nowrap;
}

strong,
b {
    color: var(--heading-color);
}

button {
    margin: 0;
    cursor: pointer;
}

main {
    line-height: 1.6;
}

table {
    width: 100%;
}

hr {
    border: 0;
    border-top: 1px dashed;
}

img {
    max-width: 100%;
}

code {
    font-family: monospace;
    padding: 2px;
    background-color: var(--code-background-color);
    color: var(--code-color);
    border-radius: 3px;
}

blockquote {
    border-left: 1px solid #999;
    color: var(--code-color);
    padding-left: 20px;
    font-style: italic;
}

footer {
    margin-top: 40px;
    border-top: 3px dotted #232333;
    padding: 25px 0;
    text-align: center;
}

a.title {
    border:none; 
    padding:0;
}

.title:hover {
    text-decoration: none;
}

.title h1 {
    font-size: 1.5em;
}

.inline {
    width: auto !important;
}

.highlight,
.code {
    padding: 1px 15px;
    background-color: var(--code-background-color);
    color: var(--code-color);
    border-radius: 3px;
    margin-block-start: 1em;
    margin-block-end: 1em;
    overflow-x: auto;
}

/* blog post list */
ul.blog-posts {
    list-style-type: none;
    padding: unset;
}

ul.blog-posts li {
    display: flex;
    margin-bottom: 10px;
}

i time {
    font-style: normal;
    opacity: 0.7;
}

ul.blog-posts li span {
    flex: 0 0 130px;
}

ul.blog-posts li a:hover {
    color: white !important;
}

ul.blog-posts li a:visited {
    color: var(--visited-color);
}

table {
    border-spacing: 0;
}

th,
td {
    padding: 6px 13px;
    border: 1px solid #dfe2e5;
    font-size: 1em;
}

.upvote-button svg {
    display:none;
}
.upvote-count::before {
    background: url("https://i.imgur.com/laDt4Yfs.png");
    display:block;
    width:30px;
    height:30px;
    background-size:cover;
    content: "";
}


/**
* Adding photos to blog list
*/
/* it didn't work well
* I got the image in, but I couldn't get the dang things to style how I wanted
* Plus I'm not sure I liked it with photos... even though it's a bear!

ul.blog-posts > li > a::after {
    content: url("https://i.imgur.com/puT0UkBs.jpg");
    content: url("https://i.imgur.com/laDt4Yf.png");
    height:10px;
    max-height:10px;
    width:10px;
    position:relative;
    display:inline-block;
    right: 10px;
}

ul.blog-posts > li > a {
    position:relative;
    margin-left: 10px;
}

ul.blog-posts > li {
    display:inline-block;
}
/**/

#bearblog