part of a project I was doing at college (content modified and translated to English) browser homepage for computers at college library
Created
January 17, 2014 07:53
-
-
Save pavsmk/8469843 to your computer and use it in GitHub Desktop.
A Pen by Dean.
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
| <div class="container"> | |
| <div class="tile blue" id="booksearch"> | |
| <a href="/"> | |
| <img src="http://www.iconsdb.com/icons/preview/white/search-3-xl.png" class="icon" /> | |
| <span class="title">Book search</span> | |
| </a> | |
| </div> | |
| <div class="tile mint" id="citylibrary"> | |
| <a href="/"> | |
| <img src="http://www.iconsdb.com/icons/preview/white/books-xl.png" class="icon" /> | |
| <span class="title">City library</span> | |
| </a> | |
| </div> | |
| <div class="tile purple" id="unilibrary"> | |
| <a href="/"> | |
| <img src="http://www.iconsdb.com/icons/preview/white/school-xl.png" class="icon" /> | |
| <span class="title">University library</span> | |
| </a> | |
| </div> | |
| <div class="tile yellow" id="college"> | |
| <a href="/"> | |
| <img src="http://i.imgur.com/isHwrbV.png" class="icon" /> | |
| <span class="title">College website</span> | |
| </a> | |
| </div> | |
| <div class="tile red" id="googlesearch"> | |
| <a href="https://google.de"> | |
| <img src="http://i.imgur.com/8nzTBs8.png" class="icon" /> | |
| <span class="title">Google</span> | |
| </a> | |
| </div> | |
| <div class="tile pink" id="wikipedia"> | |
| <a href="http://de.wikipedia.org/"> | |
| <img src="http://www.iconsdb.com/icons/preview/white/wikipedia-xl.png" class="icon" /> | |
| <span class="title">Wikipedia</span> | |
| </a> | |
| </div> | |
| </div> |
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
| /* part of a project I was doing at college (content modified and translated to English) */ |
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
| @import url(http://fonts.googleapis.com/css?family=Lato); | |
| html { | |
| background: #000 url(http://i.imgur.com/4Vs44ZW.jpg) no-repeat fixed center center; | |
| background-size: cover; | |
| } | |
| body { | |
| font-family: 'Lato', sans-serif; | |
| color: #fff; | |
| font-size: 16px; | |
| } | |
| .container { | |
| width: calc(3*170px); | |
| height: calc(2*170px); | |
| margin: 100px auto; | |
| box-shadow: 0 0 10px rgba(0,0,0,.6); | |
| } | |
| .tile { | |
| width: 170px; | |
| height: 170px; | |
| text-align: center; | |
| float: left; | |
| } | |
| .tile { | |
| outline: 7px solid rgba(255,255,255,0); | |
| transition: outline .5s; | |
| position: relative; /* outline */ | |
| } | |
| .tile:hover { | |
| outline-color: rgba(255,255,255,.4); | |
| transition: outline .5s; | |
| z-index: 3000 !important; /* outline */ | |
| } | |
| .tile > a { | |
| width: inherit; | |
| height: inherit; | |
| display: block; | |
| color: #fff; | |
| text-decoration: none !important; | |
| } | |
| .blue { background-color: #00c0e4; } | |
| .mint { background-color: #2ecc71; } | |
| .purple { background-color: #7658f8; } | |
| .yellow { background-color: #eac14d; } | |
| .red { background-color: #e6567a; } | |
| .pink { background-color: #cb70d7; } | |
| img.icon { | |
| width: 70px; | |
| height: 70px; | |
| margin: 28px 0 14px; | |
| } | |
| .title { | |
| display: block; | |
| } | |
| * { | |
| -webkit-touch-callout: none; | |
| -webkit-user-select: none; | |
| -khtml-user-select: none; | |
| -moz-user-select: none; | |
| -ms-user-select: none; | |
| user-select: none; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment