[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/server/staging/ghm2016 layout.css
From: |
Therese Godefroy |
Subject: |
www/server/staging/ghm2016 layout.css |
Date: |
Thu, 23 Jun 2016 20:06:06 +0000 (UTC) |
CVSROOT: /webcvs/www
Module name: www
Changes by: Therese Godefroy <th_g> 16/06/23 20:06:06
Modified files:
server/staging/ghm2016: layout.css
Log message:
Float fssbox right and join-fsf left to avoid (mis)aligning the 3
buttons.
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/ghm2016/layout.css?cvsroot=www&r1=1.3&r2=1.4
Patches:
Index: layout.css
===================================================================
RCS file: /webcvs/www/www/server/staging/ghm2016/layout.css,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- layout.css 21 Jun 2016 19:16:23 -0000 1.3
+++ layout.css 23 Jun 2016 20:06:06 -0000 1.4
@@ -42,7 +42,7 @@
#777 medium gray: hover special links
white #navigation
- #124bb4 greenish blue: normal links
+ #124bb4 blue: normal links
#100070 purplish blue: normal visited links, normal hover
blue #urgent links
#a42e2b red: GNU banner, #outdated, active links in edu-navbar
@@ -277,7 +277,6 @@
.big { font-size: 130%; padding-top: 0.7em; }
.inline-list li { display: inline }
-/* Found in a few software pages and many manuals. */
ul.no-bullet { list-style: none; }
.netscape4, .no-display { display: none; }
@@ -299,20 +298,23 @@
form input {
font-family: inherit;
font-weight: bold;
+ margin: 0;
+ border: .1em solid #ccc;
+ border-radius: .4em;
+ -moz-border-radius: .4em;
+ -khtml-border-radius: .4em;
+ -webkit-border-radius: .4em;
+ -opera-border-radius: .4em;
}
form input[type="text"] {
padding: .2em;
- margin: 0;
color: #555;
background: white;
- border: .1em solid #ccc;
}
form input[type="submit"] {
padding: .2em .4em;
- margin: 0;
color: #333;
background: #eee;
- border: .1em solid #ccc;
}
form input[type="text"]:focus {
color: #333;
@@ -328,24 +330,20 @@
/*** BUTTONS ***/
-.button, #join-fsf {
+.button a, #join-fsf a {
line-height: 1.2em;
font-weight: bold;
-}
-.button a, .button a:visited {
text-decoration: none;
-}
-
-/* The large button is defined in home.html.
- Color and background are left out because they depend
- on the environment.
- font-size for #join-fsf is inherited from #fsf-frame. */
-.button.small { font-size: 1.3em; }
-.button a, #join-fsf a {
padding: .3em .6em;
+/* Color and background are left out because they depend
+ on the environment. */
border: .1em solid #999;
+ border-radius: 1em;
+ -moz-border-radius: 1em;
+ -khtml-border-radius: 1em;
+ -webkit-border-radius: 1em;
+ -opera-border-radius: 1em;
}
-
.button a {
/* Display the button link as block in
browsers lacking support for inline-block, */
@@ -354,25 +352,8 @@
display: inline-block;
}
-
-/*** SPECIAL BORDERS ***/
-
-#searcher input[type="text"], #searcher input[type="submit"],
- #fssbox input[type="text"], #fssbox input[type="submit"] {
- border-radius: .4em;
- -moz-border-radius: .4em;
- -khtml-border-radius: .4em;
- -webkit-border-radius: .4em;
- -opera-border-radius: .4em;
-}
-
-.button a, #join-fsf a {
- border-radius: 1em;
- -moz-border-radius: 1em;
- -khtml-border-radius: 1em;
- -webkit-border-radius: 1em;
- -opera-border-radius: 1em;
-}
+.button.small { font-size: 1.3em; }
+/* The large button is defined in home.html. */
/*** RETURN LINKS ***/
@@ -663,7 +644,7 @@
.listing th,
.stx table th {
- background: #fff5d4;
+ background: #fff1c0;
color: black;
font-weight: bold;
border: 1px solid #666666;
@@ -841,7 +822,6 @@
text-decoration: none;
}
#fsf-frame p { margin: 0; }
-#fsf-frame hr { display: none; }
/* Join FSF */
#join-fsf a, #join-fsf a:visited {
@@ -871,18 +851,22 @@
#fsf-support { display: block; }
}
@media (min-width: 55em) {
- #fsf-frame { max-width: 41%; }
- #join-fsf { float: right; }
+ #fsf-frame {
+ max-width: 41%;
+ text-align: center;
+ }
#fssbox {
display: block;
- clear: right;
- float: left;
}
}
@media (min-width: 62em) {
#fsf-frame {
width: 45%; max-width: 45%;
- text-align: center;
+ }
+ #join-fsf { float: left; }
+ #fssbox {
+ clear: left;
+ float: right;
}
}