MSyed has submitted this change and it was merged.

Change subject: Make the cards on the homepage clickable
......................................................................


Make the cards on the homepage clickable

Change-Id: Ib8a6b37dc89fb81a147cdd8b02d518ee26633878
---
M source/index.html.erb
M source/stylesheets/master.css.scss
2 files changed, 12 insertions(+), 6 deletions(-)

Approvals:
  MSyed: Verified; Looks good to me, approved



diff --git a/source/index.html.erb b/source/index.html.erb
index f6b4d15..517568d 100644
--- a/source/index.html.erb
+++ b/source/index.html.erb
@@ -17,32 +17,32 @@
 </div>
 
 <div class="col-md-4">
-       <div class="story">
+       <a href="privacy/" class="story">
                <h3><small>Section</small><br>Requests for <br />User Data</h3>
                <hr/>
                <p>
 
                </p>
-       </div>
+       </a>
 </div>
 
 <div class="col-md-4">
-       <div class="story">
+       <a href="takedown/" class="story">
                <h3><small>Section</small><br>Content Alteration &amp; 
Takedown</h3>
                <hr/>
                <p>
 
                </p>
-       </div>
+       </a>
 </div>
 
 <div class="col-md-4">
-       <div class="story">
+       <a href="faq/" class="story">
                <h3><small>Section</small><br>Frequently Asked Questions</h3>
                <hr/>
                <p>
                </p>
-       </div>
+       </a>
 </div>
 
 <div class="clear">&nbsp;</div>
diff --git a/source/stylesheets/master.css.scss 
b/source/stylesheets/master.css.scss
index 22095d9..2b1fc71 100644
--- a/source/stylesheets/master.css.scss
+++ b/source/stylesheets/master.css.scss
@@ -92,9 +92,14 @@
 }
 
 .story {
+       display: block;
        border-top: 6px solid $blue;
        background: #F0F2F4;
        padding: 20px;
+
+       &:hover {
+               text-decoration: none;
+       }
 
        hr {
                border-color: #ddd;
@@ -105,6 +110,7 @@
                margin: 0;
                font-family: serif;
                font-size: 25px;
+               color: #000;
 
                small {
                        font: 12px sans-serif;

-- 
To view, visit https://gerrit.wikimedia.org/r/148269
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib8a6b37dc89fb81a147cdd8b02d518ee26633878
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/TransparencyReport
Gerrit-Branch: master
Gerrit-Owner: Prtksxna <[email protected]>
Gerrit-Reviewer: MSyed <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to