Skip to content
Snippets Groups Projects
Forked from elixir / jekyll-elixir-theme
82 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
_layout.scss 3.81 KiB
#site-content {
  h1.title {
    font-size: 37px;
    color: #005472;
    line-height: 1.1;
    font-weight: 300;
    margin: 0 0 12px;
  }

  article.one_column {
    display: block;
  }

  article {
    padding-bottom: 50px;
    min-height: 400px;
    padding-right: 10px;
    margin: 0;
    display: flex;

    hr {
      border-top: solid 1px #f7f7f7;
    }

    div.narrower-article-div {
      .index-flex {
        margin-top: 75px;
        
        .index-gray-box {
          padding: 20px;
          border-radius: 6px;
          background: #efefef;
          border: 1px solid #ebebeb;
          width: auto;
          margin-right: 2%;
          margin-bottom: 15px;
        }

        .index-photo {
          border: solid 0 black;
          flex-grow: 1;
          margin-right: 2%;

          img {
            width: -webkit-fill-available;
            max-width: 100%;
            min-width: 200px;
          }
        }

        .index-box {
          flex-grow: 1;
          margin-right: 2%;
          margin-bottom: 2%;
          border-radius: 0 0 12px 12px;
          background: #efefef;
          border: 1px solid #ebebeb;

          img {
            width: 100%;
          }

          .index-box-caption {
            color: #262626;
            font-size: 1rem;
            padding: 12px 5px 12px 12px;

            a {
              text-decoration: none;
              font-weight: bolder;
            }
          }
        }
      }
    }

    img.fit-width {
      display: -webkit-box;
      width: -webkit-fill-available;
      max-width: 600px;
    }

    #right-column {
      padding-left: 20px;
      padding-right: 20px;
      min-width: 220px;
      margin-top: 23px;
    }

    #left-column {
      margin-left: 10px;
      padding-top: 20px;
      padding-right: 40px;
      width: 220px;
      min-width: 220px;

      h2 {
        color: #005472;
        font-size: 25px;
        line-height: 1.2;
        font-weight: 300;
        margin: 0;
        border-bottom: 1px solid #ccc;
      }

      ul {
        width: 200px;
        padding-inline-start: 20px;
        list-style: none;
        margin: 0;

        li {
          padding: 0;
          margin: 0;

          a {
            color: #222;
            line-height: 1.2;
            text-decoration: none;
            display: block;
            border-bottom: 1px solid #efefef;
            padding: 10px 5px 10px 15px;
          }

          a.active {
            font-weight: 800;
            color: $COLOR_LINK_ELIXIR !important;
          }

          a.smaller {
            font-size: smaller;
            margin-left: 25px;
          }

          a:hover {
            color: #060606;
            text-decoration: underline;
          }
        }
      }
    }
  }
}

table {
  margin-top: 10px;
  border: solid 1px #ffdfdf;
  border-collapse: collapse;

  thead tr {
    font-weight: 700;

    th {
      background: $COLOR_BACKGROUND_HEADER;
      padding: 7px 12px;
      color: #f6f6f6;
      border-bottom: 0;
      text-align: left;
    }
  }

  tbody tr {
    padding: 9px 2px;
    border: solid 1px #d6d6d6;

    td {
      padding: 5px 20px 5px 10px;
    }
  }
}

div.post {
  width: 100%;
  border-left: solid 5px #f4f4f4;
  border-bottom: solid 2px #f4f4f4;
  padding-left: 10px;
  margin-top: 20px;
  margin-bottom: 30px;

  .post-title {
    font-size: 20px;
    text-decoration: none;
    font-weight: 600;
  }

  .content {
    font-size: 15px;
    font-weight: 500;
  }

  .post-date {
    font-size: smaller;
    font-weight: 200;
    color: #555;
  }
}

div header h1 {
  font-size: xx-large;
  font-weight: 100;
  text-transform: uppercase;
}

input.search {
  width: 330px;
  height: 35px;
  font-size: 20px;
  padding: 5px 5px 5px 10px;
  border-radius: 5px;
  border: solid 3px #f47d21;
}

button.search {
  margin-left: 8px;
  height: 50px;
  font-size: 20px;
}