dipu-bd/jquery.bangla

View on GitHub
example/index.css

Summary

Maintainability
Test Coverage
/*******************************************************************************
Full-Width Styles
*******************************************************************************/

.outer {
  width: 100%;
}

.inner {
  position: relative;
  max-width: 640px;
  padding: 20px 10px;
  margin: 0 auto;
}

#forkme_banner {
  display: block;
  position: absolute;
  top: 0;
  right: 10px;
  z-index: 10;
  padding: 10px 50px 10px 10px;
  color: #fff;
  background: url(./images/blacktocat.png) #0090ff no-repeat 95% 50%;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

#header_wrap {
  background: #212121;
  background: -moz-linear-gradient(top, #373737, #212121);
  background: -webkit-linear-gradient(top, #373737, #212121);
  background: -ms-linear-gradient(top, #373737, #212121);
  background: -o-linear-gradient(top, #373737, #212121);
  background: linear-gradient(top, #373737, #212121);
}

#header_wrap .inner {
  min-width: 768px;
  padding: 50px 10px 30px 10px;
}

#project_title {
  margin: 0;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  text-shadow: #111 0px 0px 10px;
}

#project_tagline {
  color: #fff;
  font-size: 24px;
  font-weight: 300;
  background: none;
  text-shadow: #111 0px 0px 10px;
}

#downloads {
  position: absolute;
  width: 210px;
  z-index: 10;
  bottom: -40px;
  right: 0;
  height: 70px;
  background: url(./images/icon_download.png) no-repeat 0% 90%;
}

.zip_download_link {
  display: block;
  float: right;
  width: 90px;
  height: 70px;
  text-indent: -5000px;
  overflow: hidden;
  background: url(./images/sprite_download.png) no-repeat bottom left;
}

.tar_download_link {
  display: block;
  float: right;
  width: 90px;
  height: 70px;
  text-indent: -5000px;
  overflow: hidden;
  background: url(./images/sprite_download.png) no-repeat bottom right;
  margin-left: 10px;
}

.zip_download_link:hover {
  background: url(./images/sprite_download.png) no-repeat top left;
}

.tar_download_link:hover {
  background: url(./images/sprite_download.png) no-repeat top right;
}

#main_content_wrap {
  display: block;
  background: #f2f2f2;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
  padding: 10px;
  position: relative;
  min-height: calc(100vh - 182px);
}

#main_content {
  display: block;
  margin: 0 auto;
  margin-top: 40px;
  max-width: 690px;
}

#footer_wrap {
  background: #212121;
}

footer p {
  color: #f2f2f2;
}

/*******************************************************************************
Small Device Styles
*******************************************************************************/

@media screen and (max-width: 992px) {
  img {
    max-width: 100%;
  }
  #header_wrap .inner {
    min-width: auto;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }
  #main_content {
    /* display: none; */
    margin-top: 70px;
  }
  .inner {
    min-width: 320px;
    max-width: 480px;
  }
  #project_title {
    font-size: 32px;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 21px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 14px;
  }
  h6 {
    font-size: 12px;
  }
  code,
  pre {
    min-width: 320px;
    max-width: 480px;
    font-size: 11px;
  }
}