master.css 4.31 KB
/* global style */
form label{
    padding: 3px;
    margin-bottom: 0;
    font-weight: 300;
  }
  form .form-control{
    padding: 3px 7px;
    font-size: inherit;
    line-height: 20px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
  }
  form fieldset{
    margin: 7px 0 1px;
    padding: 0px 15px;
  }
  form .form-group{
    margin: 0;
    padding-bottom: 6px;
  }
  .ellipsis{
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .form-horizontal .control-label {
    padding-top: 5px;
    text-align: left;
  }
  .buttons {
    margin: 7px 0;
    padding: 0 5px;
  }
  .buttons form{
    display: inline-block;
  }
  .buttons .btn-default{
    min-width: 55px;
    color: #165751;
    border: 1px solid #ccc;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    border-radius: 4px;
    padding: 5px 10px;
    background-color: #f5f5f5;
    font-size: 0.8em;
    font-weight: bold;
  }
  .buttons .btn-default:hover{
    text-decoration: none;
    position: relative;
    top: 1px;
    left: 1px;
    border: 1px solid #ccc;
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
  }
  .contentBox{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  .contentBoxTop {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    border-bottom: 1px solid #ccc;
    background-color: #F5F5F5;
    padding: 6px 15px;
  }
  
  /* home style */
  .home h1{
    color: darkseagreen;
  }
  .home-login{
    max-width: 330px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
  }
  
  /* post style */
  .post {
    max-width: 670px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
  }
  .post h2 {
    color: tomato;
    text-align: center;
  }
  .post .post-body {
    white-space: pre-line;
    padding: 6px 15px 20px;
  }
  .post .post-info{
    font-size: 11px;
    margin: 5px;
    padding: 5px 10px;
    background-color: #E4E4E4;
    border: 0 solid black;
    border-radius: 5px;
  }
  .post .post-info>div{
    padding: 5px 0;
    border-top: 1px dotted #999;
  }
  .post .post-info>div:first-child{
    border-top: none;
  }
  .post .post-info span{
    display: inline-block;
    width: 40px;
  }
  .post-index .posts{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    table-layout: fixed;
  }
  .post .posts th,
  .post .posts td
  {
    padding: 7px 5px;
  }
  .post .posts th:first-child,
  .post .posts td:first-child
  {
    padding-left: 15px;
  }
  .post .posts thead{
    background-color: #F5F5F5;
  }
  .post .posts thead tr th{
    border-bottom: 1px solid #ccc;
  }
  .post .posts tbody tr:nth-child(odd){
    background-color: #F4FFFF;
  }
  .post .posts tbody .noData{
    background-color: #FFFFFF;
    text-align: center;
  }
  .post .posts .author{
    text-align: center;
    width: 80px;
  }
  .post .posts .date{
    text-align: center;
    width: 100px;
    padding-right: 15px;
  }
  .post-new,
  .post-edit{
    max-width: 520px;
  }
  
  /* user style */
  .user {
    max-width: 320px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
  }
  .user-index ul{
    margin: 0;
    padding: 3px 12px;
  }
  .user-index ul:after {
    content: "";
    display: block;
    clear: both;
  }
  .user-index ul li{
    display: inline-block;
    list-style-type: none;
  }
  .user-index ul li a{
    display: inline-block;
    text-decoration:none;
    margin: 3px;
    background-color: #eee;
    padding: 3px 10px;
    border-radius: 3px;
  }
  .user-index ul li a:hover{
    background-color: #ccc;
  }
  .user-edit hr{
    margin-top: 5px;
    margin-bottom: 11px;
  }
  body {
  padding: 50px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

.wrapper {
  margin-top: 80px;
  margin-bottom: 20px;
}

.form-signin {
  max-width: 420px;
  padding: 30px 38px 66px;
  margin: 0 auto;
  background-color: #eee;
  border: 3px dotted rgba(0,0,0,0.1);
}

.form-signin-heading {
  text-align:center;
  margin-bottom: 30px;
}

.form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
}

input[type="text"] {
  margin-bottom: 0px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

input[type="password"] {
  margin-bottom: 20px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}