MediaWiki:Common.css: различия между версиями

Материал из FamilySearch Wiki
Нет описания правки
Нет описания правки
 
(не показаны 2 промежуточные версии 2 участников)
Строка 1: Строка 1:
___NORICHEDITOR___
/* Temp fix START */
/* CSS placed here will be applied to all skins */  
/* Need to incorporate this correctly into FsLookAndFeel */
.vector-menu-tabs-legacy ul {
    font-size: 18.8px;
}
/*
.fullFooter {
    float:left;
}
*/
#global-footer {
    all: unset;
    display: block;
    padding: 17px 24px 18px 8px;
    box-sizing: border-box;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    margin-left: 150px;
}
/* Temp fix END */


/*Begin - the following has been added to reduce 'down-shifting' of text after header has been installed.  */


/* h1#firstHeading {  // removes the wiki page title from the top of the screen
/* The following readjusts the popup box that appears when hovering over links in GuidedResearch. */ .tooltip .tooltiptext {
    display: none;
}
*/


.mw-body .firstHeading { 
  left: unset;
    display:none;
}
}  


.button-style {


/* The following definition is needed for collapsible menu items */
background-color: #7897BA;
border:4px outset #B3D2F5;
border-radius:.5rem;
color: white !important;
padding: .2rem 1.5rem;
text-align: center;
text-decoration: none;
display: inline-block;
font-weight:bold;
font-family:Arial;
position:absolute;
font-size: 1.25rem;
cursor: pointer;
} .button-style > a, .button-style > a.visited, .button-style > a.external:visited , .button-style > a:hover {


.mw-customtoggle, .mw-collapsible-toggle {
color:white !important;
        background: none !important;
text-decoration:none !important; }
border: none !important;
font-size: 1rem !important;
        line-height: 1rem !important;
font-family: Helvetica, Verdana, san-serif !important;
color: #262626 !important;
        padding: 0px !important;
}




/*************** end downshifting code ****************/
/* Set width of search box to 70%, so 'go' button stays inline. */


/****** testing search box not showing text bug fix *********/
bodySearchInputHomePageSearchBox {
  width: 70%;
}


/* change the box around the code feature */ code {


  color: #000;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
} pre, code, tt, kbd, samp, .mw-code {


  font-family: monospace,Courier;
}


/* the following are added to undo the settings that FS*.css creates when the FS header and footer is added to the page. */
/* make sure missing pages remain colored correctly after visiting */ a.new:visited, #p-personal a.new:visited {


html,body {
   color: #a55858 !important;
  font-size: 1rem;
  line-height: 1.6rem;
  font-family: Helvetica, Verdana, san-serif;
   color:#262626;
}
}


h1, h2 {
/* change border on input forms to be 1pm, instead of 2px, and grey instead of black */ form input { /* border: 1px solid !important;*/
  font-family: Helvetica,"Museo Slab 500", slab-serif;
 
  color: #252525;
   border-color: darkgrey !important;
  line-height: 1.3;
   border-bottom: 1px solid #aaa;
}
}


h3, h4, h5, h6 {
newHeading {
  font-family: Helvetica, "Proxima Nova Light";
margin-top:0;}
  border-bottom: none;
 
  color: #252525;
/* Define spacing and # of columns based on screen size */ @media screen and (min-width: 1400px) {
}
 
.column-spacing-fullscreen{
  column-count: 6;
padding-right: 9% !important; }} @media screen and (min-width: 1200px) and (max-width: 1399px) {
 
.column-spacing-fullscreen{
  column-count: 5;
}} @media screen and (min-width: 900px) and (max-width:1199px) {


.mw-body h1{
.column-spacing-fullscreen{
  font-family: Helvetica,"Museo Slab 500",slab-serif;
  column-count: 4;
  font-size: 1.6rem;
}} @media screen and (min-width: 600px) and (max-width:899px) {
  color: #252525;
}


.mw-body h2 {
.column-spacing-fullscreen{
  font-family: Helvetica,"Museo Slab 700",slab-serif;
  column-count: 3;
  font-size: 1.4rem;
}}
  line-height: 1.3;
@media screen and (max-width:745px) {
  color: #080908;
}


.mw-body h3, h3 {
.column-spacing-fullscreen{
  font-family: Helvetica,"Proxima Nova Bold",serif;
  column-count: 2;
  font-weight: bold;
}} @media screen and (max-width:500px) {
  font-size: 1.2rem;
  color: #080908;
}


.mw-body h4, h4{
.column-spacing-fullscreen{
    font-family: Helvetica,"Proxima Nova Bold",serif;
  column-count: 1;
    font-size: 1.2rem;
}}
    font-weight: bold;
    color: #252525;
}


