Skip to content

Instantly share code, notes, and snippets.

@simonwjackson
Last active December 22, 2015 03:51
Show Gist options
  • Save simonwjackson/7d6727c08cc50aa3f649 to your computer and use it in GitHub Desktop.
Save simonwjackson/7d6727c08cc50aa3f649 to your computer and use it in GitHub Desktop.
Project Align: duckduckgo
@-moz-document domain("duckduckgo.com") {
/*** Centering *************************************************************/
div.cw:nth-child(4),
#header,
div.zcm:nth-child(4) {
margin-left: auto !important;
margin-right: auto !important;
}
#header,
.header__search-wrap {
width: 100% !important;
float: none !important;
}
#duckbar {
}
.results-wrapper {
padding-right: 0 !important;
}
.cw, .cw--c {
max-width: 728px !important;
}
div.zcm:nth-child(4) {
width: 570px !important;
}
[class*="tileview"] {
padding-left: 0 !important;
}
#zci-meanings > div:nth-child(1) {
padding-bottom: 1em !important;
}
.has-active-zci .header-wrap::before,
.has-active-zci .header-wrap::after {
visibility: hidden !important;
}
#zero_click_wrapper {
margin-bottom: 1em !important;
}
#header_wrapper::after {
height: 2em !important;
}
/*** Answers *************************************************************/
#zci-answer .cw {
margin-left: auto;
}
/*** Responsive *************************************************************/
/*@media only screen and (min-width: 425.1px) and (min-height: 382.6px),
only screen and (min-width: 634.1px) and (min-height: 361.30px) {
}
@media only screen and (max-width: 425px) {
}
@media only screen and (max-height: 382.5px) and (max-width: 634px),
only screen and (max-height: 361.25px) {
}
@media only screen and (min-width: 864px){
}*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment