Skip to content

Instantly share code, notes, and snippets.

@SFantasy
Created July 25, 2013 18:44
Show Gist options
  • Save SFantasy/6082580 to your computer and use it in GitHub Desktop.
Save SFantasy/6082580 to your computer and use it in GitHub Desktop.
/* Template part from twitter.github.io/bootstrap
*
*/
body {
color: #777;
background-color: #f1f1f1;
font-family: "Microsoft YaHei", Georgia, 黑体, Helvetica, Arial, sans-serif;
padding-top: 20px;
}
/* Custom container */
.container {
margin: 0 auto;
max-width: 1000px;
}
.container > hr {
margin: 60px 0;
}
/* Main marketing message and sign up button */
.jumbotron {
margin: 80px 0;
text-align: center;
}
.jumbotron h1 {
font-size: 100px;
line-height: 1;
}
.jumbotron .lead {
font-size: 24px;
line-height: 1.25;
}
.jumbotron .btn {
font-size: 21px;
padding: 14px 24px;
}
/* Supporting marketing content */
.marketing {
margin: 60px 0;
}
.marketing p + h4 {
margin-top: 28px;
}
/*
* Customer part
* tuniu.com SnowWhite
*/
.masthead h3 {
display: inline-block;
}
.form-wrapper {
padding: 25px 10px;
width: 400px;
margin: 0 auto;
}
#layout {
padding-left: 150px;
left: 0;
}
#menu {
margin-left: -150px; /* "#menu" width */
width: 150px;
position: fixed;
top: 0;
left: 150px;
bottom: 0;
z-index: 1000; /* so the menu or its navicon stays above all content */
background: #191818;
overflow-y: auto;
-webkit-overflow-scroll: touch;
}
#menu a {
color: #999;
border: none;
white-space: normal;
padding: 0.6em 0 0.6em 0.6em;
}
#menu .pure-menu-open {
background: transparent;
border: 0;
}
#menu .pure-menu ul {
border: none;
background: transparent;
}
#menu .pure-menu ul,
#menu .pure-menu .menu-item-divided {
border-top: 1px solid #333;
}
#menu .pure-menu li a:hover,
#menu .pure-menu li a:focus {
background: #333;
}
.pure-menu-link {
display: none; /* show this only on small screens */
top: 0;
left: 150px; /* "#menu width" */
background: #000;
background: rgba(0,0,0,0.7);
padding: 0.75em 1em;
}
.pure-menu-link:hover,
.pure-menu-link:focus {
background: #000;
}
#menu .pure-menu-heading {
font-size: 110%;
color: #fff;
}
#menu .pure-menu-heading:hover,
#menu .pure-menu-heading:focus {
color: #999;
}
#menu .pure-menu-selected {
background: #1f8dd6;
}
#menu .pure-menu-selected a {
color: #fff;
}
#menu li.pure-menu-selected a:hover,
#menu li.pure-menu-selected a:focus {
background: none;
}
/* --------------------------
* Header Module Styles
* --------------------------
*/
.header {
min-height: 80px;
margin: 0;
color: #333;
padding: 1em;
text-align: center;
border-bottom: 1px solid #eee;
background: #fff;
}
.header h1 {
margin: 0.2em 0;
font-size: 3em;
font-weight: 300;
}
.header h2 {
font-weight: 300;
margin: 0;
color: #ccc;
}
aside {
background: #1f8dd6; /* same color as selected state on site menu */
padding: 0.3em 1em;
border-radius: 3px;
color: #fff;
}
aside a, aside a:visited {
color: rgb(169, 226, 255);
}
/* --------------------------
* Content Module Styles
* --------------------------
*/
/* The content div is placed as a wrapper around all the docs */
.content {
margin: 0 auto;
width: 50%;
margin-bottom:50px;
}
.content p {
line-height: 1.6em;
font-size: 1.125em;
}
.content .content-subhead {
margin: 50px 0 20px 0;
font-weight: 300;
color: #888;
}
.content .content-spaced {
line-height: 1.8em;
}
/* A code snippet that has been syntax highlighted */
.content .snippet {
margin: 1.3em 0 1em;
padding: 1.3em;
}
.content .content-quote {
font-family: "Georgia", serif;
color: #666;
font-style: italic;
line-height: 1.8em;
border-left: 5px solid #ddd;
padding-left: 1.5em;
}
#myCarousel {
float: left;
width: 65%;
display: inline-block;
}
#myCarousel img {
width: 650px;
height: 400px;
}
#tuniu-notice {
width: 30%;
height: 100%;
overflow: hidden;
float: right;
border-bottom: 1px solid #ddd;
background-color: #fff;
padding: 5px 10px;
border: 1px solid #ddd;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0,0,0,0,0.055);
}
#tuniu-notice .nav-tabs {
font-size: 16px;
}
#tuniu-notice .tab-content {
font-size: 14px;
}
/* Admin Footer */
.admin-footer {
text-align: center;
border-top: 1px solid #ccc;
font-size: 14px;
width: 100%;
bottom: 0;
}
.admin-footer a {
text-decoration: none;
color: #08c;
}
.index-tool {
padding: 15px 0;
}
.index-tool span {
margin-right: 10px;
}
#login-body {
position: absolute;
top: 50px;
right: 50px;
z-index:1000;
background-color: #fff;
padding: 10px 20px;
border-radius: 4px;
box-shadow: 0, 1px, 3px rgba(0, 0, 0, 0, 0.055);
border: 1px solid #ddd;
display: none;
}
.thumbnail {
background-color: #fff;
}
.footer {
background-color: #191818;
}
.navbar {
font-size: 16px;
}
.main-container {
border: 1px solid #ddd;
padding: 10px 20px;
background-color: #fff;
border-radius: 6px;
}
.groupbuying-info {
padding: 5px;
}
.groupbuying-price {
color: #d70;
font-size: 18px;
margin-left: 5px;
}
.thumbnails li.index-images {
width: 31%;
margin-left: 1%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment