yii2-netdisk/web/css/site.css

91 lines
2.4 KiB
CSS
Raw Normal View History

2013-05-24 22:14:49 +08:00
body {
2013-08-09 08:00:48 +08:00
padding-top: 20px;
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
/* Everything but the jumbotron gets side spacing for mobile-first views */
.masthead,
.body-content,
.footer {
padding-left: 15px;
padding-right: 15px;
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
.masthead:before,
.masthead:after {
display: table;
content: " ";
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
.masthead:after {
clear: both;
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
.footer {
border-top: 1px solid #ddd;
margin-top: 30px;
padding-top: 29px;
padding-bottom: 30px;
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
/* Main marketing message and sign up button */
.jumbotron {
text-align: center;
background-color: transparent;
2013-05-24 22:14:49 +08:00
}
.jumbotron .btn {
2013-08-09 08:00:48 +08:00
font-size: 21px;
padding: 14px 24px;
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
/* Customize the nav-justified links to be fill the entire space of the .navbar */
.nav-justified {
max-height: 50px;
background-color: #eee;
border-radius: 5px;
border: 1px solid #ccc;
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
.nav-justified > li > a {
padding-top: 15px;
padding-bottom: 15px;
color: #777;
font-weight: bold;
text-align: center;
border-left: 1px solid rgba(255,255,255,.75);
border-right: 1px solid rgba(0,0,0,.1);
background-color: #e5e5e5; /* Old browsers */
background-repeat: repeat-x; /* Repeat the gradient */
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%); /* FF3.6+ */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#e5e5e5)); /* Chrome,Safari4+ */
background-image: -webkit-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Chrome 10+,Safari 5.1+ */
background-image: -ms-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* IE10+ */
background-image: -o-linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* Opera 11.10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
background-image: linear-gradient(top, #f5f5f5 0%,#e5e5e5 100%); /* W3C */
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
.nav-justified > .active > a {
background-color: #ddd;
background-image: none;
box-shadow: inset 0 3px 7px rgba(0,0,0,.15);
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
.nav-justified > li:first-child > a {
border-left: 0;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
.nav-justified > li:last-child > a {
border-right: 0;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
2013-05-24 22:14:49 +08:00
}
2013-08-09 08:00:48 +08:00
/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
/* Remove the padding we set earlier */
.masthead,
.marketing,
.footer {
padding-left: 0;
padding-right: 0;
}
2013-05-24 22:14:49 +08:00
}