Skip to content

VOCM Newfoundland's news site but now dark mode! by colinpeddle

Screenshot of VOCM Newfoundland's news site but now dark mode!

Details

Authorcolinpeddle

LicenseNo License

Categoryvocm.com

Created

Updated

Size7.8 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A cleaner and easier on the eyes version of VOCM

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         VOCM Newfoundland's news site but now dark mode!
@version      20240102.13.58
@namespace    userstyles.world/user/colinpeddle
@description  A cleaner and easier on the eyes version of VOCM
@author       colinpeddle
@license      No License
==/UserStyle== */

@-moz-document url-prefix("https://vocm.com/") {
html {
	height: 100vh;
	position: relative;
	width: 100vw;
	overflow: hidden;
}
html::before {
	content: "";
	/*background-image: url(http://colinpeddle.com/wp-content/themes/cpzerozero/images/demo.jpg); */
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 0;
	background-repeat: no-repeat;
	background-size: cover;
}
html::after {
	content: "";
    background: linear-gradient(30deg, #131313, #141414, #181818, #1c1c1c, #202020, #252525, #282828, #292929);
	height: 100vh;
	width: 100vw;
	z-index: 1;
	left: 0;
	top: 0;
}
body {
	background-color: #151515;
	font-family: system-ui, sans-serif, monospace !important;
	z-index: 2;
	position: relative;
}
html, body {
	color: #cdcdcd;
}
header {
	background: transparent;
	border: none !important;
	box-shadow: none;
	width: 1247px;
	margin: 20px auto 40px auto;
}
#stickyHeader.sticky {
	border: none;
	box-shadow: 0 4px 3px -3px #181818;
}
html a, body a {
	color: #8b8bc4;
}
.hc_row.above-ribbon {
    display: none;
}
#ribbon .socastPlayerBtn {
	border-radius: 0;
}
/* https://media.socastsrm.com/uploads/station/768/cmsSiteLogo.png?r=55758 */
ul.nav {
	list-style: none;
	margin: 0px;
	display: flex;
	gap: 14px;
}
#ribbon, .main-nav-style {
    border-radius: 0;
}
#ribbon, .main-nav-style {
	background: none !important;
}
#navHomeBtn {
	border-radius: 0;
}
#navHomeBtn > svg {
    display: none;
}
#navHomeBtn {
	width: 80px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}
#navHomeBtn::before {
  content: "";
  background-image: url(https://media.socastsrm.com/uploads/station/768/cmsSiteLogo.png?r=55758);
  position: absolute;
  width: 100%;
  height: 73%;
  background-size: 103%;
  background-position: center 4px;
  background-repeat: no-repeat;
  top: 4px;
  overflow: hidden;
}
ul.nav.primary li:first-of-type {
	margin: 0 20px 0 10px;
}
.main-nav-style, .main-nav-style a, ul.nav.secondary a {
	text-shadow: none;
	font-weight: lighter !important;
	text-transform: capitalize !important;
	width: 100%;
}
#ribbon, #ribbon a, ul.nav.secondary a {
	color: #d5d5d5;
	font-size: 14px;
	font-weight: normal !important;
	letter-spacing: 0.5px;
}
#theContent-wrapper, .sc_theContent-wrapper {
	background-color: #FFF0;
	box-shadow: none !important;
}
#homeMiddleCol1, #theSidebar {
    display: none;
}
#theContent, #theSidebar, .sc_theContent, .sc_theSidebar {
	padding: 0;
	padding-top: 0;
}
#theContent.hasSidebar, .sc_theContent.hasSidebar {
	max-width: 100%;
}
.nccSkin2 {
    border: none;
    padding: 0;
}
.category_link_color {
	color: #a2a2a2 !important;
	text-transform: uppercase;
	font-weight: bold !important;
	letter-spacing: -0.4px;
	font-size: 14px;
    border: none !important;
}

