MediaWiki:Vector.css

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* All CSS here will be loaded for users of the Vector skin */

#portal {
    max-width: 1440px;
    margin: auto;
}

.portal-about p {
	margin-bottom: 4rem;
}

.portal-about p {
    font-size: 1.5rem;
    font-weight: lighter;
    line-height: 2rem;
}

.portal-pills {
	background: #25336c;
	color: #fff;
	padding: 1rem 2rem 1.5rem;
	border-bottom-left-radius: 1rem;
	border-bottom-right-radius: 1rem;
}

.info-block .portal-pills {
	padding: 1rem 1rem 1.5rem;
	color: #575f7e;
}

.portal-pills a {
	color: #fff !important;
}

.portal-pills a:hover {
	color: #ffed00 !important;
}

.portal-quick-search-label {
    background: #25336c;
    color: #fff;
    padding: 1rem 2rem 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.5rem;
    border-top-right-radius: 1rem;
}

.page-Main_Page .portal-quick-search {
	margin-top: -46px;
}

.portal-tabs ul li {
    padding: .75rem 2rem;
    color: #fff;
    font-weight: bold;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    margin: 0 0.25rem 0 0 !important;
    height: 46px;
}

.portal-tabs ul {
    margin: 0;
    list-style: none;
    display: flex;
}

.portal-tabs ul li.active {
    background: #25336c;
}
.portal-tabs ul li.active a {
	color: #fff !important;
}
.portal-tabs ul li:not(.active) {
    background: #575f7e;
    color: #ddd;
}
.portal-tabs ul li:not(.active) a {
	color: #ddd !important;
}
.portal-tabs ul li:not(.active):hover {
    background: #384165;
    color: #eee;
}
.portal-tabs ul li:not(.active):hover a {
	color: #eee !important;
}
.portal-title {
    font-weight: 900;
    font-size: 2.75rem;
    padding: 1rem 0 2.5rem;
    line-height: 2.5rem;
}

.portal-welcome {
    font-weight: bold;
    color: #444;
    font-size: 1.15rem;
    margin-bottom: -.5rem;
    margin-top: 2.5rem;
}

.portal-top-nav {
    display: flex;
    justify-content: space-between;
}

.portal-links {
    line-height: 1.25rem;
}

.portal-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
    font-weight: bold;
}

.portal-links ul li {
    padding: 0;
}

.portal-links ul li:not(:last-of-type):after {
    content: "|";
    font-weight: 300;
    color: #777;
    margin: 0 .5rem;
}

