diff options
| author | s1nical <[email protected]> | 2019-08-09 15:34:28 -0700 |
|---|---|---|
| committer | s1nical <[email protected]> | 2019-08-09 15:34:28 -0700 |
| commit | 52f74fa6435494b583dc17c0710cc6059fc8aff7 (patch) | |
| tree | 93e696c2c2a5820fa5034a756b075f0da7d5dc93 /konami/css | |
| parent | take out unused loader dupes (diff) | |
| download | s1n.pw-admin-52f74fa6435494b583dc17c0710cc6059fc8aff7.tar.xz s1n.pw-admin-52f74fa6435494b583dc17c0710cc6059fc8aff7.zip | |
Konami Code ;)
Diffstat (limited to 'konami/css')
| -rw-r--r-- | konami/css/main.css | 148 |
1 files changed, 148 insertions, 0 deletions
diff --git a/konami/css/main.css b/konami/css/main.css new file mode 100644 index 0000000..ba22b2f --- /dev/null +++ b/konami/css/main.css @@ -0,0 +1,148 @@ +/* BACKGROUND SPARKLES CSS */ + +html, +body { + margin: 0 0; + padding: 0 0; + text-align: center; + font-size: 0; + background: url(../assets/bg/bg.gif); + cursor: url(../assets/images/smiley\ face\ cursor.cur), default; +} + +/* ORINGINAL SITE CSS */ +html { + -webkit-box-sizing: border-box; + box-sizing: border-box; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-tap-highlight-color: transparent; +} + +*, +*:before, +*:after { + -webkit-box-sizing: inherit; + box-sizing: inherit; +} + +html, +body { + height: 100%; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: horizontal; + -webkit-box-direction: normal; + -ms-flex-flow: row wrap; + flex-flow: row wrap; +} + +body { + font: normal 20px/1.4 'Inter', sans-serif; + margin: 0 1em; + padding: 1em 0; + color: red; + background: none; +} + +main { + /* margin: auto; ** This is only needed for mobile */ + font-size: 6vh; + line-height: 1.2; + max-width: 75vh; +} + +.links a { + background-color: yellow; +} + +.email a:hover, +.email a:focus { + background: url(../assets/images/Email2.gif); + color: #fff; +} + +.twitter a:hover, +.twitter a:focus { + background: url(../assets/images/bullet.png); + color: #fff; +} + +.github a:hover, +.github a:focus { + background: url(../assets/images/geoshape.gif); + color: #fff; +} + +/* NAVIGATION MENU */ +.navigation-bar { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-flex: 1; + -ms-flex: 1 0 100%; + flex: 1 0 100%; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; +} + +.nav { + overflow: hidden; + max-width: 100%; + background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet); + padding: 0 20px; + position: absolute; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.nav-item { + color: none; + padding: 20px; + margin: 0 6px; + font-weight: 500; + position: relative; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -ms-flex-pack: center; + justify-content: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; +} + +.nav-item:before { + content: ""; + position: absolute; + bottom: -6px; + left: 0; + width: 100%; + height: 70px; + background: url(../assets/images/cd-rom.gif); + opacity: 0; +} + +.nav-item:not(.is-active):hover:before { + opacity: 1; + bottom: 0; +} + |