Difference between revisions of "MediaWiki:Common.css"

From LINKS Community Center
Jump to: navigation, search
 
(9 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
.filtered {
 
.filtered {
  display: flex;
+
    display: flex;
  flex-direction: column;
+
    flex-direction: column;
}
+
  }
 
+
 
.filtered .filtered-views {
+
  .filtered .filtered-views {
  flex: auto;
+
    flex: auto;
  margin: 1em 0;
+
    margin: 1em 0;
}
+
  }
 
+
 
.filtered .filtered-filters {
+
  .filtered .filtered-filters {
/*  width: 300px;
+
  /*  width: 300px;
  margin: 1em 0 0 1em;*/
+
    margin: 1em 0 0 1em;*/
  margin:  0;
+
    margin:  0;
}
+
  }
 
+
 
.filtered-filters,
+
  .filtered-filters,
.filtered-value,
+
  .filtered-value,
.filtered-value-scrollable {
+
  .filtered-value-scrollable {
    overflow: auto;
+
      overflow: auto;
}
+
  }
 
+
 
/* Styling for filtered results format end */
+
  /* Styling for filtered results format end */
 
+
 
 
+
 
/* Width for discourse topics list on front-page */
+
  /* Width for discourse topics list on front-page */
d-topics-list iframe {
+
  d-topics-list iframe {
  width: 100% !important;
+
    width: 100% !important;
  margin-left: auto;
+
    margin-left: auto;
  margin-right: auto;
+
    margin-right: auto;
}
+
  }
 
+
 
/* NEW HOMEPAGE CSS START */
+
  /* Hide extra info in search results */
:root {
+
  .mw-search-result-data { display: none !important; }
  --links-grey: #415262;
+
  /* Hide section editing */
  --links-orange: #ee7802;
+
  .mw-editsection { display: none !important; }
  --links-blue: #1980c3;
+
 
  --links-cyan: #34b8b8;
+
  /* NEW HOMEPAGE CSS START */
}
+
  :root {
 
+
    --links-grey: #415262;
#links-homepage {
+
    --links-orange: rgb(238, 120, 2);
  color: var(--links-grey);
+
    --links-blue: #1980c3;
}
+
    --links-cyan: #34b8b8;
 
+
  }
.links-tile {
+
 
  display: flex;
+
  #links-homepage {
  padding: 1em;
+
    color: var(--links-grey);
  flex-direction: column;
+
  }
  justify-content: center;
+
 
  align-items: center;
+
  .links-tile {
  background-color: var(--links-grey);
+
    display: flex;
  color: rgba(255, 255, 255, .8) !important;
+
    padding: 1em;
  height: 150px;
+
    flex-direction: column;
  text-decoration: none !important;
+
    justify-content: center;
  transition: all 400ms;
+
    align-items: center;
}
+
    background-color: var(--links-grey);
 
+
    color: rgba(255, 255, 255, .8) !important;
.links-tile svg {
+
    height: 150px;
  fill: rgba(255, 255, 255, .8);
+
    text-decoration: none !important;
  transition: all 400ms;
+
    transition: all 400ms;
  height: 70px;
+
  }
}
+
 
 
+
  .links-tile svg {
.links-tile:hover {
+
    fill: rgba(255, 255, 255, .8);
  background-color: var(--links-orange);
+
    transition: all 400ms;
  color: var(--links-grey) !important;
+
    height: 70px;
  transform: scale(1.05);
+
  }
}
+
 
 
+
  .links-tile:hover {
.links-tile:hover svg {
+
    background-color: var(--links-orange);
  fill: var(--links-grey);
+
    color: var(--links-grey) !important;
}
+
    transform: scale(1.05);
 
+
  }
.links-tile-title {
+
 
  font-variant: small-caps;
+
  .links-tile:hover svg {
  text-align: center;
+
    fill: var(--links-grey);
}
+
  }
 
+
 
.links-divider {
+
  .links-tile-title {
  height: 4px;
+
    font-variant: small-caps;
  background-color: var(--links-blue);
+
    text-align: center;
  background-image: linear-gradient(to right, var(--links-orange), var(--links-cyan), var(--links-blue));
+
  }
}
+
 
 
+
  .links-divider {
.links-button {
+
    height: 4px;
  display: inline-block;
+
    background-color: var(--links-blue);
  padding: 1em;
+
    background-image: linear-gradient(to right, var(--links-orange), var(--links-cyan), var(--links-blue));
  text-align: center;
+
  }
  font-variant: small-caps;
+
 
  background-color: var(--links-cyan);
+
  .links-button {
  color: rgba(255, 255, 255, .8) !important;
+
    display: inline-block;
  transition: all 400ms;
+
    padding: .5em 1em;
  text-decoration: none !important;
+
    text-align: center;
}
+
    font-variant: small-caps;
 
+
    border-radius: 7px;
.links-button:hover {
+
    background-color: var(--links-blue);
  background-color: var(--links-orange);
+
    color: rgba(255, 255, 255, .8) !important;
  color: var(--links-grey);
+
    transition: all 400ms;
}
+
    text-decoration: none !important;
 
+
    box-shadow: rgba(25, 128, 195, .3) 3px 3px 4px 0px;
.recent-change {
+
  }
  border-bottom: 2px solid #e9e9e9;
+
 
  padding: .5rem;
+
  .links-button:hover {
}
+
    background-color: var(--links-orange);
 
+
    color: var(--links-grey);
.change-title, .change-user {
+
  }
     color: #222;
+
 
}
+
  .recent-change {
 
+
    border-bottom: 2px solid #e9e9e9;
.change-time {
+
    padding: .5rem;
    color: #919191;
+
     color: #212529;
    padding-left: 5px;
+
  }
}
+
 
a
+
  .change-time {
#forum-topics iframe .topics-list a {
+
      color: #919191;
   font-size: 40px !important;
+
      padding-left: 5px;
}
+
  }
/* NEW HOMEPAGE CSS END */
+
   /* NEW HOMEPAGE CSS END */

Latest revision as of 17:09, 9 October 2023

/* CSS placed here will be applied to all skins */

/* Styling for filtered results format start */

.filtered {
    display: flex;
    flex-direction: column;
  }
  
  .filtered .filtered-views {
    flex: auto;
    margin: 1em 0;
  }
  
  .filtered .filtered-filters {
  /*  width: 300px;
    margin: 1em 0 0 1em;*/
    margin:  0;
  }
  
  .filtered-filters,
  .filtered-value,
  .filtered-value-scrollable {
      overflow: auto;
  }
  
  /* Styling for filtered results format end */
  
  
  /* Width for discourse topics list on front-page */
  d-topics-list iframe {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Hide extra info in search results */
  .mw-search-result-data { display: none !important; }
  /* Hide section editing */
  .mw-editsection { display: none !important; }
  
  /* NEW HOMEPAGE CSS START */
  :root {
    --links-grey: #415262;
    --links-orange: rgb(238, 120, 2);
    --links-blue: #1980c3;
    --links-cyan: #34b8b8;
  }
  
  #links-homepage {
    color: var(--links-grey);
  }
  
  .links-tile {
    display: flex;
    padding: 1em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--links-grey);
    color: rgba(255, 255, 255, .8) !important;
    height: 150px;
    text-decoration: none !important;
    transition: all 400ms;
  }
  
  .links-tile svg {
    fill: rgba(255, 255, 255, .8);
    transition: all 400ms;
    height: 70px;
  }
  
  .links-tile:hover {
    background-color: var(--links-orange);
    color: var(--links-grey) !important;
    transform: scale(1.05);
  }
  
  .links-tile:hover svg {
    fill: var(--links-grey);
  }
  
  .links-tile-title {
    font-variant: small-caps;
    text-align: center;
  }
  
  .links-divider {
    height: 4px;
    background-color: var(--links-blue);
    background-image: linear-gradient(to right, var(--links-orange), var(--links-cyan), var(--links-blue));
  }
  
  .links-button {
    display: inline-block;
    padding: .5em 1em;
    text-align: center;
    font-variant: small-caps;
    border-radius: 7px;
    background-color: var(--links-blue);
    color: rgba(255, 255, 255, .8) !important;
    transition: all 400ms;
    text-decoration: none !important;
    box-shadow: rgba(25, 128, 195, .3) 3px 3px 4px 0px;
  }
  
  .links-button:hover {
    background-color: var(--links-orange);
    color: var(--links-grey);
  }
  
  .recent-change {
    border-bottom: 2px solid #e9e9e9;
    padding: .5rem;
    color: #212529;
  }
  
  .change-time {
      color: #919191;
      padding-left: 5px;
  }
  /* NEW HOMEPAGE CSS END */