cmder/css/main.css

254 lines
4.3 KiB
CSS
Raw Normal View History

2013-09-25 04:07:13 +08:00
/* ==========================================================================
HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
========================================================================== */
html,
button,
input,
select,
textarea {
color: #222;
}
::-moz-selection {
background: #b3d4fc;
text-shadow: none;
}
::selection {
background: #b3d4fc;
text-shadow: none;
}
img {
vertical-align: middle;
}
/* -------------- General Styles -------------- */
body {
2013-10-02 06:06:18 +08:00
background-color: Whitesmoke;
2013-09-25 04:07:13 +08:00
font-size: 0.9em;
2013-10-02 06:06:18 +08:00
font-family: 'Lato', Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif;
2013-09-25 04:07:13 +08:00
line-height: 1.4;
}
.wrapper {
2013-10-02 06:06:18 +08:00
margin: 2em auto;
padding: 0 0 2em 0;
width: 80%;
background-color: #fff;
2013-09-25 04:07:13 +08:00
-webkit-box-shadow: 0 0 8px 3px #eee;
-moz-box-shadow: 0 0 8px 3px #eee;
box-shadow: 0 0 8px 3px #eee;
}
2013-10-15 05:39:55 +08:00
@media (max-width: 480px) {
.wrapper { width: 98%; }
}
2013-09-25 04:07:13 +08:00
.container {
margin: 0 auto;
2013-10-02 06:06:18 +08:00
widows: 100%;
2013-09-25 04:07:13 +08:00
}
/* -------------- Typography -------------- */
2013-10-02 06:06:18 +08:00
a { color: #1E90FF; }
p { padding-left: 8px; }
2013-09-29 03:07:18 +08:00
2013-09-25 04:07:13 +08:00
h2 {
padding: 0 1em;
2013-10-02 06:06:18 +08:00
color: #444;
2013-09-25 04:07:13 +08:00
text-align: center;
2013-10-02 06:06:18 +08:00
font-weight: 300;
font-style: italic;
font-size: 1.2em;
2013-09-25 04:07:13 +08:00
}
h2:before, h2:after {
display: block;
2013-10-02 06:06:18 +08:00
margin: 0.5em auto;
width: 50%;
2013-09-25 04:07:13 +08:00
height: 1px;
2013-10-02 06:06:18 +08:00
background-color: #eee;
content: "";
2013-09-25 04:07:13 +08:00
}
h3 {
margin: 2.3em 0 0 0;
2013-09-29 03:07:18 +08:00
padding: 8px;
2013-09-25 04:07:13 +08:00
background-color: #eee;
color: #222;
2013-10-02 06:06:18 +08:00
text-indent: 0.2em;
2013-09-25 04:07:13 +08:00
letter-spacing: 0.2em;
font-weight: normal;
2013-10-02 06:06:18 +08:00
font-size: 1.3em;
2013-09-25 04:07:13 +08:00
}
h4 {
2013-10-02 06:06:18 +08:00
margin: 1em 0;
2013-09-25 04:07:13 +08:00
color: #444;
2013-09-29 03:07:18 +08:00
text-indent: 8px;
2013-09-25 04:07:13 +08:00
letter-spacing: 0.1em;
2013-10-02 06:06:18 +08:00
font-size: 1.1em;
text-rendering: optimizeLegibility;
2013-09-25 04:07:13 +08:00
}
button {
2013-10-02 06:06:18 +08:00
display: block;
padding: 12px 0;
width: 100%;
2013-09-25 04:07:13 +08:00
border: 1px solid #eee;
2013-10-02 06:06:18 +08:00
border-radius: 4px;
background-color: #C4C4C4;
2013-09-25 04:07:13 +08:00
box-shadow: 1px 1px 1px 0px #ddd, inset 0 0 -3px rgba(0, 0, 0, 0.02);
2013-10-02 06:06:18 +08:00
color: #fff;
2013-09-25 04:07:13 +08:00
text-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
2013-10-02 06:06:18 +08:00
font-size: 1.1em;
2013-09-25 04:07:13 +08:00
-webkit-transition: background-color 0.3s;
-moz-transition: background-color 0.3s;
-ms-transition: background-color 0.3s;
-o-transition: background-color 0.3s;
transition: background-color 0.3s;
}
button:hover {
background-color: #ccc;
2013-10-02 06:06:18 +08:00
box-shadow: 0px 0px 1px 0px #ddd;
2013-09-25 04:07:13 +08:00
}
button.gray { float: right; }
button.blue { background-color: #3498db; }
button.blue:hover { background-color: #5dade2; }
/* -------------- Modules -------------- */
header {
position: relative;
2013-10-02 06:06:18 +08:00
overflow: hidden;
color: #fff;
2013-09-25 04:07:13 +08:00
letter-spacing: 0.1em;
font-weight: normal;
2013-10-02 06:06:18 +08:00
font-size: 1.6em;
font-family: 'Lato', Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif;
2013-09-25 04:07:13 +08:00
}
#title_image {
2013-10-02 06:06:18 +08:00
display: block;
margin: 0 auto;
2013-09-25 04:07:13 +08:00
width: 100%;
height: auto;
}
@media (max-width: 1000px) {
2013-10-02 06:06:18 +08:00
#title_image { margin-left: -10%; width: 120%; }
2013-09-25 04:07:13 +08:00
}
main {
padding: 0em 6%;
}
2013-09-25 04:23:19 +08:00
#logo, #pitch {
2013-09-25 04:07:13 +08:00
position: absolute;
width: 100%;
2013-10-02 06:06:18 +08:00
text-align: center;
2013-09-25 04:23:19 +08:00
}
#pitch {
top: 100px;
color: #222;
2013-10-02 06:06:18 +08:00
text-shadow: 1px 1px 0 rgba(88, 88, 88, 0.5);
font-style: italic;
font-size: 0.6em;
2013-09-25 04:07:13 +08:00
}
2013-10-02 06:06:18 +08:00
#logo { top: 50px; }
#logo img { height: 40px; }
2013-09-25 04:07:13 +08:00
.information img {
width: 100%;
}
.information p {
margin: 0;
2013-09-29 03:07:18 +08:00
padding: 0 8px;
2013-09-25 04:07:13 +08:00
line-height: 1.4em;
}
.download {
2013-09-26 03:41:58 +08:00
padding-top: 1.2em;
2013-09-25 04:07:13 +08:00
max-width: 35em;
text-align: center;
}
.download > .bit-2 {
2013-09-26 03:41:58 +08:00
margin: 1.5em 0 0 0;
2013-09-25 04:07:13 +08:00
}
2013-09-29 03:07:18 +08:00
#installation {
text-align: left;
}
2013-09-25 04:07:13 +08:00
.download small {
display: inline-block;
2013-10-02 06:06:18 +08:00
margin: 0.5em 0 0;
2013-09-25 04:07:13 +08:00
}
footer small {
display: inline-block;
2013-10-02 06:06:18 +08:00
width: 100%;
text-align: center;
2013-09-25 04:07:13 +08:00
}
code {
padding: 1px 3px;
border-radius: 2px;
2013-10-02 06:06:18 +08:00
background-color: #eee;
2013-09-25 04:07:13 +08:00
font-size: 0.9em;
2013-10-02 06:06:18 +08:00
font-family: Consolas, monaco, monospace;
2013-09-25 04:07:13 +08:00
}
.flushright {
text-align: right;
}
/* -------------- Lists -------------- */
ul {
2013-09-29 03:07:18 +08:00
padding-left: 8px;
2013-10-02 06:06:18 +08:00
list-style: none;
2013-09-25 04:07:13 +08:00
}
ul ol {
margin: 0.5em 0;
2013-10-02 06:06:18 +08:00
padding: 0 0 0 30px;
2013-09-29 03:07:18 +08:00
list-style: none;
2013-09-25 04:07:13 +08:00
}
/* -------------- Helpers -------------- */
.right {
float: right;
}
.hidden {
display: none !important;
visibility: hidden;
}
.clearfix:before,
.clearfix:after {
display: table;
2013-10-02 06:06:18 +08:00
content: " ";
2013-09-25 04:07:13 +08:00
}
.clearfix:after {
clear: both;
}
.clearfix {
*zoom: 1;
}