some basic theming of the site
authorroot <root@login1p.fsf.org>
Wed, 1 Dec 2021 22:07:45 +0000 (17:07 -0500)
committerroot <root@login1p.fsf.org>
Wed, 1 Dec 2021 22:07:45 +0000 (17:07 -0500)
to look like our theme on rubycas

themes/fsftheme/default/includes/header.php
www/fsftheme.css
www/header-bkg.png [new file with mode: 0644]
www/rmsbg.png [new file with mode: 0644]

index 5d952a3828ffc95b1c04285a60ac9eaa4c84a6a5..27ad3c5303ef0ea3b0bf3adcbf6d74ef768a8170 100644 (file)
@@ -114,9 +114,12 @@ if (array_key_exists('autofocus', $this->data)) {
 <div id="wrap">
 
     <div id="header">
+       <!--
         <h1><a href="/<?php echo $this->data['baseurlpath']; ?>"><?php
             echo(isset($this->data['header']) ? $this->data['header'] : 'SimpleSAMLphp');
         ?></a></h1>
+       -->
+        <div><a href="/"><img src="/module.php/fsfdrupalauth/header-bkg.png"></a></div>
     </div>
 
 
index 0723eabdf78ac5c1d5e99641c1b8491696f4b7bc..e70b1b80f6cc7ae9df7f0c13dca9ccd51f26ed9e 100644 (file)
@@ -9,9 +9,10 @@
 body {
     text-align: center;
     padding: 10px 0;
-    background: #1c1c1c;
+    background: #fff url("rmsbg.png") 100%;
+    background-position: center top;
+    background-repeat: repeat-x;
 /*    background-image: url(icons/ssplogo-fish.png); */
-/*    background-repeat: no-repeat; */
     color: #333;
     font: 83%/1.5 arial,tahoma,verdana,sans-serif;
 }
@@ -94,7 +95,7 @@ dt {
     position: relative;
     text-align: left;
 
-    margin: 20px 75px 2em 75px;
+    margin: 30px auto 2em auto;
     max-width: 950px;
 }
 
@@ -115,17 +116,30 @@ dt {
 }
 
 #header {
-    background: #666 url("header-bkg.png") repeat-x 0 100%;
+    /*background: url("header-bkg.png") 100%;
+    background-repeat: no-repeat;
+    background-position: center center;
+    */
     margin: 0px;
     padding: 0 0 8px;
+    min-height: 67px;
 }
 
 #header h1 {
-    color: #fff;
+    color: #000;
     font-size: 145%;
     padding: 20px 20px 12px;
 }
 
+#header div {
+    width: 360px;
+    margin: 10px auto 0 auto;
+}
+
+#header div a img {
+    margin: 0 auto 0 auto;
+}
+
 #content, #footer {
     padding: 0 20px;
 }
diff --git a/www/header-bkg.png b/www/header-bkg.png
new file mode 100644 (file)
index 0000000..8d11491
Binary files /dev/null and b/www/header-bkg.png differ
diff --git a/www/rmsbg.png b/www/rmsbg.png
new file mode 100644 (file)
index 0000000..1a0bb11
Binary files /dev/null and b/www/rmsbg.png differ