News for hackers. Stuff that matters.
Re:Motherfucking Website by oliwarner on Sunday November 24, 2013 @05:55PM (#6791552)
I agree but it's nothing a bit of max-width wouldn't solve.
Re:Motherfucking Website by dredmorbius on Sunday November 24, 2013 @08:28PM (#6792021)
Your max width may well differ from someone else's.

Oddly enough, I've got a set of stylesheets I've created to deal with effed-up websites. I've also got an "unstyled.css" stylesheet I apply to websites that have no or very minimal styling. Chief among what it does: give me some motherfucking margins, because I just love my motherfucking margins.

A few other bits, but all told, it's pretty damned light (one gratuitous styling effect, but hey, that's me):

    a {
        color: #427fed;
        text-decoration: none;
    }

    a:visited {
        color: #6f32ad;

    }

    a:hover {
        text-decoration: underline;
    }

    a:active {
        background-color: #427fed;
        color: #fffff6;
    }

    body {
        background-color: #fffff6;
        background-image: none;
        color: #440;
        font-family: georgia;
        font-size: 15pt;
        margin: 2em auto;
        max-width: 40em;
        width: auto;
    }

    h1, h2, h3, h4, h5, h6 {
        color: #703820;
        line-height: 1.2em;
    }

    img {
        float: right;
        padding: 10px;
        margin: 20px;
        border: solid 1px #888;
        box-shadow: 6px 10px 8px rgba(0, 0, 0, 0.7);
    }

    p, li, dd, dt, blockquote, span {
        font-size: 15pt;
        line-height: 1.4em;
    }
Re:Motherfucking Website by dpcan on Sunday November 24, 2013 @07:15PM (#6791801)
It all starts with one style attribute ;)