Created
November 10, 2014 22:45
-
-
Save theotow/ee03546bb1ad972a0a76 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,600' rel='stylesheet' type='text/css'> | |
| <main> | |
| <section class="cart"> | |
| <div class="cart__top"> | |
| <ul class="cart__bubbles"> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| </ul> | |
| <div class="cart__image"> | |
| <img src="http://images.ak.instagram.com/profiles/profile_189473990_75sq_1370025515.jpg" height="150"> | |
| </div> | |
| </div> | |
| <div class="cart__name">Manuel Villing</div> | |
| <div class="cart__title">Webdeveloper</div> | |
| <buttton class="button">Follow</buttton> | |
| <ul class="cart__footer"> | |
| <li><strong>283</strong>Followers</li> | |
| <li><strong>239</strong>Following</li> | |
| </ul> | |
| </section> | |
| </main> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ---- | |
| // Sass (v3.4.7) | |
| // Compass (v1.0.1) | |
| // ---- | |
| html,body{ | |
| height: 100%; | |
| width: 100%; | |
| border: 0; | |
| padding: 0; | |
| margin: 0; | |
| box-sizing: border-box; | |
| font-family: 'Open Sans', sans-serif; | |
| font-weight: 600; | |
| font-size: 12px; | |
| } | |
| *, *:before, *:after { | |
| box-sizing: inherit; | |
| } | |
| .cart{ | |
| width: 326px; | |
| background: #444349; | |
| border: 1px solid #000; | |
| border-radius: 5px; | |
| margin: 0 auto; | |
| transform: translateY(-50%); | |
| position: relative; | |
| top: 50%; | |
| overflow: hidden; | |
| text-align: center; | |
| box-shadow: 0px 12px 10px -10px rgba(0,0,0,0.75); | |
| &__top{ | |
| background: #E7DECC; | |
| position: relative; | |
| margin-bottom: 75px; | |
| box-shadow: inset 0px 0px 1px #fff; | |
| border-bottom: 1px solid #000; | |
| } | |
| &__bubbles{ | |
| list-style-type: none; | |
| padding: 20px 0 35px 0; | |
| margin: 0 auto; | |
| width: 32px; | |
| height: 20px; | |
| li{ | |
| float: left; | |
| display: block; | |
| height: 4px; | |
| margin: 0 2px 2px 2px; | |
| width: 4px; | |
| background: #E7DECC; | |
| box-shadow: inset -1px -1px #000; | |
| border-radius: 100%; | |
| } | |
| } | |
| &__name{ | |
| color: #E7DECC; | |
| padding-top: 25px; | |
| font-size: 1.6em; | |
| text-transform: uppercase; | |
| } | |
| &__title{ | |
| font-size: 1em; | |
| text-transform: uppercase; | |
| } | |
| &__footer{ | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| border-top: 1px solid #000; | |
| clear: both; | |
| li{ | |
| padding: 18px; | |
| border-right: 1px solid #000; | |
| box-shadow: inset -1px 1px 1px -1px #fff; | |
| text-transform: uppercase; | |
| float: left; | |
| display: inline-block; | |
| width: 50%; | |
| color: #4C545F; | |
| font-size: 1em; | |
| vertical-align: bottom; | |
| strong{ | |
| color: #151A20; | |
| vertical-align: top; | |
| font-size: 1.2em; | |
| padding-right: 5px; | |
| } | |
| &:last-child{ | |
| border-right: none; | |
| box-shadow: inset 0px 1px 1px -1px #fff; | |
| } | |
| } | |
| } | |
| &__image{ | |
| position: relative; | |
| border: 5px solid #E7DECC; | |
| margin-bottom: -75px; | |
| border-radius: 100%; | |
| overflow: hidden; | |
| margin-left: auto; | |
| margin-right: auto; | |
| width: 150px; | |
| height: 150px; | |
| img{ | |
| box-shadow: inset 0px 0px 1px 1px #000; | |
| } | |
| } | |
| } | |
| .button{ | |
| background-color: #C54929; | |
| padding: 12px; | |
| width: 160px; | |
| text-align: center; | |
| display: inline-block; | |
| text-transform: uppercase; | |
| border-radius: 5px; | |
| box-shadow: inset 0px 1px 1px -1px #fff, 0px 0px 1px 0px #000; | |
| margin: 30px auto; | |
| text-shadow: 0px 0px 1px #000; | |
| font-size: 1em; | |
| color: #E7DECC; | |
| } | |
| main{ | |
| background: url(http://subtlepatterns.com/patterns/stardust.png); | |
| height: 100%; | |
| display: block; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| html, body { | |
| height: 100%; | |
| width: 100%; | |
| border: 0; | |
| padding: 0; | |
| margin: 0; | |
| box-sizing: border-box; | |
| font-family: 'Open Sans', sans-serif; | |
| font-weight: 600; | |
| font-size: 12px; | |
| } | |
| *, *:before, *:after { | |
| box-sizing: inherit; | |
| } | |
| .cart { | |
| width: 326px; | |
| background: #444349; | |
| border: 1px solid #000; | |
| border-radius: 5px; | |
| margin: 0 auto; | |
| transform: translateY(-50%); | |
| position: relative; | |
| top: 50%; | |
| overflow: hidden; | |
| text-align: center; | |
| box-shadow: 0px 12px 10px -10px rgba(0, 0, 0, 0.75); | |
| } | |
| .cart__top { | |
| background: #E7DECC; | |
| position: relative; | |
| margin-bottom: 75px; | |
| box-shadow: inset 0px 0px 1px #fff; | |
| border-bottom: 1px solid #000; | |
| } | |
| .cart__bubbles { | |
| list-style-type: none; | |
| padding: 20px 0 35px 0; | |
| margin: 0 auto; | |
| width: 32px; | |
| height: 20px; | |
| } | |
| .cart__bubbles li { | |
| float: left; | |
| display: block; | |
| height: 4px; | |
| margin: 0 2px 2px 2px; | |
| width: 4px; | |
| background: #E7DECC; | |
| box-shadow: inset -1px -1px #000; | |
| border-radius: 100%; | |
| } | |
| .cart__name { | |
| color: #E7DECC; | |
| padding-top: 25px; | |
| font-size: 1.6em; | |
| text-transform: uppercase; | |
| } | |
| .cart__title { | |
| font-size: 1em; | |
| text-transform: uppercase; | |
| } | |
| .cart__footer { | |
| list-style: none; | |
| padding: 0; | |
| margin: 0; | |
| border-top: 1px solid #000; | |
| clear: both; | |
| } | |
| .cart__footer li { | |
| padding: 18px; | |
| border-right: 1px solid #000; | |
| box-shadow: inset -1px 1px 1px -1px #fff; | |
| text-transform: uppercase; | |
| float: left; | |
| display: inline-block; | |
| width: 50%; | |
| color: #4C545F; | |
| font-size: 1em; | |
| vertical-align: bottom; | |
| } | |
| .cart__footer li strong { | |
| color: #151A20; | |
| vertical-align: top; | |
| font-size: 1.2em; | |
| padding-right: 5px; | |
| } | |
| .cart__footer li:last-child { | |
| border-right: none; | |
| box-shadow: inset 0px 1px 1px -1px #fff; | |
| } | |
| .cart__image { | |
| position: relative; | |
| border: 5px solid #E7DECC; | |
| margin-bottom: -75px; | |
| border-radius: 100%; | |
| overflow: hidden; | |
| margin-left: auto; | |
| margin-right: auto; | |
| width: 150px; | |
| height: 150px; | |
| } | |
| .cart__image img { | |
| box-shadow: inset 0px 0px 1px 1px #000; | |
| } | |
| .button { | |
| background-color: #C54929; | |
| padding: 12px; | |
| width: 160px; | |
| text-align: center; | |
| display: inline-block; | |
| text-transform: uppercase; | |
| border-radius: 5px; | |
| box-shadow: inset 0px 1px 1px -1px #fff, 0px 0px 1px 0px #000; | |
| margin: 30px auto; | |
| text-shadow: 0px 0px 1px #000; | |
| font-size: 1em; | |
| color: #E7DECC; | |
| } | |
| main { | |
| background: url(http://subtlepatterns.com/patterns/stardust.png); | |
| height: 100%; | |
| display: block; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700,600' rel='stylesheet' type='text/css'> | |
| <main> | |
| <section class="cart"> | |
| <div class="cart__top"> | |
| <ul class="cart__bubbles"> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| <li></li> | |
| </ul> | |
| <div class="cart__image"> | |
| <img src="http://images.ak.instagram.com/profiles/profile_189473990_75sq_1370025515.jpg" height="150"> | |
| </div> | |
| </div> | |
| <div class="cart__name">Manuel Villing</div> | |
| <div class="cart__title">Webdeveloper</div> | |
| <buttton class="button">Follow</buttton> | |
| <ul class="cart__footer"> | |
| <li><strong>283</strong>Followers</li> | |
| <li><strong>239</strong>Following</li> | |
| </ul> | |
| </section> | |
| </main> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment