Difference between revisions of "MediaWiki:Common.css"

From Scottish AI Playbook WIKI
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
.row {
.row {
clear:both;
clear:both;
Line 52: Line 51:
.mainpage-box.mainpage-box-green {
.mainpage-box.mainpage-box-green {
     border-color: #bbfa7c;
     border-color: #bbfa7c;
}
.mainpage-box.mainpage-box-dgreen {
    border-color: #339966;
}
.mainpage-box.mainpage-box-red {
    border-color: #990000;
}
}


.mainpage-box.mainpage-box-blue {
.mainpage-box.mainpage-box-blue {
     border-color: #abd5f5;
     border-color: #abd5f5;
}
.mainpage-box.mainpage-box-dblue {
    border-color: #006699;
}
}


Line 62: Line 73:
     font-size: 125%;
     font-size: 125%;
     font-weight: bold;
     font-weight: bold;
}
.mainpage-box.mainpage-box-dblue .mainpage-box-title {
    background-color: #006699;
    color:#fff;
}
}


Line 70: Line 86:
.mainpage-box.mainpage-box-green .mainpage-box-title {
.mainpage-box.mainpage-box-green .mainpage-box-title {
     background-color: #bbfa7c;
     background-color: #bbfa7c;
}
.mainpage-box.mainpage-box-dgreen .mainpage-box-title {
    background-color: #339966;
    color:#fff;
}
.mainpage-box.mainpage-box-red .mainpage-box-title {
    background-color: #990000;
    color:#fff;
}
}


Line 96: Line 122:
     padding: 0.5em;
     padding: 0.5em;
     font-weight: bold;
     font-weight: bold;
}
.tab-menu {
  width: 100%;
}
.tab-menu ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-betwen;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tab-menu ul li {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.3em;
  border-right: solid 1px #a2a9b1;
  border-top: 0;
  background-color: #069;
  color: white;
  flex: 1;
}
.tab-menu ul li:last-child {
  border-right: none;
}
.tab-menu ul li a {
  color: #fff !important;
  text-decoration: none;
}
.tab-menu ul li a:hover {
  text-decoration: underline;
}
.tab-menu ul li.active {
  background-color: #d7e8f9;
}
.tab-menu ul li.active a {
  color: #000000 !important;
  font-weight: bold;
}
}


Line 149: Line 219:
#footer-places-disclaimer {
#footer-places-disclaimer {
display:none !important;
display:none !important;
}
.rowFlex {
  display: flex;
}
.pageIntro {
  padding: 0 30px;
}
.pageIntro h1 {
  font-size: 200%;
  margin-bottom: 0;
  color: #069;
  border-bottom: none;
  padding-bottom: 0.4em;
  padding-top: 0.4em;
  font-family: "Century Gothic", Verdana, sans-serif;
  font-weight: bold;
}
.pageIntro span {
  display: block;
  font-size: 125%;
}
.pageIntroLink {
  font-size: 125%;
  padding: 0 30px;
  flex: 1;
}
.pageIntroLink ul {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.pageIntroLink ul li {
  font-weight: bold;
}
.pageIntroLink ul li a {
  text-decoration: none;
}
.pageIntroLink ul li a:hover {
  text-decoration: underline;
}
.titleGrayBg {
  background: #eaecf0;
  border-bottom: 2px solid #b32424;
  font-weight: bold;
  padding: 0.5em 2vw;
  vertical-align: middle;
  margin-bottom: 0.5em;
}
.boxContent {
  padding: 0 30px;
}
:focus-visible {
    outline: 4px solid #fffc00!important;
}
}

Latest revision as of 11:48, 8 December 2022

/* CSS placed here will be applied to all skins */
.row {
	clear:both;
}
.rowFlex {
	display: flex;
	gap: 0 20px;
	margin-bottom: 20px;
}

.col {
	flex: 1;
}

.box {
	margin: 0;
    min-width: 210px;
    border: 1px solid #CCC;
    padding: 0 20px 20px;
}

.box h3 {
	font-size: 1.2em;
	padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding: 20px 0;
    margin: 0 0 20px;
	font-weight: bold;
	border-bottom: 1px solid #CCC;
}

.box .mw-headline {
	display: flex;
	gap: 0 8px;
	align-items: center;
}

.mainpage-box {
	    border: 1px solid #CCC;
}

.mainpage-box:not(:first-child) {
    margin-top: 1.5em;
}

.mainpage-box.mainpage-box-orange {
    border-color: #fad67d;
}

.mainpage-box.mainpage-box-green {
    border-color: #bbfa7c;
}