.portal-pills ul {
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.portal-pills ul li {
    padding: 0.75rem 1.25rem;
    margin-right: 0.5rem;
    background: rgba(255,255,255,.15);
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.portal-pills ul li:hover {
    background: rgba(255,255,255,.3);
    color: #ffed00;
}

.portal-content {
    display: flex;
    margin: 3rem 0 2rem 0;
    flex-wrap: wrap;
    gap: 16px;
}

.portal-card, .portal-card-simple {
    display: flex;
    flex: 1 0 calc(100% / 3 - 16px);
    background: #fff;
    min-height: 50px;
    border-radius: 1rem;
    flex-direction: column;
}

.portal-card {
	box-shadow: 0 3px 4px rgb(0 0 0 / 15%);
    border: 0px solid rgba(0,0,0,.2);	
}

.portal-card-header {
    background: #25336c;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 0.5rem 1rem;
    color: #fff;
    font-weight: bold;
    font-size: 1.35rem;
}

.portal-card-img {
    max-height: 200px;
    overflow: hidden;
    border-bottom: 12px solid #25336c;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}
.portal-card-img img {
	border-top-left-radius: 1rem !important;
	border-top-right-radius: 1rem !important;
	margin-top: -15%;
}
.portal-card-img.with-header, .portal-card-img.with-header img {
	border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.portal-card-body {
	padding: 1rem 1.75rem;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 0 auto;
}
.img-fluid {
	width: 100%;
	height: auto;
}

.portal-card-body-tagline {
    color: #666;
    font-size: 1.0375rem;
}

.portal-card-body-title {
    font-size: 1.45rem;
    font-weight: bold;
    line-height: 1.5rem;
    padding: 0 0 1rem 0;
}

.portal-card-body-title a {
	color: #25336c !important;
}

.portal-card-footer {
    background: #c9c9c9;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 1rem 2rem;
    font-size: .75rem;
}

.cta a {
	display: block;
    font-weight: bold;
    width: 100%;
    text-align: center;
    padding: 0.5rem;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 1rem 0;
}

cta.plainlinks a.external {
	background: inherit;
	padding: inherit;
}

.cta-primary a {
	color: #fff !important;
    background: #575f7e;
}

.info-block.portal-card {
	background: #bda5bd;
}

.info-block.right .portal-tabs ul {
    margin-left: auto;
    margin-right: -4px;
}

.info-block .portal-tabs ul li:first-of-type,
.info-block .portal-pills {
    background: #846884;
}

.info-block .portal-tabs ul li {
	font-size: 1.35rem;
}
.info-block .portal-pills {
	flex: 1;
	justify-content: space-between;
    display: flex;
    flex-direction: column;
}
.info-block .portal-pills > p {
	margin: 1.5rem auto;
}
.info-block .info-section {
	padding: .25rem 1rem;
	margin-top: .25rem;
	margin-left: 1.25rem;
	background: #ebebeb;
	color: #222;
	border-radius: 4px;
}

.portal-pills-canvas {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-section a,
.info-section a:hover {
    color: #0645ad !important;	
}

.info-section:not(:last-of-type) {
    margin-bottom: 0.75rem;
}

.info-section.important {
    padding-left: 2rem;
    align-items: center;
    display: flex;
}

.info-section.important div { 
	padding: 0 0 0 1rem;
}

.info-section.important:before {
    content: '!';
    display: flex;
    height: 40px;
    width: 40px;
    margin-left: -60px;
    background: #ffffff;
    position: absolute;
    border-radius: 50%;
    border: 8px solid #846884;
    outline: 5px solid #fff;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #575f7e;
    font-weight: bold;
}

.info-footer {
	padding-left: 1.25rem;
	color: #ddd;
}

.event-list-day {
    font-size: 2rem;
    font-weight: bold;
    color: #846884;
}

.event-list-month {
    color: #846884;
}

.event-list-date {
    flex: 0 0 75px;
    align-items: center;
    display: flex;
    flex-direction: column;
    line-height: 1.6rem;
    padding-top: .15rem;
}

.event-list-wrapper {
    display: flex;
    margin-bottom: 1rem;
}

.event-list-wrapper:first-of-type {
    margin-top: 2rem;	
}

.event-list-item-description {
    font-size: .85rem;
    line-height: 1.1rem;
    color: #444;
}

.event-list-item-title {
    font-size: 1.15rem;
    line-height: 1.5rem;
    font-weight: bold;
    list-style: none;
}

.portal-tile.portal-card {
	flex-direction: row !important;
/*	flex: 0 0 calc(100% / 3 - 16px); */
	background: #fafafa;
}
.portal-tile.portal-card.primary {
	background: #25336c;
}	
.portal-tile.portal-card.info {
	background: #846884;
}
.portal-tile.portal-card.info, .portal-tile.portal-card.primary {
	color: #eee;
}
.portal-tile.portal-card.dark {
	color: #ddd;
	background: #222;
}
.portal-tile.portal-card.dark a, 
.portal-tile.portal-card.info a, 
.portal-tile.portal-card.primary a {
	color: #fff !important;
}
.portal-tile-image {
    height: 125px;
    overflow: hidden;
    border-bottom-left-radius: 1rem;
    border-top-left-radius: 1rem;
}

.img-tiled {
	margin-left: -20%;	
}

.portal-tile-title {
    font-weight: bold;
    padding: 0.25rem 1rem;
    font-size: 1.15rem;
}

.portal-tile-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.portal-tile-text {
    display: flex;
    flex-direction: column;
    align-items: end;
    padding: .5rem 1rem;
    list-style: none;
    justify-content: space-between;
    height: 100%;
}

.maps-map {
    margin: 2rem 0;
    border-radius: 1rem;
    box-shadow: 0 3px 4px rgb(0 0 0 / 15%);
    border: 10px solid #575f7e;
}

.portal-geo {
	background-size: 100%;
    background-repeat: no-repeat;
    flex: 0 0 200px;
    height: 200px;
    width: 200px;
    border-radius: 1rem !important;
    box-shadow: 0 3px 4px rgb(0 0 0 / 15%);
    display: flex;
    flex-direction: column-reverse;
    justify-content: end;
    align-items: center;
    background-position: center;
    transition: all .25s linear;
}
.portal-geo-label, .portal-geo-badge {
    background: #25336c;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: bold;	
}

.portal-geo-label {
    font-size: 1.25rem;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 0.45rem 0;
}

.portal-geo-badge span {
    background: #846384;
    padding: 0.25rem 1rem;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.75rem;
}

.portal-geo:hover {
	background-size: 110%;
	transition: all .25s linear;
}
.portal-geo:hover .portal-geo-label,
.portal-geo:hover .portal-geo-badge {
    background: #25336c;
    
}

a + .portal-geo, a:hover + .portal-geo, a:focus + .portal-geo, .portal-content > p > a {
	text-decoration: none !important;
	text-decoration-color: transparent !important;
}

@media ( max-width: 1105px ) {
	.portal-top-nav {
		flex-direction: column;
		flex-wrap: wrap;
	}
	.portal-card, .portal-card-simple {
	    flex: 1 0 calc(100% / 2 - 16px);
	}
	.portal-tile.portal-card {
/**		flex: 0 0 calc(100% / 2 - 16px); **/
	}
	.portal-card-body {
		padding: 1rem 1.5rem;
	}
	.portal-card-img {
		height: 135px;
	}
	.portal-pills {
		padding: 1rem 1rem 1.5rem 1.5rem;
	}
}

@media ( max-width: 768px ) {
	.portal-content {
		margin-top: 0;
	}
	.portal-card, .portal-card-simple, .portal-tile.portal-card {
	    flex: 1 0 calc(100%);
	    box-shadow: none;
	}
	.portal-quick-search .portal-tabs ul {
        flex-direction: column-reverse;
	}
	.portal-tabs ul li {
		margin: 0;
	}
	.portal-tabs ul li:not(:last-of-type), 
	.portal-quick-search-label {
	    border-radius: 0 !important;
	}
	.portal-top-nav {
    	flex-direction: column;
    	flex-wrap: wrap;
	}
	.portal-pills ul li {
    	padding: 0.5rem 1rem;
	}
	.portal-card-body {
		padding: 1rem .75rem;
	}
	.portal-card-img {
		max-height: unset;
		height: unset;
	}
	.portal-card-img img {
		margin-top: 0;
	}
	.info-block.portal-card {
	    margin: 2rem 0 1rem;
	    flex: 1 0 calc(100% - 28px);
	}
}

@media ( max-width: 768px ) and ( min-width: 480px ) {
	.portal-tabs ul li.active {
		align-self: end;
		z-index: 1;
		border-top-left-radius: 1rem !important;
	}
	.portal-quick-search .portal-tabs ul li.active {
		margin-top: -47px !important;
	}
	.portal-quick-search .portal-tabs ul li {
    	margin-right: 0 !important;
	}
}

@media ( max-width: 576px ) {
	.portal-pills {
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.portal-pills ul li {
    	width: 100%;
    	margin-bottom: .25rem;
    	margin-right: 0;
	}
	.portal-quick-search-label {
		display: none;
	}
	.portal-card-body {
		padding: 1rem .5rem;
	}
}

@media ( max-width: 480px ) {
	.portal-pills {
		padding-top: 0 !important;
	}
	.portal-tabs ul li {
		margin-right: 0 !important;
	}
}

.portal-sections, .portal-sidebar-right {
  flex: 1 0 100%;
}

.portal-section {
	background: #f5f5f5;
    padding: 1rem 2rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 4px rgb(0 0 0 / 15%);
}

.portal-section-title {
    font-size: 2rem;
    font-weight: bold;
}

.portal-section-title .gotop {
    background: #bda5bd;
    display: flex;
    float: right;
    margin-left: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: -1rem;
    color: #663d66;
    font-size: 20px;
}

.portal-section-title .gotop a {
	color: #663d66 !important;
}
	
@media ( min-width: 768px ) {
.portal-sections {
  flex: 1 0 calc(50% - 16px);
}
.portal-sidebar-right {
  flex: 1 0 calc(50% - 16px);
}	
}
@media ( min-width: 920px ) {
.portal-sections {
  flex: 1 0 calc(65% - 16px);
}
.portal-sidebar-right {
  flex: 1 0 calc(35% - 16px);
}	
}
@media ( min-width: 1105px ) {
.portal-sections {
  flex: 1 0 calc(70% - 16px);
}
.portal-sidebar-right {
  flex: 1 0 calc(30% - 16px);
}
}
@media ( min-width: 1280px ) {
.portal-sections {
  flex: 1 0 calc(75% - 16px);
}
.portal-sidebar-right {
  flex: 1 0 calc(25% - 16px);
}
}
.portal-sidebar-right .info-block,
.portal-sidebar-right .portal-card {
	margin-bottom: 1rem;
}
.img-rounded-corners {
	border-radius: 1rem;
}

.page-Wayne_County_Ohio_Online_Resource_Center_Main_Page .portal-quick-search {
	position: absolute;
	margin-top: -196px;
}
@media ( max-width: 864px ) {
.page-Wayne_County_Ohio_Online_Resource_Center_Main_Page .portal-quick-search {
	position: inherit;
	margin-top: 2rem;
}	
}

.stress {
    background: #402a58;
    color: #eee;
    font-weight: bold;
    padding: 0.25rem 1rem;
    line-height: 1.25rem;
    border-radius: 4px;
    text-align: center;
}
.cta.plainlinks a.external {
    padding: .25rem !important; 
    color: #fff !important;
    background: #575f7e !important;
}
#pfForm {
	padding: 1rem;
}
#pfForm .mw-parser-output {
  background: #eaecf0;
  padding: 1rem;
  border: 1px solid #c8ccd1;
}
#pfForm label.radioButtonItem {
	display: flex;
	flex-direction: row;
	align-items: center;
}
#pfForm div:not(.editOptions) input:not([class^="select2"]) {
  min-height: 38px;
  border-radius: 3px;
  border-width: 1px;
  border-style: inset;
  padding: 0 10px;
}
#pfForm [type="radio"] {
	min-height: 24px !important;
}
#pfForm .createboxInput, #pfForm .mandatoryField, #pfForm textarea {
  border: 1px inset #BBB;
  padding: 4px 10px;
}
#pfForm [type="button"]:not([name^="wp"]) {
  padding: 0 1rem;
  font-weight: bold;
  border: 1px solid #aaa !important;
  cursor: pointer;
}
#pfForm div:not(.editOptions) label {
  display: flex;
  align-items: center;
}
#pfForm .createboxInput:not([size="4"]) {
  width: 100%;
  max-width: 600px !important;
  min-width: unset !important;
}
input::placeholder, textarea::placeholder {
  font-size: .9rem;
  font-family: sans;
}
.ui-datepicker-trigger {
	min-height: 38px;
}
.editOptions [type="submit"] {
  background: #25336c;
  color: #fff;
  border-radius: 3px !important;
}
#pfForm .select2-container {
	margin-bottom: 6px;
	width: 100%;
}
#pfForm .select2-dropdown, #pfForm .select2-container--open .select2-dropdown, #pfForm .select2-container .select2-selection--multiple {
  max-width: 600px !important;
}
#pfForm .select2-container--default .select2-selection--multiple .select2-selection__choice {
  border-radius: 2px;
  margin: 2px 5px 2px 0 !important;
}
#pfForm div:not(.editOptions) br, #pfForm > br {
	display: none;
}
#pfForm .editButtons {
  margin-top: 1rem;
}
#pfForm .pfTokens {
	display: flex !important;
	flex-wrap: wrap;
	margin-bottom: 0;
}
#pfForm .multipleTemplateInstance {
  background-color: #dcdee1;
}
#pfForm .multipleTemplateAdder {
  box-shadow: 0px 2px 0px 0px rgba(0,0,0,.2);
}
#pfForm .dateInput {
  display: flex;
  gap: 6px;
}
#pfForm .monthInput {
	min-height: 38px;
}
#pfForm select {
  padding: 6px 8px !important;
  background: white;
  min-height: 40px;
}
#pfForm .pfTreeInput {
	min-width: 600px !important;
	background: #fff;
	border: 1px inset #ddd;
	border-radius: 4px;
}
#pfForm .sfs-input {
  min-height: 38px;
  border: 1px inset #ddd;
  border-radius: 3px;
  -moz-appearance: menulist;
  -webkit-appearance: menulist;
}
#pfForm span.select-sfs {
	margin-bottom: 4px;
}
#pfForm span.select-sfs::after {
	display: none !important;
}
#pfForm .type-of-industry {
	padding: 10px !important;
}
#pfForm a.addAboveButton, #pfForm a.removeButton {
	background-color: 555 !important;
}

