All Downloads are FREE. Search and download functionalities are using the official Maven repository.

docs.css.styles.scss Maven / Gradle / Ivy

There is a newer version: 2.0.1-alpha.8
Show newest version
---
---

// override bootstrap variables
$icon-font-path: "{{ site.baseurl }}/assets/fonts/bootstrap/";

//@import "reset";
@import "variables";
@import "bootstrap";

html {
  display: table;
  margin: auto;
}

body {
  display: table-cell;
  vertical-align: middle;
}

.n52-top {
    clear: both;
    margin-top: 20px !important;
}
.n52-top a {
    cursor: pointer;
}
.n52-top a:hover {
    color: #fff;
    background-color: #999;
}

.n52-sidebar {
  padding-top: 80px;
}

.n52-content {
  padding-top: 60px;
  padding-left: 60px;
  min-width: 800px;
  max-width: 1000px;
}

/* Base styles (regardless of theme) */
.n52-callout {
  margin: 20px 0;
  padding: 15px 30px 15px 15px;
  border-left: 5px solid #eee;
}
.n52-callout h4 {
  margin-top: 0;
}
.n52-callout p:last-child {
  margin-bottom: 0;
}
.n52-callout code,
.n52-callout .highlight {
  background-color: #fff;
}

.n52-callout-todo,
.n52-callout-todo:before {
  content: "TODO: ";
  background-color: #fcf2f2;
  border-color: #dFb5b4;
}

.n52-callout-info {
  background-color: #f0f7fd;
  border-color: #d0e3f0;
}

.n52-description-list dt {
    font-weight: bold;
    font-size: larger;
}

.n52-description-list dd {
    text-indent: 1em;
}

/*
 * Side navigation
 *
 * Scrollspy and affixed enhanced navigation to highlight sections and secondary
 * sections of docs content.
 */

/* By default it's not affixed in mobile views, so undo that */
.bs-sidebar.affix {
  position: static;
}

/* First level of nav */
.bs-sidenav {
  margin-top: 70px;
  margin-bottom: 30px;
  padding-top:    10px;
  padding-bottom: 10px;
  text-shadow: 0 1px 0 #fff;
  background-color: #f7f5fa;
  border-radius: 5px;
  width:200px;
}

/* All levels of nav */
.bs-sidebar .nav > li > a {
  display: block;
  color: #716b7a;
  padding: 5px 20px;
}
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
  text-decoration: none;
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
  font-weight: bold;
  color: #563d7c;
  background-color: transparent;
  border-right: 1px solid #563d7c;
}

.bs-sidebar .nav .nav > li > a {
  padding-top:    3px;
  padding-bottom: 3px;
  padding-left: 30px;
  font-size: 90%;
}

/* Show and affix the side nav when space allows it */
@media screen and (min-width: 992px) {
  .bs-sidebar .nav > .active > ul {
    display: block;
  }
  /* Widen the fixed sidebar */
  .bs-sidebar.affix,
  .bs-sidebar.affix-bottom {
    width: 213px;
  }
  .bs-sidebar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 80px;
  }
  .bs-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .bs-sidebar.affix-bottom .bs-sidenav,
  .bs-sidebar.affix .bs-sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1000px) {
  /* Widen the fixed sidebar again */
  .bs-sidebar.affix-bottom,
  .bs-sidebar.affix {
    width: 213px;
  }
}




/*
 * The Footer
 */

footer {
  font-size: small;
  padding: 30px 0;
  margin: 10px 0;
  margin-top: 70px;
  border-top: 1px solid #e5e5e5;
  background-color: #f5f5f5;
  height: 100px;
}

footer ul {
  list-style: none;
}

footer div {
  margin-left: 10px;
  margin-right: 10px;
}
.footer-links {
  margin: 10px 0;
}
.footer-links li {
  display: inline;
  padding: 0 2px;
}
.footer-links li:first-child {
  padding-left: 0;
}

// Settled on moving the import of syntax highlighting to the bottom of the CSS
// ... Otherwise it really bloats up the top of the CSS file and makes it difficult to find the start
@import "highlights",
        "swagger";




© 2015 - 2024 Weber Informatics LLC | Privacy Policy