ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1664522 - in /ctakes/site/trunk: content/css/downloads.css content/css/faq.css content/css/index.css content/css/mailing.css content/css/sponsors.css content/faq.mdtext content/sponsors.mdtext templates/skeleton.html
Date Thu, 05 Mar 2015 23:14:25 GMT
Author: seanfinan
Date: Thu Mar  5 23:14:25 2015
New Revision: 1664522

URL: http://svn.apache.org/r1664522
Log:
consolidating css

Removed:
    ctakes/site/trunk/content/css/downloads.css
    ctakes/site/trunk/content/css/faq.css
    ctakes/site/trunk/content/css/mailing.css
    ctakes/site/trunk/content/css/sponsors.css
Modified:
    ctakes/site/trunk/content/css/index.css
    ctakes/site/trunk/content/faq.mdtext
    ctakes/site/trunk/content/sponsors.mdtext
    ctakes/site/trunk/templates/skeleton.html

Modified: ctakes/site/trunk/content/css/index.css
URL: http://svn.apache.org/viewvc/ctakes/site/trunk/content/css/index.css?rev=1664522&r1=1664521&r2=1664522&view=diff
==============================================================================
--- ctakes/site/trunk/content/css/index.css (original)
+++ ctakes/site/trunk/content/css/index.css Thu Mar  5 23:14:25 2015
@@ -5,3 +5,78 @@ h3 {
 .description-container {
 	text-align: center;
 }
+
+.faq-container {
+	padding:70px;
+}
+
+.sponsor-img {
+	display:block;
+	margin-left: auto;
+	margin-right: auto;
+}
+
+#preq-container {
+	background-color: #eef6fd;
+	border-radius: 5px;
+	padding: 10px;
+}
+
+.download-container {
+ 	background-color: #eef6fd;
+ 	/* top right bottom left */
+ 	padding: 10px 10px 20px 10px;
+   margin-top: 30px;
+   text-align: center;
+}
+
+.btn-download {
+   width: 150px;
+}
+
+/*
+Max width before this PARTICULAR table gets nasty
+This query will take effect for any screen smaller than 760px
+and also iPads specifically.
+
+Reference: http://css-tricks.com/responsive-data-tables/;
+
+Used by mailing lists
+*/
+@media
+only screen and (max-width: 760px),
+(min-device-width: 768px) and (max-device-width: 1024px)  {
+
+	/* Force table to not be like tables anymore */
+	table, thead, tbody, th, td, tr {
+		display: block;
+	}
+
+	/* Hide table headers (but not display: none;, for accessibility) */
+	thead tr {
+		position: absolute;
+		top: -9999px;
+		left: -9999px;
+	}
+
+	tr { border: 1px solid #ccc; }
+
+	td {
+		/* Behave  like a "row" */
+		border: none;
+		border-bottom: 1px solid #eee;
+		position: relative;
+		padding-left: 50%;
+	}
+
+	td:before {
+		/* Now like a table header */
+		position: absolute;
+		/* Top/left values mimic padding */
+		top: 6px;
+		left: 6px;
+		width: 45%;
+		padding-right: 10px;
+		white-space: nowrap;
+	}
+}

Modified: ctakes/site/trunk/content/faq.mdtext
URL: http://svn.apache.org/viewvc/ctakes/site/trunk/content/faq.mdtext?rev=1664522&r1=1664521&r2=1664522&view=diff
==============================================================================
--- ctakes/site/trunk/content/faq.mdtext (original)
+++ ctakes/site/trunk/content/faq.mdtext Thu Mar  5 23:14:25 2015
@@ -1,4 +1,4 @@
-<div class="container main-container">
+<div class="container faq-container">
    <h1> Frequently Asked Questions </h1>
 
    <div class="panel-group" id="accordion">

Modified: ctakes/site/trunk/content/sponsors.mdtext
URL: http://svn.apache.org/viewvc/ctakes/site/trunk/content/sponsors.mdtext?rev=1664522&r1=1664521&r2=1664522&view=diff
==============================================================================
--- ctakes/site/trunk/content/sponsors.mdtext (original)
+++ ctakes/site/trunk/content/sponsors.mdtext Thu Mar  5 23:14:25 2015
@@ -9,7 +9,7 @@
          <source srcset="images/partners.jpg" media="(max-width: 768px)">
          <source srcset="images/partners-larger.jpg">
          <!--[if IE 9]></video><![endif]-->
-         <img srcset="images/partners.jpg" alt="Image of partners: OpenNLP, UIMA, Spark,
BigTop, Hadoop">
+         <img class="sponsor-img" srcset="images/partners.jpg" alt="Image of partners:
OpenNLP, UIMA, Spark, BigTop, Hadoop">
       </picture>
 
       <h2> Official Apache Sponsors </h2>

Modified: ctakes/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/ctakes/site/trunk/templates/skeleton.html?rev=1664522&r1=1664521&r2=1664522&view=diff
==============================================================================
--- ctakes/site/trunk/templates/skeleton.html (original)
+++ ctakes/site/trunk/templates/skeleton.html Thu Mar  5 23:14:25 2015
@@ -39,14 +39,10 @@
    <link href="css/apache.css" rel="stylesheet">
    <link href="css/index.css" rel="stylesheet">
 
-   <link href="css/sponsors.css" rel="stylesheet">
-   <link href="css/downloads.css" rel="stylesheet">
-   <link href="css/examples.css" rel="stylesheet">	
-   <link href="css/faq.css" rel="stylesheet">
-   <link href="css/why_ctakes.css" rel="stylesheet">	
+   <link href="css/examples.css" rel="stylesheet">
+   <link href="css/why_ctakes.css" rel="stylesheet">
    <link href="css/main.css" rel="stylesheet">	
-   <link href="css/mailing.css" rel="stylesheet">
-	
+
    <script src="https://code.jquery.com/jquery.js"></script>
    <script type="text/javascript">
           var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-41673085-1']); _gaq.push(['_trackPageview']);
(function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async
= true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') +
'.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga,
s); })();	



Mime
View raw message