.mw-body h5, h5{
/* Define spacing and # of columns based on screen size - however, /* this section assumes that only half the screen is available for /* the columns. Even though the screen size may be 1400px, the /* available space for the columns is half that, or 700px. */
  font-family: Helvetica,"Proxima Nova Light", serif;
  font-size: 1.2rem;
  font-weight: normal !important;
}
.mw-body h6{
  font-family: Helvetica,"Proxima Nova Light Italics";   
  font-size: 1.1em !important;
  font-weight: normal !important;
  font-style: italic;
}


.mw-body p, .mw-body-content p, p {
@media screen and (min-width: 1400px) {
  line-height: 1.5em;
  /* position: relative;*/
  font-family: Helvetica, Verdana, "Proxima Nova Light",serif;
  font-size: 0.875rem;
  color: #262626;
}
.mw-body ul li, .mw-body-content ul li {
  line-height: 1.5em;
  /* position: relative;*/
  font-family: Helvetica, Verdana, "Proxima Nova Light",serif;
  font-size: inherit;
  color: #262626;
}


ul li{
.column-spacing-halfscreen{
    line-height: 1.25rem;
  column-count: 3;
  font-family: Helvetica,"Proxima Nova Light",serif;
}} @media screen and (min-width: 1200px) and (max-width: 1399px) {
  font-size: 0.8rem;
  color: #262626;
}


div.vectorTabs li a { /* text size in tabs at top of every page. */
.column-spacing-halfscreen{
    font-size: inherit;
  column-count: 2;
}
}} @media screen and (min-width: 900px) and (max-width:1199px) {


div.vectorMenu h3 span {
.column-spacing-halfscreen{
    display: block;
  column-count: 1;
    font-size: 0.8rem;
}} .column-spacing-halfscreen li, .column-spacing-fullscreen li {padding-right:5px;}
    padding-left: 0.7em;
    padding-top: 8px;
    margin-right: 25px;
    font-weight: normal;
    color: #4d4d4d;
}


div#mw-panel div.portal {
    margin: 0;
}


div#mw-panel div.portal div.body ul li a {
/* landing page */ .fakelink {
    color: #0060d7;
}
div#mw-panel div.portal h3 {
font-family: Helvetica,Verdana, san-serif;
}


.toctext{
   color:#004d99;
    line-height: 1.125rem;
   display:block;
}
label {
   font-size: 0.875em !important;
   font-weight: normal;
}
}


#content label {
/*--------------------------main page coding-----------------*/ /* ------------------new CSS -------------------*/
    color: #252525;
}


select {
/* ------------------containers / elements -------------------*/
    border-color: rgb(169, 169, 169);
    border-width: 1px;
    border-style: solid;
    font-size: 1rem;
    font-family: inherit;
    height: 25x;
    width: auto;
    padding: 2px 6px 3px;
    margin-top: 3px;
    cursor: pointer;
}
input[type=number], input[type=email],
input[type=url], input[type=search]{height: 2.5em;
  padding: 0.1em;
  padding-left: 1em;
  padding-right: 1em;},
input[type=tel], input[type=color],
input[type=password], input[type=datetime],
input[type=datetime-local], input[type=date],
input[type=month], input[type=time],
input[type=week ], input[type=text] {   
font: 13.3333px Arial;
font-size: .875em;
width:auto;
border-image: initial;
color: #252525;
box-shadow: none;
                        padding: 1.185em;
                        height: 2.275em;
                        line-height: 1.275;
                        border: 1px solid #cccccc;
                        border-radius: none;
}


[class^="mw-htmlform-field"] label {
map {
    color: inherit;
  position: relative;  
    display: inline;
  width: 100%;  
    font-size: 100%;
  padding-top: 40px;
    font-weight: inherit;
  margin-left: 0;
    line-height: inherit;
    margin-bottom: inherit;
    cursor: initial;
}
}


.sectionTitle { text-align:center; margin-bottom:5px; font-size:1.2rem; margin-top:-10px; }


/*************** end FS.css fix *****************/
.subTitle { text-align:center; font-size:1rem; }


/* Entries to counter wiki.css code that is disrupting the ability of text to flow */
statsline {
text-align:center; margin-top:5px; margin-bottom:16px; }


#mainContent p {
.menuTitle {
clear: none;


  color:black;
  justify-content:space-between;
  font-size:1rem;
  position:sticky;
  top:0;
  background-color:#D9D9D4;
  text-align:center;
}
}


#contentSub {
.search-mobile {
display: block;
font-size: 84%;
line-height: 1.2em;
margin: 0 0 1.4em 1em;
color: #7D7D7D;
width: auto;
}


dd {
  display:none !important;
  margin-bottom: 0.5em;
}  
}  
.map-mobile {


/* Entries to counter wiki.css code for TOC */
  display:none;
#toc {
}
  width: auto;
.searchboxContainer {
}  


#toc ul {
display:flex;
  margin-top: 0px;
justify-content:center;
}  
align-items: center; /* removed from mobile */
font-size:1rem;
  margin-top:10px; /* removed from mobile */
}


#toc ul {
.tips {
margin-left: 1em;
}


/* images */
  text-align:right;  
div.floatright, table.floatright {
  font-size:1rem;
clear: right;
  float: right;
  position: relative;
margin: 0 0 .5em .5em;
border: 0;
}
}


div.floatleft, table.floatleft {
.buttonContainer {
float: left;
clear: left;
position: relative;
margin: 0 .5em .5em 0;
border: 0;
}


/* this can be used to switch off special external link styling */
plainlinks a {
background: none !important;
padding: 0 !important;
}
}


/* any element with id ending in '_button' */ [id$="_button"] {


/* prettytable class for skinning normal tables
  background-color:#e1ebee96;
*/
  position:absolute;
table.prettytable{
  border:1px solid black;
margin: 1em 1em 1em 0;
  text-align:center;
background: #f9f9f9;
  font-size:1rem;
border: 1px #aaa solid;
  padding:5px;
border-collapse: collapse;
  cursor:pointer;
color: black;
  border-radius:5px;
width: 100%;
  box-shadow:2px 2px 2px #888888;
  color:#004d99;
}
}
.prettytable th, .prettytable td {
 
border: 1px #aaa solid;
[id$="_button"]:hover {
padding: 0.2em;
 
  background-color:white;
  color:blue;
}
}
.prettytable th {
 
background: #f2f2f2;
all_countries_button:hover {
text-align: center;
  background-color:white;
  color:blue;
}
}
.prettytable caption {
 
font-weight: bold;
/* special extra rules for all_countries button */
 
all_countries_button {
  background-color:#0f5ba9;
  font-size:1.2rem;
  color:white;
  width:220px;
}
}


/* For linked citation numbers and document IDs, where
/* button placement */
  the number need not be shown on a screen or a handheld,
 
  but should be included in the printed version */
all_countries_button {top:22%; left:40%;}
@media screen, handheld {
africa_button {top:60%; left:49%;}
    .citation *.printonly {
asia_button {top:40%; left:73%;}
        display: none;
europe_button {top:39%; left: 52%;}
    }
middle_east_button {top:56%; left:57%;}
north_america_button {top:35%; left:22%;}
pacific_button {top:73%; left:85%;}/* Australia/Oceania button*/
south_america_button {top:70%; left:27%;}
/* Callout is the 'Guided Research' element */ .callout { position:absolute; top:15%; left:80%;
 
  width:160px;
  text-align:center;
  font-size:1rem;
  cursor:pointer;
  border-radius:5px;
  box-shadow:5px 5px 2px #888888;
  color:#004d99;
  background-color:white;
  padding:5px;
  border:1px solid gray;
}
}


