commit d443aa4675ba05e523122c7a626638f3e8736fb6 Author: Jason Illg Date: Sat Oct 31 13:04:12 2020 +0100 first commit diff --git a/css/style.css b/css/style.css new file mode 100644 index 00000000..93d22059 --- /dev/null +++ b/css/style.css @@ -0,0 +1,2 @@ +ul{list-style-type:none;margin:-2px auto;padding:0;background-color:rgba(255,255,255,0.5);border:2px solid darkred;display:inline-block;transition:all 60ms;box-shadow:inset -2px -2px 5px #bb9919,inset 2px 2px 5px #bb9919}ul.navUl{height:33px}li{float:left;width:auto;margin:0px 0px;border-radius:0px}li a{display:block;color:darkred;text-align:center;padding:7px 16px;text-decoration:none;margin:1px 0 4px;font-weight:bold}nav>ul>li{width:100px}li a:active,li a:hover,li a:focus,li a.active{background:none;color:red;text-decoration:underline}li a:active,li a:hover,li a:focus{transition:1s;transform:scale(1.1)}ul li ul li{display:inline-block}.submenu{visibility:hidden;position:relative;margin-top:-5px;margin-left:-10px;background-color:#fff}.submenu li{display:block;float:none;border-bottom:1px solid #daa520;margin:0 0 0 0}.submenu li a{display:block;float:none;border-bottom:1px solid #daa520;margin:0 0 0 0}.submenuActive{visibility:visible}nav>ul>li>ul>li{margin:middle}.home{margin-top:20px;color:red;font-size:30px;font-weight:bold}#unter{color:blue;font-weight:normal;font-size:20px}body{text-align:center}.header{text-decoration:underline;color:red;margin:auto;background-image:url("../bg/kirsche1.jpg");background-size:100% 150%;background-position:99% 100%;background-repeat:no-repeat;overflow:hidden;margin-top:3px;border-color:darkred;border-width:3px;border-style:solid;font-size:20px;text-align:center;padding:30px;box-shadow:-2px -2px 10px #bb9919,2px 2px 10px #bb9919} +/*# sourceMappingURL=style.css.map */ diff --git a/css/style.css.map b/css/style.css.map new file mode 100644 index 00000000..fe7cbadf --- /dev/null +++ b/css/style.css.map @@ -0,0 +1,7 @@ +{ +"version": 3, +"mappings": "AAAA,EAAE,CACA,eAAe,CAAE,IAAI,CACrB,MAAM,CAAE,SAAS,CACjB,OAAO,CAAE,CAAC,CAGV,gBAAgB,CA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AW,CAAE,MAAM,CACnB,SAAS,CAAE,IAAI,CCJnB,IAAI,CACA,UAAU,CAAE,MAAM,CAEtB,OAAO,CACH,eAAe,CAAE,SAAS,CAC1B,KAAK,CAAE,GAAG,CACV,MAAM,CAAE,IAAI,CAEZ,gBAAgB,CAAE,yBAAyB,CAC3C,eAAe,CAAE,SAAS,CAC1B,mBAAmB,CAAE,QAAQ,CAC7B,iBAAiB,CAAE,SAAS,CAC5B,QAAQ,CAAE,MAAM,CAChB,UAAU,CAAE,GAAG,CACf,YAAY,CAAE,OAAO,CACrB,YAAY,CAAE,GAAG,CACjB,YAAY,CAAE,KAAK,CACnB,SAAS,CAAE,IAAI,CACf,UAAU,CAAE,MAAM,CAClB,OAAO,CAAE,IAAI,CACb,UAAU,CAAE,2CAA4C", +"sources": ["../sass/_nav.sass","../sass/_home.sass","../sass/style.sass"], +"names": [], +"file": "style.css" +} \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 00000000..c39f05f2 --- /dev/null +++ b/index.php @@ -0,0 +1,54 @@ + + + + + + + Weihnachts Kalender Melly + + + + + + +
+

+ Weihnachts Kalender Melly +

+
+ + + + + +
+ + + +
+ + + \ No newline at end of file diff --git a/js/nav.js b/js/nav.js new file mode 100644 index 00000000..73ce4405 --- /dev/null +++ b/js/nav.js @@ -0,0 +1,20 @@ +function setActive() { + + aObj = document.getElementById('nav').getElementsByTagName('a'); + for (var i = 0; i < aObj.length; i++) { + if (document.location.href == aObj[i].href) { + aObj[i].className = 'active'; + } + } +} + +window.onload = setActive; + +function showMessage(msg, color="white", time=5000) { + $('
', { + "class": 'popupNachricht', + text: msg + }).appendTo("#popupBox") + .delay(time) + .fadeOut(1000);; +} \ No newline at end of file diff --git a/sass/_home.sass b/sass/_home.sass new file mode 100644 index 00000000..7028da6f --- /dev/null +++ b/sass/_home.sass @@ -0,0 +1,10 @@ +.home + margin-top: $navtop + color: red + font-size: 30px + font-weight: bold + +#unter + color: blue + font-weight: normal + font-size: 20px \ No newline at end of file diff --git a/sass/_nav.sass b/sass/_nav.sass new file mode 100644 index 00000000..9f92761a --- /dev/null +++ b/sass/_nav.sass @@ -0,0 +1,74 @@ +ul + list-style-type: none + margin: -2px auto + padding: 0 + + /*overflow: hidden; + background-color: hsla(0, 0%, 100%, 0.5) + border: 2px solid darkred + display: inline-block + transition: all 60ms + box-shadow: inset -2px -2px 5px #bb9919, inset 2px 2px 5px #bb9919 + + &.navUl + height: 33px + +li + float: left + width: auto + + /*height: 33px; + margin: 0px 0px + + /*border: 1px solid lightgrey; + border-radius: 0px + + a + display: block + color: darkred + text-align: center + padding: 7px 16px + text-decoration: none + margin: 1px 0 4px + font-weight: bold + +nav > ul > li + width: 100px + +li a + &:active, &:hover, &:focus, &.active + background: none + color: red + text-decoration: underline + + &:active, &:hover, &:focus + transition: 1s + transform: scale(1.1) + +ul li ul li + display: inline-block + +.submenu + visibility: hidden + position: relative + margin-top: -5px + margin-left: -10px + background-color: rgb(255, 255, 255) + + li + a + display: block + float: none + border-bottom: 1px solid goldenrod + margin: 0 0 0 0 + + display: block + float: none + border-bottom: 1px solid goldenrod + margin: 0 0 0 0 + +.submenuActive + visibility: visible + +nav > ul > li > ul > li + margin: middle diff --git a/sass/style.sass b/sass/style.sass new file mode 100644 index 00000000..db82e474 --- /dev/null +++ b/sass/style.sass @@ -0,0 +1,26 @@ +$navtop: 20px +@import 'nav', 'home' + +/* ************************************** + +body + text-align: center + +.header + text-decoration: underline + color: red + margin: auto + /*background-color: Lightgrey + background-image: url("../bg/kirsche1.jpg") + background-size: 100% 150% + background-position: 99% 100% + background-repeat: no-repeat + overflow: hidden + margin-top: 3px + border-color: darkred + border-width: 3px + border-style: solid + font-size: 20px + text-align: center + padding: 30px + box-shadow: -2px -2px 10px #bb9919, 2px 2px 10px #bb9919 diff --git a/tab/home.php b/tab/home.php new file mode 100644 index 00000000..4d113376 --- /dev/null +++ b/tab/home.php @@ -0,0 +1,8 @@ +
+ test + +
+ test 2 +
+ +
\ No newline at end of file