Skip to content

Relax view Duckduckgo by blk020

Details

Authorblk020

LicenseNO-REDISTRIBUTION

Categoryduckduckgo.com

Created

Updated

Size2.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Center the results for light and dark theme

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Center Duckduckgo
@namespace      USO Archive
@author         blk.
@description    `Clear results`
@version        20210329.8.57
@license        NO-REDISTRIBUTION
@preprocessor   uso
==/UserStyle== */
@-moz-document domain("duckduckgo.com") {
    body {
        background: #fcfcfc!important;
    }

    .dark-bg body {
        background: #1c1c1c!important;
    }

    strong,
    b {
        font-weight: 700!important;
    }

    [data-testid="result-title-a"],
    [data-testid="results"] .highlight,
    [data-testid="result"] {
        color: #0062D1;
        font-weight: 500
    }

    .dark-bg [data-testid="result-title-a"] {
        color: #6FB5FF!important;
    }

    [data-testid="result-title-a"]:visited {
        color: #631A9D;
    }

    .dark-bg [data-testid="result-title-a"]:visited {
        color: #AF88CD!important;
    }

    .cw {
        margin-left: auto;
    }

    .search--header,
    .header__search-wrap {
        width: 686px
    }

    .zcm-wrap--header,
    .result--more,
    .react-results--main {
        min-width: 700px!important;
    }

    .zcm-wrap-wrap {
        padding-top: 10px;
    }

    .results--main,
    .react-results--main {
        max-width: 700px
    }
    .react-results--main{
        margin-left:-50px!important;
    }
    .E2eLOJr8HctVnDOTM8fs {
        line-height: 22px;
        margin-top: 5px;
        padding-top: 5px;
        border-top: 1px solid rgba(0, 0, 0, .1);
    }

    .dark-bg .E2eLOJr8HctVnDOTM8fs {
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    [data-testid="result"] {
        margin-top: 0;
        margin-right: 1em;
    }

    [data-testid="result"],
    [data-testid="result"]:hover {
        background: #fff;
        -moz-border-radius: 5px;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        border: 1px rgba(0, 0, 0, .1) solid;
        padding: 10px 15px;
    }

    .dark-bg [data-testid="result"],
    .dark-bg [data-testid="result"]:hover {
        background: rgba(255, 255, 255, .05);
        border: 1px rgba(255, 255, 255, .1) solid;
    }

    .OQ_6vPwNhCeusNiEDcGp {
        padding-top: 5px
    }


    .mwuQiMOjmFJ5vmN6Vcqw span:first-child {
        color: #222;
    }

    .dark-bg .mwuQiMOjmFJ5vmN6Vcqw span:first-child {
        opacity: .7;
        color: #fcfcfc;
    }

    .mwuQiMOjmFJ5vmN6Vcqw span:last-child {
        opacity: .5!important;
        color: #222;
    }

    .dark-bg .mwuQiMOjmFJ5vmN6Vcqw span:last-child {
        opacity: .3!important;
        color: #fcfcfc;
    }

    .header__logo-wrap {
        margin-left: -50px;
    }

    .header__content.header__search {
        margin-left: -60px;
    }
}

Reviews

No reviews yet.