/* onionring.js is made up of four files - onionring-widget.js, onionring-index.js, onionring-variables.js and onionring.css (this one!)
// it's licensed under the cooperative non-violent license (CNPL) v4+ (https://thufie.lain.haus/NPL.html)
// it was originally made by joey + mord of allium (蒜) house, last updated 2020-10-24 */

/* === ONIONRING.CSS === */
/* this file affects the style of the widget. remember to replace all instances of #webringid with whatever value you have for ringID in the onionring-widget.js file. make sure it still has the # at the front, though! probably easiest to use find+replace to do it */


#data-ring-dot-list {
    margin: 0 auto;
    padding: 15px; /* creates some space around the widget */
}

#data-ring-dot-list table {
    margin: 0 auto; /* centers the widget */
    border: 2px solid slategray; /* a bit of border */
    /*
    --bg-color: var(--main-bg-color);
    background-color: var(--bg-color);
    */
}

#data-ring-dot-list table tr td {
    padding: 15px; /* creates some space between the links and text inside the widget */
}

#data-ring-dot-list .webring-prev {
    text-align: right;
}

#data-ring-dot-list .webring-info {
    text-align: center;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    :root {
        --main-bg-color: #121212;
    }
}

/* Light mode styles */
@media (prefers-color-scheme: light) {
    :root {
        --main-bg-color: #ffffff;
    }
}