.mainpage-box.mainpage-box-dgreen {
    border-color: #339966;
}

.mainpage-box.mainpage-box-red {
    border-color: #990000;
}

.mainpage-box.mainpage-box-blue {
    border-color: #abd5f5;
}

.mainpage-box.mainpage-box-dblue {
    border-color: #006699;
}

.mainpage-box .mainpage-box-title {
    padding: 0.2em 0.5em;
    font-size: 125%;
    font-weight: bold;
}

.mainpage-box.mainpage-box-dblue .mainpage-box-title {
    background-color: #006699;
    color:#fff;
}

.mainpage-box.mainpage-box-orange .mainpage-box-title {
    background-color: #fad67d;
}

.mainpage-box.mainpage-box-green .mainpage-box-title {
    background-color: #bbfa7c;
}

.mainpage-box.mainpage-box-dgreen .mainpage-box-title {
    background-color: #339966;
    color:#fff;
}

.mainpage-box.mainpage-box-red .mainpage-box-title {
    background-color: #990000;
    color:#fff;
}


.mainpage-box.mainpage-box-blue .mainpage-box-title {
    background-color: #abd5f5;
}

.mainpage-box .mainpage-box-content {
    padding: 0.4em 1em 0.3em;
}

.mainpage-actions {
    white-space: nowrap;
    text-align: right;
}

.mainpage-actions ul {
    margin: 0;
    padding: 0;
}

.mainpage-actions li {
    display: inline-block;
    margin: 0;
    padding: 0.5em;
    font-weight: bold;
}

.tab-menu {
  width: 100%;
}
.tab-menu ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-betwen;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tab-menu ul li {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.3em;
  border-right: solid 1px #a2a9b1;
  border-top: 0;
  background-color: #069;
  color: white;
  flex: 1;
}
.tab-menu ul li:last-child {
  border-right: none;
}
.tab-menu ul li a {
  color: #fff !important;
  text-decoration: none;
}
.tab-menu ul li a:hover {
  text-decoration: underline;
}
.tab-menu ul li.active {
  background-color: #d7e8f9;
}
.tab-menu ul li.active a {
  color: #000000 !important;
  font-weight: bold;
}

#mw-panel #n-Create-a-Page {
	margin-bottom:20px !important;
}

#mw-panel #n-Create-a-Page a{
	display:block;
	text-align: center;
	font-weight: 600;
	color: #fff;
    background-color: #36c;
    padding: 10px;
    border-radius: 2px;
}

#mw-panel #n-Create-a-Page a:hover{
	text-decoration:none;
	opacity:0.85;
}

.button a{
	display:inline-block;
	text-align: center;
	font-weight: 600;
	color: #fff;
    background-color: #36c;
    padding: 10px 15px;
    border-radius: 2px;
}

.button a:hover{
	text-decoration:none;
	opacity:0.85;
}

#mw-head .vector-menu-content-list #pt-createaccount {
	padding-top:3px;
}


#mw-head .vector-menu-content-list #pt-createaccount a {
	padding: 8px 12px;
    background: #3366cc;
    color: #fff;
    font-weight: 600;
    border-radius: 2px;
    display: inline-block;
}

#footer-places-about,
#footer-places-disclaimer {
	display:none !important;
}

.rowFlex {
  display: flex;
}

.pageIntro {
  padding: 0 30px;
}
.pageIntro h1 {
  font-size: 200%;
  margin-bottom: 0;
  color: #069;
  border-bottom: none;
  padding-bottom: 0.4em;
  padding-top: 0.4em;
  font-family: "Century Gothic", Verdana, sans-serif;
  font-weight: bold;
}
.pageIntro span {
  display: block;
  font-size: 125%;
}

.pageIntroLink {
  font-size: 125%;
  padding: 0 30px;
  flex: 1;
}
.pageIntroLink ul {
  list-style: none;
   margin: 0;
   display: flex;
   flex-direction: column;
   justify-content: center;
   height: 100%;
}
.pageIntroLink ul li {
  font-weight: bold;
}
.pageIntroLink ul li a {
  text-decoration: none;
}
.pageIntroLink ul li a:hover {
  text-decoration: underline;
}

.titleGrayBg {
  background: #eaecf0;
  border-bottom: 2px solid #b32424;
  font-weight: bold;
  padding: 0.5em 2vw;
  vertical-align: middle;
  margin-bottom: 0.5em;
}

.boxContent {
  padding: 0 30px;
}
:focus-visible {
    outline: 4px solid #fffc00!important;
}