[tor-commits] [webwml/master] Separate css for people table

atagar at torproject.org atagar at torproject.org
Wed Nov 22 19:38:04 UTC 2017


commit b2f85d72c31c2095161e64e8b193e3152f6ba6e7
Author: Damian Johnson <atagar at torproject.org>
Date:   Mon Nov 20 02:00:42 2017 -0800

    Separate css for people table
    
    We embedded this because we seemed to require committed minification to do
    styling (which is incorrect, minification should be part of either the build or
    deployment step). However, turns out this isn't necessary as demonstrated by
    the donation-banner.css.
---
 about/en/corepeople.wml | 44 ++------------------------------------------
 css/people-table.css    | 40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/about/en/corepeople.wml b/about/en/corepeople.wml
index 982930bd..a99076f3 100644
--- a/about/en/corepeople.wml
+++ b/about/en/corepeople.wml
@@ -2,6 +2,8 @@
 # Revision: $Revision$
 # Translation-Priority: 3-low
 #include "head.wmi" TITLE="Tor Project: Core People" CHARSET="UTF-8"
+<link href="$(DOCROOT)/css/people-table.css" rel="stylesheet">
+
 <div id="content" class="clearfix">
 <div id="breadcrumbs">
     <a href="<page index>">Home » </a>
@@ -10,48 +12,6 @@
 </div>
 <div id="maincol">
 
-<style>
-table.people td {
-  vertical-align: top;
-  padding: 0px;
-  padding-bottom: 15px;
-  width: 50%;
-}
-
-table.people tr td:first-child {
-  padding-right: 10px;
-}
-
-.photo {
-  width: 145px;
-  float: left;
-}
-
-.icon {
-  width: 20px;
-  margin-right: 4px;
-  padding: 0px;
-  float: right;
-}
-
-.field {
-  font-family: "Montserrat";
-  font-size: 0.8rem;
-  color: rgb(50, 50, 50);
-}
-
-.description {
-  font-family: "Montserrat";
-  font-size: 0.9rem;
-  padding-top: 15px;
-}
-
-.description a, .field a, .name a {
-  font-weight: bold;
-  text-decoration: none;
-}
-</style>
-
 <table class="people">
   <tr>
     <td>
diff --git a/css/people-table.css b/css/people-table.css
new file mode 100644
index 00000000..60d405fb
--- /dev/null
+++ b/css/people-table.css
@@ -0,0 +1,40 @@
+table.people td {
+  vertical-align: top;
+  padding: 0px;
+  padding-bottom: 15px;
+  width: 50%;
+}
+
+table.people tr td:first-child {
+  padding-right: 10px;
+}
+
+.photo {
+  width: 145px;
+  float: left;
+}
+
+.icon {
+  width: 20px;
+  margin-right: 4px;
+  padding: 0px;
+  float: right;
+}
+
+.field {
+  font-family: "Montserrat";
+  font-size: 0.8rem;
+  color: rgb(50, 50, 50);
+}
+
+.description {
+  font-family: "Montserrat";
+  font-size: 0.9rem;
+  padding-top: 15px;
+}
+
+.description a, .field a, .name a { 
+  font-weight: bold;
+  text-decoration: none;
+}
+





More information about the tor-commits mailing list