eduardosasso/bullish

View on GitHub
site/bullish.css

Summary

Maintainability
Test Coverage
html {
  font-size: var(--text_size);
}

.form {
  padding-top: 15px;
  position: relative;
  text-align: center;
}

.form input {
  color: #222222;
  font-family: "Montserrat";
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  height: 45px;
  border: 0;
  border-radius: 10px;
  background-color: #f3f3f3;
  outline: none;
  padding: 0 10px 0 10px;
  width: 250px;
  box-shadow: 0 5px 30px rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}

.form input:focus {
  outline: none !important;
  border-color: transparent;
}

.form .submit-button {
  height: 45px;
  border: 0;
  border-radius: 10px;
  /* margin-left: -35px; */
  padding: 0 25px 0 25px;
  background: #21bf73;
  font-family: "Montserrat";
  font-size: 16px;
  font-weight: 700;
  /* text-transform: capitalize; */
  letter-spacing: 0;
  color: #ffffff;
  cursor: pointer;
  outline: none;
  box-shadow: 0 5px 30px rgba(255, 255, 255, 0.05);
  -webkit-transition: 500ms;
  -moz-transition: 500ms;
  transition: 500ms;
  display: block;
  margin: auto;
  /* margin-top: 10px; */
}


::-moz-selection {
  /* text-shadow: none; */
}

::selection {
  /* text-shadow: none; */
}

/*
 * A better looking default horizontal rule
 */

/* hr { */
/*   display: block; */
/*   height: 1px; */
/*   border: 0; */
/*   border-top: 1px solid var(--accent_color); */
/*   margin: 1em 0; */
/*   padding: 0; */
/* } */

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
  hr {
    width: 100px;
  margin: 0 auto;
  margin-bottom: 50px;
  border-top: 2px solid;
    margin-top: 40px;
  }

h2, h3, h4, h5, h6 {
  font-family: var(--text_font);
  /* color: var(--accent_color); */
  color: var(--heading_color);
}

body {
  font-family: var(--text_font);
  color: var(--text_color);
  background: var(--background_color);
  /* padding-left: 1.2em; */
  /* padding-right: 1.2em; */
  /* padding-bottom: 5em; */
  font-weight: normal;
  padding-bottom: 1.2em;
  /* padding: 1.2em; */
}

figure {
  /* width: 100%; */
  margin: 0;
  /*   position: absolute;
  left:0;
  right:0;
 */
  /* padding: 0; */
  /* padding-top: 20px; */
  /* padding-bottom: 20px; */
}

figure img {
  /* width: 100%; */
  /* width: 100vw; */
  /* position: relative; */
  /* left: calc(-50vw + 50%); */
}

figcaption {
  font-size: small;
  /* color: var(--accent_color); */
  margin-top:10px;
  /* color: #FFF; */
}

h1 {
  /* color: #2E383F; */
  /* background-color: #f7f7f7; */
  /* text-shadow: 2px 2px 0px #F6BB42; */
  /* display:inline-block; */
  /* text-align: center; */
  /* margin-bottom: 50px; */
  margin-top: 70px;
  font-size: 60px;
  color: var(--heading_color);
  /* font-weight: 700; */
  font-family: var(--heading_font);
  /* margin-left: 0; */
  /* padding-left: 1.2em; */
  text-align:center
}

/* hr { */
/*   /1* border: 0; *1/ */
/*   /1* border-top: 1px solid; *1/ */
/*   text-align:center; */
/* } */ 

/* hr:after { */
/*   /1* content: '⬥ ⬥ ⬥'; *1/ */
/*   display: inline-block; */
/*   position: relative; */
/*   top: -13px; */
/*   padding: 0 3px; */
/*   /1* background: #fff; *1/ */
/*   /1* color: #8c8c8c; *1/ */
/*   font-size: 30px; */
/* } */

/* pre, code { */
/*   font-family: Hack, */ 
/*   monospace; */
/*   /1* font-size: 15px; *1/ */
/*   /1* padding: .8em .5em !important; *1/ */
/* } */

pre code.hljs {
  display: block;
  padding: 1em;
  /* border-radius: 5px; */
}

code.hljs {
  display: inline;
  border-radius: 5px;
}

p code {
  display: inline;
}

code {
  font-size: 15px;
  /* padding: 1.2em; */
  margin: 30px 0;
  /* padding: 10px !important; */
}

.published {
  font-size: small;
  color: var(--accent_color);
  /* color: #0074D9; */
}

/* TODO support for heading effects */
.retroshadow {
  color: #F6BB42;
  background-color: #f7f7f7;
  text-shadow: 4px 4px 0px #2E383F      
}

/* TODO: add dinamically? */
/* h1:after { */
/*  /1* width: 100%; *1/ */
/*  /1* display:flex; *1/ */
/*  /1* align-items: center; *1/ */
/*  /1* justify-content: center; *1/ */
/*  /1* display: block; *1/ */
/*  /1* content: var(--unicode-flair); *1/ */
/*  /1* /2* color: #A1A4BD; *2/ *1/ */
/*  /1* color: rgb(72, 76, 127, 0.5) *1/ */
/*  content: '_'; */
/*  display: block; */
/*  /1* border: 3px solid rgb(72, 76, 127, 0.5); *1/ */
/*  /1* border: 3px solid rgb(246, 187, 66, 0.5); *1/ */
/*  /1* border-radius:4px; *1/ */
/*  /1* -webkit-border-radius:4px; *1/ */
/*  /1* -moz-border-radius:4px; *1/ */
/*  /1* box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05); *1/ */
/*  /1* -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05); *1/ */
/*  /1* -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05); *1/ */
/*  /1* width: 50px; *1/ */
/*  /1* margin-top: 30px; *1/ */
/*  /1* text-align: center; *1/ */
/*  } */

