diff --git a/media/css/layout.css b/media/css/layout.css index b9fb57f..f824ffa 100644 --- a/media/css/layout.css +++ b/media/css/layout.css @@ -79,6 +79,48 @@ nav#nav_home li { } +nav#nav_mobile ul { + + list-style-type: none; + padding:0px; + margin:0px; + width:100%; + +} + +nav#nav_mobile li { + + display:block; + color: #fff; + +} + +nav#nav_mobile li a{ + + display:block; + width:100%; + background:#6e84ff; + color: #fff; + padding:5px 10px; + border: solid #fbfbfb; + border-width: 1px 0px 0px 0px; + +} + +nav#nav_mobile li a:active{ + + background:#7f95ff; + +} + +nav#nav_mobile li a i{ + + display:inline-block; + width:20px; + text-align:center; + +} + .header_nav { background: #253062; @@ -162,6 +204,12 @@ nav#nav_home a:hover { } +#logo { + + position:relative; + +} + #logo img { width:250px; @@ -315,3 +363,74 @@ a.button { } +#nav_home_mobile { + + display:none; + +} + +/*Layout*/ + +@media only screen and (max-width: 1040px) { + + nav#nav_home { + + display: none; + + } + + .container { + + width:100%; + max-width:100%; + min-width:100%; + + } + + #nav_home_mobile { + + display:inline-block; + position:absolute; + /*width:50px;*/ + /*border: solid #f00 1px;*/ + right:5px; + /*right:50px;*/ + + } + + #nav_home_mobile a { + + color: #fff; + display:block; + font-size: 32px; + + } + + .column_50 { + + + width:100%; + margin-top:15px; + + } + + .logo { + + /*width:200px; + position:absolute; + top:0px; + left:0px; + z-index:20; + clear:both;*/ + width:100%; + + } + + #menu_big { + + display:none; + + } + +} + diff --git a/templates/about.phtml b/templates/about.phtml index 903ff95..ccc5654 100644 --- a/templates/about.phtml +++ b/templates/about.phtml @@ -2,10 +2,10 @@ <%block name="content">
-

About

+

${lang('cuchulublog', 'about', 'About')}

Antonio de la Rosa Caballero

-

${lang('cuchulublog', 'geek_enthusiast_linux_user', 'Geek enthusiast. Linux user, Debian user, Archlinux user, Gentoo user, Fedora user. Free software supporter. Specialized in Linux sysadmin, backend, and frontend')}.

+

${lang('cuchulublog', 'geek_enthusiast_linux_user', 'Geek enthusiast. Linux user, Debian user, Archlinux user, Gentoo user, Fedora user. Free software supporter. Specialized in Linux sysadmin, backend, and frontend')|n}.

${lang('cuchulublog', 'projects', 'Projects')}

diff --git a/templates/home.phtml b/templates/home.phtml index ae43300..cda39cd 100644 --- a/templates/home.phtml +++ b/templates/home.phtml @@ -26,12 +26,15 @@
-