/** INFOBOX **/
.wcpl-infobox {
  display: flex;
  flex-direction: column;
  margin: 0 0 2rem 2rem;
  min-width: 320px;
  float: right;
  border-radius: 28px;
  background: #f6f6f6;
  box-shadow: 0 3px 4px rgb(0 0 0 / 15%);
  border: 0px solid rgba(0,0,0,.2);
  width:100%;
}
@media ( min-width: 768px ){
	.wcpl-infobox {
		width: 320px;
	}
}
.wcpl-infobox-section-header {
  background: rgba(0,0,0,.14);
  padding: 6px 1rem;
  font-weight: bold;
  font-size: 1.1rem;
}
.wcpl-infobox-section-body {
  padding: .5rem 1rem 1rem;
}
.wcpl-infobox-section-body > div > dl {
  flex: 0 0 80px;
  font-style: italic;
  font-size: .75rem;
  margin-top: .25rem;
}
.wcpl-infobox-section-body > div > dl > dt {
	font-weight: normal !important;
}
.wcpl-infobox-image {
  width: 100%;
  height: auto;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}
.wcpl-infobox-image-caption {
	text-align: center;
	font-size: .85rem;
	padding: .5rem;
}
.wcpl-infobox li small {
  line-height: 1rem !important;
  display: block;
}
.wcpl-infobox .smwtticon.info {
	filter: grayscale(1);
}
.wcpl-infobox .icon-edit {
	background: url(https://mywikis-wiki-media.s3.us-central-1.wasabisys.com/wcpl/Form-icon-edit.png);
	background-size: contain;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	display: block;
	filter: hue-rotate(200deg);
}
.wcpl-infobox .maps-map {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: 0;
}