Skip to content

Commit

Permalink
LandingZero tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Feb 3, 2018
1 parent 83622ae commit 3b909bd
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
34 changes: 28 additions & 6 deletions e107_themes/landingzero/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
background-color: transparent;
}


@media (min-width: 768px) {
#layout-full, #layout-sidebar-right, #layout-sidebar-left {
padding-top: 120px;
padding-top: 120px;
}
}
@media (min-width: 992px) {
#layout-full, #layout-sidebar-right, #layout-sidebar-left {
padding-top: 60px;
}
#layout-full, #layout-sidebar-right, #layout-sidebar-left { padding-top: 60px; }
#sidebar { margin-top:20px }
}

.dropdown-menu {
Expand All @@ -32,6 +32,8 @@
}




.panel {
background-color: transparent;
}
Expand Down Expand Up @@ -85,10 +87,12 @@

/* Extra small devices Phones (<768px) .col-xs */
@media all and (max-width: 767px) {


body { padding-top: 50px; }
.featurebox .carousel-indicators { top:10px; }
.featurebox-item-image.pull-left, .featurebox-item-image.pull-right { margin-top: 30px; }
.news-images-main { padding-left: 0; padding-bottom:15px; padding-right:0}

}

/* Small devices Tablets .col-sm */
Expand All @@ -99,13 +103,15 @@
/* Medium devices Desktops (≥992px) .col-md */
@media all and (min-width: 992px) and (max-width: 1199px) {
.news-images-main { padding-left: 0; padding-bottom:5px}

section.news-view-item { padding-top: 0; }
}

/* Large devices (large desktops, 1200px and up).col-lg */
@media all and (min-width: 1200px) {

.news-images-main { padding-left: 0; padding-bottom:5px}
section.news-view-item { padding-top: 0; }
h3.post-title { margin-top:5px }
}


Expand Down Expand Up @@ -314,3 +320,19 @@ padding-right: 3px;
background-color: #9c27c1;
}


#layout-sidebar-right .navbar-default, #layout-full .navbar-default {

border-color: rgba(34,34,34,.05);
background-color: #222;

}

.navbar-default.affix .navbar-header .navbar-brand {
font-size: 18px;
color: inherit;
letter-spacing: 0;
text-shadow: none;
/* padding: inherit;*/

}
4 changes: 2 additions & 2 deletions e107_themes/landingzero/templates/news/news_template.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@


$NEWS_WRAPPER['default']['item']['NEWSIMAGE: item=1'] = ' ';

$NEWS_TEMPLATE['default']['caption'] = '<!-- -->'; // trick to enable tablerender and display an empty row. .
$NEWS_TEMPLATE['default']['item'] = '
{SETIMAGE: w=600&h=600}
<article class="post animated fadeInLeft animation-delay-8">
Expand Down Expand Up @@ -125,7 +125,7 @@

$NEWS_TEMPLATE['view']['item'] = '
{SETIMAGE: w=900&h=600}
<section>
<section class="news-view-item">
<h2 class="post-title">{NEWSTITLELINK}</h2> {TAGS}
<img src="{NEWSIMAGE: type=src&item=1}" class="img-responsive imageborder" alt="{NEWSTITLE}">
<hr class="news-heading-sep">
Expand Down

0 comments on commit 3b909bd

Please sign in to comment.