1
0
Fork 0
mirror of synced 2024-06-02 02:54:31 +12:00
waifu2x/assets/style.css
vitaliylag bb1a28ef29 Font in Firefox for japanese
Firefox is using MS Gothic by default. But Meiryo looks much better (and it is by default in Chrome).
2016-01-05 19:36:06 +03:00

166 lines
3.5 KiB
CSS

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; vertical-align: top; background: transparent; } /*Reset style*/
button::-moz-focus-inner, input[type="reset"]::-moz-focus-inner, input[type="button"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="submit"]::-moz-focus-inner, input[type="file"] > input[type="button"]::-moz-focus-inner { border: none; } input[type="checkbox"]:focus { -moz-outline-offset: -1px !important; -moz-outline: 1px solid #000 !important; } :focus { outline: none; } /*Remove a dotted line around 1) buttons, 2) checkboxes, 3) links*/
a { text-decoration: none; cursor: pointer; color: inherit; } a:hover { text-decoration: underline; }
div, span, a, input { background-repeat: no-repeat; }
body {
width: 782px;
margin: 0 auto;
background: #fff;
color: #000;
font-size: 14px;
font-family: Tahoma, Arial, Verdana, Meiryo, "MS Gothic", sans-serif, Lucida Sans;
line-height: 1.5em;
text-align: center;
}
.allPage {
position: relative;
width: 690px;
margin: 15px auto;
padding: 10px 30px 15px 30px;
background: #eee;
border: 2px solid #999;
text-align: left;
}
.allPage:after { content: ""; position: absolute; left: -1px; top: -1px; width: 100%; height: 100%; height: calc(100% - 2px); padding: 0 1px; box-shadow: 0px 5px 8px #bbb; z-index: -1; } /*for crop shadow bottom for 4px (2px from border and 2px from calc)*/
.mainTitle {
font-size: 2em;
font-weight: bold;
margin: 0.6em 0;
white-space: nowrap;
}
.mainTitle-text {
display: inline-block;
}
.flagLink {
display: inline-block;
}
.flagLink.first { margin-left: 20px; }
.chooseLang {
width: 24px;
height: 24px;
margin: 0 5px;
opacity: 0.9;
vertical-align: middle;
}
p {
margin: 0.4em 0;
}
p.margin1 { margin: 0.9em 0; }
.linksBox {
color: #999;
}
.example {
width: 445px;
height: 200px;
}
.blueLink {
color: #36b;
}
.grayLink {
color: #999;
}
.secondTitle {
font-size: 1.5em;
font-weight: bold;
margin: 2.4em 0 1.2em;
line-height: 1.3em;
}
.optionBox {
margin: 1.5em 0;
white-space: nowrap;
}
.option-left {
display: inline-block;
width: 180px;
color: #707070;
font-weight: bold;
}
.option-left-small {
font-size: 0.8em;
line-height: 1.5em;
}
.option-right {
display: inline-block;
white-space: normal;
}
.option-right-small {
margin-top: 2px;
font-size: 0.9em;
}
.option-hint {
margin: 0.5em 0;
color: #888;
font-size: 0.85em;
line-height: 1.5em;
white-space: normal;
}
#url {
width: 300px;
height: 23px;
padding: 0 3px;
border: 1px solid #b0b0b0;
}
label {
margin: 0 5px 0 0;
padding: 0;
cursor: pointer;
}
.radio {
margin: 0 4px 0 0;
padding: 0;
cursor: pointer;
vertical-align: middle;
}
.r-text {
vertical-align: middle;
}
.radio:checked + .r-text { color: #494; }
.button {
min-width: 160px;
height: 26px;
margin: 0 10px 3px 0;
padding-bottom: 1px;
background: #f2f2f2;
background-image: linear-gradient(to bottom, #f9f9f9, #dadada);
border: 1px solid #999;
border-radius: 1px;
cursor: pointer;
}
.button:hover { background: #f7f7f7; background-image: linear-gradient(to bottom, #fefefe, #e2e2e2); }
.bottomHint {
margin: 0.85em 0;
color: #888;
font-size: 0.85em;
line-height: 1.5em;
}