/* Styling for url. Breaks long urls, etc., rather than overflowing box */
.calloutHeading { color:orange; font-size:1.3rem; font-family:museo; }
.url {
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;


        // Non standard for webkit
.guided_research_link {
    word-break: break-word;


    -webkit-hyphens: auto;
border:1px solid black;
    -moz-hyphens: auto;
text-align:center;
    hyphens: auto;
font-size:1rem;
cursor:pointer;
border-radius:5px;
box-shadow:2px 2px 2px #888888;
color:#004d99;
width:150px
}
}


/* Style for horizontal lists (separator following item).
/* ------------------menus -------------------*/
   IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
 
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
menu {
   @revision 5 (2014-02-24)
  position:absolute;
   @author [[User:Edokter]]
   top:125px;
*/
   left:0;
.hlist dl,
   width:210px;
.hlist ol,
   height:25vw;
.hlist ul {
  overflow-y:scroll;
    margin: 0;
  display:block;
    padding: 0;
  color:#aba8a0;
  background-color:white;
  border:1px solid black;
  z-index: 10;
}
}
/* Display list items inline */
 
.hlist dd,
.exit {
.hlist dt,
 
.hlist li {
  color: red;
    margin: 0;
  cursor: pointer;
    display: inline;
  float: right;
}
}
/* Display nested lists inline */
 
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.exit:hover {
.hlist ol dl, .hlist ol ol, .hlist ol ul,
 
.hlist ul dl, .hlist ul ol, .hlist ul ul {
  font-weight: bold;
    display: inline;
}
}
/* Generate interpuncts */
 
.hlist dt:after {
/** This hack is to eliminate shifting due to :hover */ span.exit::before {
    content: ": ";
 
  display: block;
  content: "foo";
  font-weight: bold;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
}
.hlist dd:after,
 
.hlist li:after {
menu > ul {
    content: " · ";
  list-style-type: none;
    font-weight: bold;
  padding: 0;
  margin-left: 20px;
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
menu ul li:hover {
.hlist li:last-child:after {
  background-color:#ecebea;
    content: none;
}
}
/* For IE8 */
 
.hlist dd.hlist-last-child:after,
/* There are two separate classes, but we don't differentiate their styles */ .countrymenu, .statemenu { padding:3px; top:0; background-color:#D9D9D4; color:black }
.hlist dt.hlist-last-child:after,
 
.hlist li.hlist-last-child:after {
/* color menu spans to look like a link */ .fakelink { color:#004d99; }
    content: none;
 
}
.menulink {
/* Add parentheses around nested lists */
 
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
  font-size: 1rem;
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
  cursor: pointer;
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
  margin-left:-1.2rem;
    content: " (";
    font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
    content: ") ";
    font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ") ";
    font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
    counter-reset: listitem;
}
.hlist ol > li {
    counter-increment: listitem;
}
.hlist ol > li:before {
    content: " " counter(listitem) " ";
    white-space: nowrap;
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
    content: " (" counter(listitem) " ";
}
/* Unbulleted lists */
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}
}


/* Header Footer Code */
.menulink::before { content: "> "; }
header {


    height: 83px;            /* change this to reflect the FamilySearch header height. */
.menulink:hover { background-color: #ecebea; }
    display: block;
}
header >.global-pri-nav-container > h1 {
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: 0;
}
div#mw-navigation div#mw-head {


    top: 83px;            /* change this to reflect the FamilySearch header height.  */
}
div#mw-navigation #pt-logout,
div#mw-navigation #pt-anonlogin,


div#mw-navigation #p-logo
/*--------------------------main page coding-----------------*/
{
    display: none;
}
#mw-navigation #mw-panel.collapsible-nav .portal.first.persistent {
    margin-top: 10px;
    margin-bottom: 30px;
}
#mw-navigation #mw-panel.collapsible-nav .portal.first.persistent h3 {
    display: block;
    font-size: 1em;
}
div#mw-navigation #mw-panel {


    top: 83px;            /* change this to reflect the FamilySearch header height.  */
/* make sure missing pages remain colored correctly after visiting */ a.new:visited, #p-personal a.new:visited {
  /* z-index: 1;*/
}
footer#global-engage-footer {
    background: #f6f6f6;
}
.templeMember #global-engage-header ul.main-nav li.nav-temple-link .templeInfoChecked .nav-item.temple {
    display: block !important;
}


