[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/server/staging layout.css
From: |
Therese Godefroy |
Subject: |
www/server/staging layout.css |
Date: |
Sun, 1 Mar 2020 08:53:46 -0500 (EST) |
CVSROOT: /webcvs/www
Module name: www
Changes by: Therese Godefroy <th_g> 20/03/01 08:53:46
Modified files:
server/staging : layout.css
Log message:
Translist: add a closing button; limit overall width for Chromium.
Menus & navbars: make current link inactive.
Same font for #outdated & .disclaimer
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/staging/layout.css?cvsroot=www&r1=1.33&r2=1.34
Patches:
Index: layout.css
===================================================================
RCS file: /webcvs/www/www/server/staging/layout.css,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- layout.css 29 Feb 2020 09:36:19 -0000 1.33
+++ layout.css 1 Mar 2020 13:53:45 -0000 1.34
@@ -298,9 +298,8 @@
margin: .2em 0;
}
#navbar-input, #outdated-input, #language-input,
-#navbar-button, #outdated-button, #language-button {
- display: none;
-}
+#navbar-button, #outdated-button, #language-button,
+#language-close { display: none; }
/***************************/
@@ -366,11 +365,12 @@
#fsf-links li a:hover { background: #eee; }
#navigation li.active a,
-ul#edu-navigation li.active,
+ul#edu-navigation li.active a,
ul#edu-navigation li.current,
#navlinks li.current > a {
font-style: italic;
cursor: default;
+ pointer-events: none;
}
#navigation li.active,
#navigation li.active a:hover {
@@ -392,6 +392,7 @@
/* LANGUAGES FOR CSS3-UNAWARE BROWSERS */
/*****************************************/
+
#languages {
font-size: .94em; /* 15px */
line-height: 1.2em;
@@ -488,8 +489,9 @@
}
#translations {
display: block;
- column-width: 9.5em;
+ column-width: 10em;
column-count: 3;
+ column-gap: 0;
}
#translations p {
line-height: .1em;
@@ -504,6 +506,14 @@
width: 9em;
white-space: normal;
}
+ input#language-input:checked ~ #language-close {
+ display: inline-block;
+ font-size: 1.3em;
+ position: absolute;
+ top: .7em; right: 1em;
+ z-index: 20;
+ cursor: pointer;
+ }
#outdated-button {
display: inline-block;
@@ -544,6 +554,7 @@
}
#fsf-support a { font-weight: bold; }
+ #languages { max-width: 48em; }
#translations {
column-width: 15em;
line-height: 1.2em;
@@ -1597,7 +1608,8 @@
#fsf-frame a[href], #fssbox label, form.header input, .button a[href],
#header a[href], #fsf-support, #languages, #languages a[href],
#navlinks, #navlinks a[href], .edu-breadcrumb, .edu-breadcrumb a[href],
-.breadcrumb, .breadcrumb a, .trans-disclaimer, .trans-disclaimer a[href] {
+.breadcrumb, .breadcrumb a, .trans-disclaimer, .trans-disclaimer a[href],
+#outdated, #outdated a[href] {
font-family: "Noto Sans Display", "Noto Sans", "Liberation Sans",
sans-serif;
}
- www/server/staging layout.css,
Therese Godefroy <=