h2 {
 /* color: rgb(72, 76, 127, 0.9) */
  /* color: rgb(246, 187, 66, 0.9) */
}

a {
  text-decoration: none;
  border-bottom: 2px solid;
  color: var(--text_color);
  /* color: var(--link_color); */
  border-bottom-color: var(--link_color);
  /* border-bottom-color: var(--accent_color); */
  /* border-bottom-color: var(--heading-color); */
  /* display: inline-block; */
  line-height: 1.2em;
  font-weight: bold;
}

a:hover {
  /* border-bottom: none; */
  color: var(--text_color);
  /* -webkit-text-stroke: 0.8px var(--text_color); */
  /* -webkit-text-stroke: 0.8px var(--heading_color); */
  border-bottom-color: var(--text_color);
}

.archive a:not(.directory) {
  border: none;
  font-weight: normal;
}

.archive .date {
  font-size: 16px;
  font-weight: 500;
  color: #97a6b5;
}

.archive  a:hover {
  border-bottom: 2px solid;
  border-bottom-color: var(--text_color);
}

.archive ul li {
  padding-bottom: 25px;
}

.archive ul li p {
  line-height: 1em;
}

.archive .directory {
  margin-left: 2em;
}

.directory li {
  line-height: 2em;
}

section {
  max-width: 700px;
  /* margin: var(--page_align); */
  /* margin-left: calc(-50vw + 50%); */
  /* margin-right: calc(-50vw + 50%); */
}

blockquote {padding: 5px 10px;margin: 0 0 0px;/* font-size: 17.5px; */border-left: 5px solid var(--accent_color);}

.glide__bullets {
  bottom: 4rem !important;
}

ul {
    list-style: none;
    padding-left: 2em !important;
    padding-inline-start: 10px;
}

ul li {
  /* list-style-type: disc; */
    list-style-position: inside;
  /* margin-bottom: 15px; */
}

body:not(.archive):not(.directory) ul li::before {
  content: "•";
  color: var(--accent_color);
  display: inline-block;
  width: 0.8em;
  margin-left: -0.8em;
  }

ol {
  list-style: none;
  counter-reset: my-awesome-counter;
  padding-inline-start: 10px;
}
ol li {
  counter-increment: my-awesome-counter;
    padding-left: 1em !important;
  text-indent: -1em;
}

p, li {
  line-height: 1.58;
  /* font-weight: 500; */
}

ol li p {
  display: inline;
}
ol li::before {
  content: counter(my-awesome-counter) ".";
  color: var(--accent_color);
  font-weight: bold;
  font-size: smaller;
  margin-right: 8px;
}
/* ol { */
/*   list-style-type: upper-roman; */
/* } */

/* li { */
/*   padding-bottom: 18px; */
/* } */

/* list index for blog formatting */
#index {
  /* padding-left: 0px; */
  /* list-style: none; */
}

#index a {
  font-weight: bold;
}

#index ul, .slider ul {
  list-style: none;
}

#index li::before, .slider li::before{
  display:none;
}
#index span {
  font-size: smaller;
  width: 120px;
  /* display: block; */
  /* float: left; */
  /* margin-right: 10px; */
  /* text-align: right; */
  /* display: table-cell; */
  /* vertical-align: middle; */
  display: inline-block;
  /* vertical-align: middle; */
  /* line-height: 1em; */ /*set line height back to normal*/
  /* border: 1px solid; */
  text-align: right;
}

.logo {
  margin-top: 50px;
  text-align:center;
}

.logo img {
  width: 60px;
  height: 60px;
}

.logo a {
  text-decoration:none;
  border: none;
}

.logo a:hover {
  text-decoration:none;
  border: none;
}

.slider li {
  /* margin: auto; */
}

ul.slider {
  /* margin-left: calc(-50vw + 50%); */
  /* margin-right: calc(-50vw + 50%); */
  /* width: 100vw; */
  /* position: relative; */
  /* left: 0; */
  background: #1B262C;
  padding-left: 0px !important;
}

.about li {
  padding-bottom: 10px;
}

@media screen and (min-width: 768px) {
  section {
    margin: var(--page_align);

    /* margin: 0px 0px 50px 50px; */
  }

  figure img {
    width: 100%;
    /* width: 100vw; */
    /* position: relative; */
    /* left: calc(-50vw + 50%); */
  }

}  

@media screen and (min-width: 320px) and (max-width: 767px){
  h1 {
    margin: 1.3em 0 .47em 0;

  }

  figure img {
    width: 100%;
    /* position: relative; */
    /* left: 50%; */
    /* right: 50%; */
    /* margin-left: -50vw; */
    /* margin-right: -50vw; */
    /* position: relative; */
    /* left: calc(-50vw + 50%); */
    /* margin-left: calc(-50vw + 50%); */
    /* margin-right: calc(-50vw + 50%); */
  }
  
  p, span, ul, ol, tr, thead, td,th,  figcaption, h1, h2, h3, h4, h5, h6 {
  /* margin-right: 1.2em; */
  /* padding-left: 1.2em; */
  /* padding-right: 1.2em; */
  /* margin-left: 1.2em; */
   padding-left: 24px;
   padding-right: 24px;
  }

  .archive p {
    padding-left: 0px;
  }
 
  h2 {
    font-size: 1.2em;
  }

  h1 {
    font-size: 42px;
  }

}


/* body#banana { */
/*   font-family: 'Roboto Mono', monospace; */
/*   background: #f7f7f7; */
/*   color: #2E383F; */
/* } */

/* #banana h1 { */  
/*   background-color: #F6BB42; */
/*   padding: 0.3em; */
/* } */

/* #banana a { */
/*   color: #2E383F; */
/*   border-bottom-color: #F6BB42; */
/* } */

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}