From eb145bb4492cc3d1a5f7e8d9c89527053b2b6cc7 Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Fri, 20 Dec 2013 09:24:34 +0000 Subject: [PATCH] www: Do not use a fixed with, but use max-width Further: o ensure that the header is properly readable even on smaller screen sizes. o Shorten the table of contents of the documentation section. llvm-svn: 197794 --- polly/www/content.css | 7 +++--- polly/www/documentation.html | 30 +++++++---------------- polly/www/documentation/architecture.html | 2 +- 3 files changed, 14 insertions(+), 25 deletions(-) diff --git a/polly/www/content.css b/polly/www/content.css index d54f80ae4af2..68bb1c66c9df 100644 --- a/polly/www/content.css +++ b/polly/www/content.css @@ -9,7 +9,7 @@ html, body { #box { margin-left: auto; margin-right: auto; - width: 80em; + max-width: 80em; } [id=content] { /* ***** EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */ @@ -53,7 +53,7 @@ tr { vertical-align:top } #news P {padding: 0px; margin: 0px; border: 0px} #head { - height: 15em; + min-height: 15em; background-image:url(images/header-background.png); background-repeat:no-repeat; background-position: right; @@ -94,10 +94,11 @@ tr { vertical-align:top } #head h2 { color: #3b4567; - margin-left: 10em; + text-align: center; padding-top: 0em; margin-top: 0em; padding-left: .5em; + padding-bottom: .5em; } #head h2 span { diff --git a/polly/www/documentation.html b/polly/www/documentation.html index b374a300e967..eddf1cfe6829 100644 --- a/polly/www/documentation.html +++ b/polly/www/documentation.html @@ -17,34 +17,22 @@ diff --git a/polly/www/documentation/architecture.html b/polly/www/documentation/architecture.html index b7490d5d3633..aa1c80f20f00 100644 --- a/polly/www/documentation/architecture.html +++ b/polly/www/documentation/architecture.html @@ -13,7 +13,7 @@
-

The architecture

+

The Architecture Diagram of Polly