.headline-ticker {
	padding: 20px;
	background: linear-gradient(352deg, rgb(50, 50, 50) 0%, rgb(42, 42, 42) 57%);
	border: 1px solid #434343;
	box-shadow: 0 4px 3px -3px #181818;
	border-radius: 5px;
}
.headline-ticker-category {
	background: none !important;
	float: none !important;
}
.headline-ticker-headline {
	background: none !important;
}
div.headline-ticker-headline a {
	color: #fff !important;
	font-weight: lighter;
	font-size: 21px;
}
.wpb_wrapper {
	padding: 10px;
}
@media (min-width: 768px) {
  @supports (display:grid) {
    .vc_col-sm-8 {
      grid-column-end: span 12;
    }
  }
}
.blogNewsWidget:first-of-type .sc-list-img img {
	width: 100%;
	opacity: 1;
    position: relative;
}
.blogNewsWidget:first-of-type a.sc-list-lg-link {
	position: relative;
}
.sc-list .sc-list-item .sc-list-img {
	margin: 0 !important;
}
.blogNewsWidget .posts.items-wrapper {
	position: relative;
}
.blogNewsWidget:first-of-type .sc-list-img::after {
	content: "";
	background: linear-gradient(90deg, rgba(25, 25, 25, 0.78) 8%, rgba(79, 79, 79, 0.56) 100%);
	position: absolute;
	inset: 0 0 0 0;
	height: 100%;
}
.blogNewsWidget:first-of-type .sc-list-title {
	position: absolute;
	height: 100%;
	display: flex;
	align-items: center;
	color: #fff !important;
	padding: 30px;
	font-size: 46px;
	font-weight: lighter;
	width: 50%;
	line-height: 1.2;
	background: #ffffff47;
	margin: 0 !important;
}
.blogNewsWidget:first-of-type .sc-list-content .text {
	display: none;
}
.sc-divider, .sc-image, .sc-image-border, .sc-image-container {
	border: 1px solid #434343;
	box-shadow: 0 4px 3px -3px #181818;
	padding: 0 !important;
    border-radius: 5px;
}
.sc-item-detail {
	display: block !important;
}
.blogNewsWidget:first-of-type .sc-list-content .sc-time {
	display: block;
	position: absolute;
	bottom: 7px;
	right: 50%;
	font-size: 16px;
	color: #fbd302;
	text-transform: uppercase;
	background: #3f3f3f78;
	padding: 4px 10px;
	border-radius: 1px;
}
.kk-masonry-panel[data-col="2"], .kk-masonry-column[data-col="3"] {
	display: none;
}
.vc_row.wpb_row:nth-of-type(4), .vc_row.wpb_row:nth-of-type(5), .vc_row.wpb_row:nth-of-type(6), .vc_row.wpb_row:nth-of-type(7) {
	display: none;
}
.vc_row.wpb_row:nth-of-type(8) h2.sc-heading-widget {
	display: none;
}
.vc_row.wpb_row:nth-of-type(n+9) {
  display: block;
}
#theFooter, #cookie-notice {
	background-color: transparent;
}
.vc_btn3.vc_btn3-shape-rounded {
	width: fit-content;
	background: rgba(26, 26, 26, 0) !important;
	color: #fdd902 !important;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 16px !important;
	border: 1px solid #fdd902 !important;
	border-radius: 30px;
	letter-spacing: 0px;
	margin-top: 30px;
}
.vc_btn3.vc_btn3-shape-rounded:hover {
	border-color: #fff !important;
	transition: 0.3s;
	color: #fff !important;
}
.vc_btn3-container.buttonNoBottomMargin.vc_btn3-center {
	display: flex;
	justify-content: flex-end;
}
.posts.items-wrapper.kk-masonry {
	width: 100vw;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}
.sc-compressed .kk-masonry-column + .kk-masonry-column, .sc-list .kk-masonry-column + .kk-masonry-column {
    margin-left: 0;
}
.kk-masonry-column {
	display: flex;
	justify-content: center;
	width: 100% !important;
	gap: 40px;
}
.kk-masonry-panel {
	background: #212121c7;
	/* padding: 10px; */
	border-radius: 5px;
    box-shadow: inset 0px 0px 3px #bbbbbb30;
	border: 1px solid #5c5c5cba;
	position: relative;
	overflow: hidden;
	min-height: 200px;
    transition: all 0.2s ease-in;
}
.kk-masonry-panel:hover {
	box-shadow: inset 0px 4px 3px #bbbbbb30;
    transition: all 0.2s ease-in;
}
/* .kk-masonry-column[data-col="1"], .kk-masonry-column[data-col="2"], .kk-masonry-column[data-col="3"], .kk-masonry-column[data-col="4"] {
    display: none;
}*/
.kk-masonry-panel .sc-list-img {
	position: absolute;
	top: 0;
	left: 0px;
	height: 200px;
	overflow: hidden;
	display: flex;
	width: 100% !important;
	align-items: center;
}
.kk-masonry-panel .sc-list-title.primary_color.sc-list-display-link {
	background: linear-gradient(0deg, rgba(116, 116, 116, 0.28) 50%, rgba(8,185,111,0) 100%);
	color: #cdcdcd !important;
	font-weight: normal;
	font-size: 23px;
	height: 200px;
	top: 0;
	left: 0;
	padding: 10px 0 20px 10px;
	position: absolute;
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	width: 100%;
	/* font-weight: bold; */
}
img.sc-image {
	width: 100%;
	position: absolute;
	z-index: -1;
	top: -20%;
}
.kk-masonry-panel .sc-list-content {
	bottom: 0;
	position: absolute;
	height: 150px;
	left: 0;
	padding: 10px;
	display: none;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}
.sc-heading-widget {
	margin: 50px 0 20px 0;
	text-transform: uppercase;
	font-weight: lighter;
}
}

Reviews

No reviews yet.