_sass/parts/_contactcard.scss in jekyll-theme-csu-cs-0.1.4 vs _sass/parts/_contactcard.scss in jekyll-theme-csu-cs-0.1.5

- old
+ new

@@ -1,79 +1,79 @@ -.page-content { - - .contact-card { - display: block; - margin-left: 0; - margin-right: auto; - width: 225px; - border: solid 4px $green; - min-height: 200px; - box-shadow: 5px 5px 3px $gold; - margin-top:20px; - text-align: center; - padding-left: 10px; - padding-right: 10px; - padding-bottom: 10px; - padding-top: 10px; - - @media screen and (min-width: 1025px) { - - margin-top: 30px; - } - - img { - margin-left:auto; - margin-right:auto; - } - - @media screen and (max-width: 490px) { - margin-left: auto; - } - - @media screen and (min-width: 490px) { - width: 450px; - - - img { - float: left; - padding-right: 10px; - } - } - - - h1 { - margin-top: 0px; - line-height: 1.2em; - margin-bottom: 0px; - padding-bottom: 0px; - letter-spacing: 0.1em; - } - - h2 { - font-size: 1em; - margin-left: 0px; - margin-top: 0px; - margin-bottom: 0px; - margin-right: 0px; - padding-top: 3px; - padding-bottom: 3px; - padding-right: 0px; - padding-left: 0px; - line-height: 1em; - color: $black; - } - - h2+p { - margin-top: 10px; - } - - p { - margin-top: 0px; - margin-bottom: 0px; - padding-top:0px; - padding-bottom: 0px; - line-height: 1.3em; - } - - } // end contact card - +.page-content { + + .contact-card { + display: block; + margin-left: 0; + margin-right: auto; + width: 225px; + border: solid 4px $green; + min-height: 200px; + box-shadow: 5px 5px 3px $gold; + margin-top:20px; + text-align: center; + padding-left: 10px; + padding-right: 10px; + padding-bottom: 10px; + padding-top: 10px; + + @media screen and (min-width: 1025px) { + + margin-top: 30px; + } + + img { + margin-left:auto; + margin-right:auto; + } + + @media screen and (max-width: 490px) { + margin-left: auto; + } + + @media screen and (min-width: 490px) { + width: 450px; + + + img { + float: left; + padding-right: 10px; + } + } + + + h1 { + margin-top: 0px; + line-height: 1.2em; + margin-bottom: 0px; + padding-bottom: 0px; + letter-spacing: 0.1em; + } + + h2 { + font-size: 1em; + margin-left: 0px; + margin-top: 0px; + margin-bottom: 0px; + margin-right: 0px; + padding-top: 3px; + padding-bottom: 3px; + padding-right: 0px; + padding-left: 0px; + line-height: 1em; + color: $black; + } + + h2+p { + margin-top: 10px; + } + + p { + margin-top: 0px; + margin-bottom: 0px; + padding-top:0px; + padding-bottom: 0px; + line-height: 1.3em; + } + + } // end contact card + } \ No newline at end of file