官术网_书友最值得收藏!

  • Node.js 6.x Blueprints
  • Fernando Monteiro
  • 183字
  • 2021-07-14 10:35:07

Adding style to the application

We'll also add a few lines of CSS in the public/stylesheet file to style our example application.

Open public/stylesheets/style.css and add the following code:

  body { 
    min-height: 75rem; /* Can be removed; just added for demo purposes */ 
  } 
  .navbar { 
    margin-bottom: 0; 
  } 
  .navbar-collapse .container-fluid { 
    padding: 2rem 2.5rem; 
    border-bottom: 1px solid #55595c; 
  } 
  .navbar-collapse h4 { 
    color: #818a91; 
  } 
  .navbar-collapse .text-muted { 
    color: #818a91; 
  } 
  .about { 
    float: left; 
    max-width: 30rem; 
    margin-right: 3rem; 
  } 
  .social a { 
  font-weight: 500; 
    color: #eceeef; 
  } 
  .social a:hover { 
    color: #fff; 
  } 
  .jumbotron { 
    padding-top: 6rem; 
    padding-bottom: 6rem; 
    margin-bottom: 0; 
    background-color: #fff; 
  } 
  .jumbotron p:last-child { 
    margin-bottom: 0; 
  } 
  .jumbotron-heading { 
    font-weight: 300; 
  } 
  .jumbotron .container { 
    max-width: 45rem; 
  } 
  .album { 
    min-height: 50rem; /* Can be removed; just added for demo purposes */ 
    padding-top: 3rem; 
    padding-bottom: 3rem; 
    background-color: #f7f7f7; 
  } 
  .card { 
    float: left; 
    width: 33.333%; 
    padding: .75rem; 
    margin-bottom: 2rem; 
    border: 0; 
  } 
  .card > img { 
    margin-bottom: .75rem; 
  } 
  .card-text { 
    font-size: 85%; 
  } 
  footer { 
    padding-top: 3rem; 
    padding-bottom: 3rem; 
  } 
  footer p { 
    margin-bottom: .25rem; 
  } 
主站蜘蛛池模板: 广饶县| 廉江市| 东乌珠穆沁旗| 浦北县| 兴安县| 东城区| 凉城县| 时尚| 葫芦岛市| 顺义区| 临沂市| 陆川县| 巨鹿县| 台前县| 凤凰县| 房产| 策勒县| 伊宁县| 靖州| 浦县| 和硕县| 安塞县| 廊坊市| 满城县| 浙江省| 冀州市| 金昌市| 东山县| 南澳县| 承德市| 新龙县| 遂川县| 德惠市| 澳门| 庄浪县| 来安县| 甘泉县| 乌什县| 开封市| 辽源市| 彩票|