#wrapper.inj-wrapper {
  color: #a55858 !important;
    min-height: inherit;
} /* change border on input forms to be 1pm, instead of 2px, and grey instead of black */ form input {
    width: 100%;
}


/***  This code fixes the searchbox in Firefox ***/
  /* border: 1px solid !important;
#bodySearchInputHomePageSearchBox {
   */
  height: 2.5em;
  border-color: darkgrey !important;
   padding: 0.1em;
  padding-left: 1em;
  padding-right: 1em;
}
}

Текущая версия от 12:54, 18 марта 2024

/* Temp fix START */
/* Need to incorporate this correctly into FsLookAndFeel */
.vector-menu-tabs-legacy ul {
    font-size: 18.8px;
}
/*
.fullFooter {
    float:left;
}
*/
#global-footer {
    all: unset;
    display: block;
    padding: 17px 24px 18px 8px;
    box-sizing: border-box;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    margin-left: 150px;
}
/* Temp fix END */


/* The following readjusts the popup box that appears when hovering over links in GuidedResearch. */ .tooltip .tooltiptext {

   left: unset;
}

.button-style {

 background-color: #7897BA;
 border:4px outset #B3D2F5;
 border-radius:.5rem;
 color: white !important;
 padding: .2rem 1.5rem;
 text-align: center;
 text-decoration: none;
 display: inline-block;
 font-weight:bold;
 font-family:Arial;
 position:absolute;
 font-size: 1.25rem;
 cursor: pointer;
} .button-style > a, .button-style > a.visited, .button-style > a.external:visited , .button-style > a:hover {

 color:white !important;
text-decoration:none !important; }


/* Set width of search box to 70%, so 'go' button stays inline. */

bodySearchInputHomePageSearchBox {
   width: 70%;
}

/* change the box around the code feature */ code {

   color: #000;
   background-color: #f9f9f9;
   border: 1px solid #ddd;
} pre, code, tt, kbd, samp, .mw-code {

   font-family: monospace,Courier;
}

/* make sure missing pages remain colored correctly after visiting */ a.new:visited, #p-personal a.new:visited {

   color: #a55858 !important;
}

/* change border on input forms to be 1pm, instead of 2px, and grey instead of black */ form input { /* border: 1px solid !important;*/

   border-color: darkgrey !important;
}

newHeading {
margin-top:0;}

/* Define spacing and # of columns based on screen size */ @media screen and (min-width: 1400px) {

.column-spacing-fullscreen{
  column-count: 6;
padding-right: 9% !important; }} @media screen and (min-width: 1200px) and (max-width: 1399px) {

.column-spacing-fullscreen{
  column-count: 5;
}} @media screen and (min-width: 900px) and (max-width:1199px) {

.column-spacing-fullscreen{
  column-count: 4;
}} @media screen and (min-width: 600px) and (max-width:899px) {

.column-spacing-fullscreen{
  column-count: 3;
}}
@media screen and (max-width:745px) {

.column-spacing-fullscreen{
  column-count: 2;
}} @media screen and (max-width:500px) {

.column-spacing-fullscreen{
  column-count: 1;
}}

/* Define spacing and # of columns based on screen size - however, /* this section assumes that only half the screen is available for /* the columns. Even though the screen size may be 1400px, the /* available space for the columns is half that, or 700px. */

@media screen and (min-width: 1400px) {

.column-spacing-halfscreen{
  column-count: 3;
}} @media screen and (min-width: 1200px) and (max-width: 1399px) {

.column-spacing-halfscreen{
  column-count: 2;
}} @media screen and (min-width: 900px) and (max-width:1199px) {

.column-spacing-halfscreen{
  column-count: 1;
}} .column-spacing-halfscreen li, .column-spacing-fullscreen li {padding-right:5px;}


/* landing page */ .fakelink {

   color:#004d99;
   display:block;
}

/*--------------------------main page coding-----------------*/ /* ------------------new CSS -------------------*/

/* ------------------containers / elements -------------------*/

