commit f1c746235c9c6c7d5cf6efe42424a0dc6bce49aa Author: Christian Wolf Date: Sun Mar 12 14:23:57 2017 +0100 Created basic joomla template diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..de1c0b9 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ + +UPDATE_PATH=/srv/slt-update +PACKAGES = slt1.tar.gz + +all: package update + +package: $(PACKAGES) + +.PHONY: slt1.tar.gz +slt1.tar.gz: + cd slt1 ; tar czf ../$@ * + +.PHONY: update +update: $(PACKAGES) + cp slt.xml slt1.tar.gz $(UPDATE_PATH) diff --git a/slt.xml b/slt.xml new file mode 100644 index 0000000..aae7761 --- /dev/null +++ b/slt.xml @@ -0,0 +1,21 @@ + + + + Joomla Template + Template for the SLT for the Joomla! CMS + slt + template + 0.0.1 + + + http://localhost/slt-update/slt1.tar + + + Christian Wolf + + + + + \ No newline at end of file diff --git a/slt1/TODO b/slt1/TODO new file mode 100644 index 0000000..4c43641 --- /dev/null +++ b/slt1/TODO @@ -0,0 +1 @@ +Menue links einrichten diff --git a/slt1/css/index.html b/slt1/css/index.html new file mode 100644 index 0000000..e69de29 diff --git a/slt1/css/main.css b/slt1/css/main.css new file mode 100644 index 0000000..f9e6eb9 --- /dev/null +++ b/slt1/css/main.css @@ -0,0 +1,277 @@ + +body { + margin: 0px; + height: 100vh +} + +#page { + box-shadow: 30vw 0px 5vw -10vw green inset; +} + +/* + * Menu configuration + */ + +.nav { + padding: 0px; +} + +.nav > li { + display: block; +} + +.nav > li > .nav { + padding-left: 5px; + margin-left: 5px; + border-left: solid gray 1px; + font-size: smaller; +} + +.nav > li > .nav > li > .nav { + font-size: x-small; +} + +/* + * Topmenu positioning and styling + */ + +#topmenu { + display: none; +} +@media only screen and ( min-width: 1000px){ + + #topmenu { + background-color: black; + color: white; + font-weight: bold; + text-align: center; + position: fixed; + width: 100vw; + display: block; + } + + + #topmenu > .nav { + display: flex; + flex-flow: row nowrap; + justify-content: space-around; + padding: 0px; + margin: 0px; + position: relative; + align-items: center; + height: 40px; + } + + #topmenu > .nav > li { + padding: 10px; + display: inline-block; + text-align: left; + } + + #topmenu > .nav > li:hover { + background-color: white; + color: black; + } + + #topmenu > .nav > li > .nav { + position: absolute; + display: none; + z-index: 10; + background-color: white; + margin: 10px 20px 10px 0px; + border: none; + padding: 0px; + } + + #topmenu > .nav > li:hover > .nav { + display: block; + box-shadow: 3px 5px 5px 2px rgba(0,0,0,0.5); + } + + #topmenu > .nav > li > .nav > li { + display: block; + padding: 10px; + } + + #topmenu > .nav > li > .nav > li:hover { + background-color: gray; + } + + + #page { + padding-top: 35px; + + } +} + +/* + * Header line positioning + */ + +#header { + display: flex; + flex-flow: row nowrap; + justify-content: space-between; +} + +#header > div { + margin: 20px; + align-items: center; +} + +#logo, #slideshow { + flex: 0; +} + +#logo { + display: inline-block; +} + +#slideshow { + display: none; +} + +#logo > img { + height: 150px; +} + +#slideshow > img { + height: 150px; +} + +@media only screen and (min-width: 1000px) { + #slideshow { + display: inline-block; + } +} + + +/* + * Content positioning + */ + + +#left_menu { + display: none; +} + +#main_column { + margin: 15px; +} + +#right_column { + display: none; +} + +#footline { + margin-top: 10px; +} + +@media only screen and (min-width: 1000px) { + + #content { + display: flex; + } + + #left_menu { + flex: 1 1 20%; + margin: 15px 0px 15px 5px; + display: block; + } + + #main_column { + flex: 1 1 60%; + display: flex; + flex-flow: column nowrap; + } + + #main_content{ + flex: 1 1 100%; + } + + #footline { + flex: none; + } + + #right_column { + flex: 1 1 15%; + margin: 15px 5px 15px 0px; + display: block; + } + +} + +/* + * Footer positioning + */ + +#footer { + background-color: black; + color: white; + text-align: center; + margin-top: 30px; + padding: 5px; +} + + +/* + * Mobile menu positioning + */ + +#mobile_menu li > a { + margin: 5px 0px 5px 0px; + background-color: rgb(200,255,200); + padding: 0px; + display: block; +} + +#mobile_menu li > a.selected { + background-color: rgb(150,255,150); +} + +#mobile_menu .nav { + padding: 0px; + border: none; + margin-left: 0px; +} + +#mobile_menu li { + margin-left: 5px; + margin-right: 5px; +} + +#mobile_menu li > ul.nav { + margin-left: -5px; + margin-right: -5px; +} + +#mobile_menu > .level-1 > li > ul { + display: flex; + flex-wrap: wrap; +} + +#mobile_menu > .level-1 > li > ul > li { + display: inline-block; + flex: 1 1 40%; +} + +#mobile_menu > .level-1 > li > ul > li > a { + display: block; +} + +@media only screen and (min-width: 1000px) +{ + #mobile_menu { + display: none; + } +} + +/* + * Debug + */ + +/*#right_column,#left_menu,#main_content,#footline { + background-color: rgba(0,0,0,0.1); +}*/ + + diff --git a/slt1/img/SLT_hoch_03.png b/slt1/img/SLT_hoch_03.png new file mode 100644 index 0000000..4cc3b83 Binary files /dev/null and b/slt1/img/SLT_hoch_03.png differ diff --git a/slt1/img/index.html b/slt1/img/index.html new file mode 100644 index 0000000..e69de29 diff --git a/slt1/index.php b/slt1/index.php new file mode 100644 index 0000000..0cc2f9b --- /dev/null +++ b/slt1/index.php @@ -0,0 +1,72 @@ + + +'; ?> + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + +
+ +
+ +
+
+ +
+
+
+ +
+
+ +
+
+
+ +
+
+ + + +
+ + + diff --git a/slt1/js/index.html b/slt1/js/index.html new file mode 100644 index 0000000..e69de29 diff --git a/slt1/language/index.html b/slt1/language/index.html new file mode 100644 index 0000000..e69de29 diff --git a/slt1/templateDetails.xml b/slt1/templateDetails.xml new file mode 100644 index 0000000..2932f40 --- /dev/null +++ b/slt1/templateDetails.xml @@ -0,0 +1,97 @@ + + + + + + SLT + SLT + + 11.03.2017 + + Christian Wolf + + christianlupus@web.de + + + + 0.0.1 + + + + + + + css + img + language + js + + index.php + + index.html + + + + templateDetails.xml + + + + + + + + + + + topmenu + slideshow + mobile_menu + left_menu + right_column + footline + footer + + + + + + + + +
+ + +
+
+
+ + + + http://localhost/slt-update/slt.xml + +
\ No newline at end of file