Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e71cee2 authored by Scott Main's avatar Scott Main
Browse files

docs: make landing pages w/o image span the full page width

Change-Id: I96af0c7e1443079820c44b589b0c3ef638ae9c86
parent 9332a459
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -4026,21 +4026,24 @@ a.download-sdk {
.landing-docs {
  margin:20px 0 0;
}
.landing-banner {
  height:280px;
}
.landing-banner .col-6:first-child,
.landing-docs .col-6:first-child {
.landing-docs .col-6:first-child,
.landing-docs .col-12 {
  margin-left:0;
  min-height:280px;
}
.landing-banner .col-6:last-child,
.landing-docs .col-6:last-child {
.landing-docs .col-6:last-child,
.landing-docs .col-12 {
  margin-right:0;
}

.landing-banner h1 {
  margin-top:0;
}
.landing-docs {
  clear:left;
}
.landing-docs h3 {
  font-size:14px;
  line-height:21px;
+4 −2
Original line number Diff line number Diff line
@@ -44,17 +44,19 @@
  <?cs if:(!fullpage && !header.hide) ?>
    <?cs if:page.landing ?><?cs # header logic for docs that are landing pages ?>
      <div class="landing-banner">
        <?cs if:page.landing.image ?><?cs # use two-column layout only if there's an image ?>
        <div class="col-6">
          <?cs if:page.landing.image ?>
          <img src="<?cs var:toroot ?><?cs var:page.landing.image ?>" alt="" />
          <?cs /if ?>
        </div>
        <div class="col-6">
        <?cs /if ?>
          <h1 itemprop="name" style="margin-bottom:0;"><?cs var:page.title ?></h1>
          <p itemprop="description"><?cs var:page.landing.intro ?></p>
          
          <p><a class="next-page-link topic-start-link"></a></p>
        <?cs if:page.landing.image ?>
        </div>
        <?cs /if ?>
      </div>
    <?cs else ?>
      <h1 itemprop="name"><?cs var:page.title ?></h1>