map {
   position: relative; 
   width: 100%; 
   padding-top: 40px;
   margin-left: 0;
}

.sectionTitle { text-align:center; margin-bottom:5px; font-size:1.2rem; margin-top:-10px; }

.subTitle { text-align:center; font-size:1rem; }

statsline {
text-align:center; margin-top:5px; margin-bottom:16px; }

.menuTitle {

   color:black;
   justify-content:space-between;
   font-size:1rem;
   position:sticky;
   top:0;
   background-color:#D9D9D4;
   text-align:center;
}

.search-mobile {

 display:none !important;
 } 
.map-mobile {

 display:none;
 }
.searchboxContainer {

 display:flex; 
 justify-content:center;
 align-items: center; /* removed from mobile */
 font-size:1rem;
 margin-top:10px; /* removed from mobile */
}

.tips {

 text-align:right; 
 font-size:1rem;
}

.buttonContainer {

}

/* any element with id ending in '_button' */ [id$="_button"] {

   background-color:#e1ebee96;
   position:absolute;
   border:1px solid black;
   text-align:center;
   font-size:1rem;
   padding:5px;
   cursor:pointer;
   border-radius:5px;
   box-shadow:2px 2px 2px #888888;
   color:#004d99;
}

[id$="_button"]:hover {

   background-color:white;
   color:blue;
}

all_countries_button:hover {
   background-color:white;
   color:blue;
}

/* special extra rules for all_countries button */

all_countries_button {
   background-color:#0f5ba9;
   font-size:1.2rem;
   color:white;
   width:220px;
}

/* button placement */

all_countries_button {top:22%; left:40%;}
africa_button {top:60%; left:49%;}
asia_button {top:40%; left:73%;}
europe_button {top:39%; left: 52%;}
middle_east_button {top:56%; left:57%;}
north_america_button {top:35%; left:22%;}
pacific_button {top:73%; left:85%;}/* Australia/Oceania button*/
south_america_button {top:70%; left:27%;}
/* Callout is the 'Guided Research' element */ .callout { position:absolute; top:15%; left:80%;

   width:160px;
   text-align:center;
   font-size:1rem;
   cursor:pointer;
   border-radius:5px;
   box-shadow:5px 5px 2px #888888;
   color:#004d99;
   background-color:white;
   padding:5px;
   border:1px solid gray;
}

.calloutHeading { color:orange; font-size:1.3rem; font-family:museo; }

.guided_research_link {

 border:1px solid black;
 text-align:center;
 font-size:1rem;
 cursor:pointer;
 border-radius:5px;
 box-shadow:2px 2px 2px #888888;
 color:#004d99;
 width:150px
}

/* ------------------menus -------------------*/

menu {
   position:absolute;
   top:125px;
   left:0;
   width:210px;
   height:25vw;
   overflow-y:scroll;
   display:block;
   color:#aba8a0;
   background-color:white;
   border:1px solid black;
   z-index: 10;
}

.exit {

   color: red;
   cursor: pointer;
   float: right;
}

.exit:hover {

   font-weight: bold;
}

/** This hack is to eliminate shifting due to :hover */ span.exit::before {

   display: block;
   content: "foo";
   font-weight: bold;
   height: 0;
   overflow: hidden;
   visibility: hidden;
}

menu > ul {
   list-style-type: none;
   padding: 0;
   margin-left: 20px;
}

menu ul li:hover {
   background-color:#ecebea;
}

/* There are two separate classes, but we don't differentiate their styles */ .countrymenu, .statemenu { padding:3px; top:0; background-color:#D9D9D4; color:black }

/* color menu spans to look like a link */ .fakelink { color:#004d99; }

.menulink {

   font-size: 1rem;
   cursor: pointer;
   margin-left:-1.2rem;
}

.menulink::before { content: "> "; }

.menulink:hover { background-color: #ecebea; }


/*--------------------------main page coding-----------------*/

/* make sure missing pages remain colored correctly after visiting */ a.new:visited, #p-personal a.new:visited {

   color: #a55858 !important;
} /* change border on input forms to be 1pm, instead of 2px, and grey instead of black */ form input {

  /* border: 1px solid !important;
  */
   border-color: darkgrey !important;
}