Skip to content

Instantly share code, notes, and snippets.

@dustinleer
Last active December 14, 2021 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinleer/1b6e0e252713b455912d505bff69f815 to your computer and use it in GitHub Desktop.
Save dustinleer/1b6e0e252713b455912d505bff69f815 to your computer and use it in GitHub Desktop.
Overcast FM Web Darkmode
html, input, select, textarea, .pure-g [class *= "pure-u"] {
font-family: concourse_t3, Helvetica, sans-serif;
}
body {
background: #1c1a1a;
color: #fff;
font-size: 18px;
max-width: 700px;
margin: 0 auto;
padding: 16px;
}
body#episode_card {
max-width: 100%;
padding: 0;
margin: 0;
}
#episode_card_right {
position: relative;
height: 20vw;
}
h1, h2, h3, h4, h5, h6, .title { font-family: concourse_t4, Helvetica, sans-serif; font-weight: normal; }
h2 { margin-top: 1.5em; }
a, .linkcolor, .extendedepisodecell.usernewepisode .title {
color: rgba(252, 126, 15, 1);
color: #FC7E0F;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .title a { text-decoration: none; }
code {
font-size: 0.75em;
background-color: #eee;
padding: 2px;
}
.tmreg { color: #ccc; }
.alert { text-align: center !important; }
.nav a {
text-decoration: none;
display: inline-block;
margin: 0 1em 0 0;
}
.left { float: left !important; }
.right { float: right !important; }
.clear { clear: both !important; }
.inlineblock { display: inline-block !important; }
.margintopneg1 { margin-top: -0.75em !important; }
.margintop0 { margin-top: 0 !important; }
.margintop05 { margin-top: 0.5em !important; }
.margintop1 { margin-top: 1em !important; }
.marginbottom0 { margin-bottom: 0 !important; }
.marginbottom05 { margin-bottom: 0.5em !important; }
.marginbottom1 { margin-bottom: 1em !important; }
.nav a.right {
margin: 0 0 0 1em;
}
.nav {
padding: 1em 0 0.5em 0;
margin-bottom: 2em;
border-bottom: 1px solid #262626;
}
.footer {
text-align: center;
padding-top: 55px;
padding-bottom: 44px;
max-width: 500px;
margin: 0 auto;
}
.trademark_footer {
margin-top: 1em;
font-size: 0.75em;
}
.footer, .lighttext { color: #777; }
.footer a { color: #aaa; text-decoration: underline; }
.controller_admin {
min-height: calc(100% - 16px);
border: 8px solid #f46;
}
.admin_link, .controller_admin a, .controller_admin .ocbutton, .controller_admin .ocborderedbutton, .controller_admin .ocsegmentedbutton { color: #f46; border-color: #f46; } .controller_admin .ocborderedbutton:active { background-color: #f46; }
.admin_log {
font-size: 11px;
max-height: 200px;
overflow: auto;
word-break: normal !important;
word-wrap: normal !important;
white-space: pre !important;
}
.smallcaps, .navlink, .ocbutton, .ocborderedbutton, .ocsegmentedbutton, .caption2 {
font-family: concourse_c3, Helvetica, sans-serif;
text-transform: lowercase;
}
.caption2 {
color: #808080;
font-size: 0.85em;
font-weight: normal;
}
.big {
font-size: 2em;
}
.singleline {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.topmargin1 {
margin-top: 1em;
}
.hiddenbutton {
position: absolute;
top: -1px;
left: -1px;
background-color: transparent;
border: 0;
width: 1px;
height: 1px;
overflow: hidden;
}
.ocbutton, .ocborderedbutton, .ocsegmentedbutton {
display: inline-block;
color: rgba(252, 126, 15, 1);
border: 0;
background-color: transparent;
text-decoration: none;
-webkit-tap-highlight-color: transparent;
-webkit-user-select: none;
-webkit-touch-callout: none;
}
.ocborderedbutton, .ocsegmentedbutton {
display: inline-block;
border: 1px solid rgba(252, 126, 15, 1);
border-radius: 8px;
padding: 7px 16px 8px 16px;
}
.ocbutton:focus, .ocborderedbutton:focus { outline: 0; }
.ocborderedbutton:active, .ocsegmentedbuttonselected {
background-color: rgba(252, 126, 15, 1);
color: #fff;
}
.ocsegmentedcontrol { }
.ocsegmentedbutton {
border-radius: 0;
margin: 0 0 0 -1px;
text-align: center;
font-size: 15px;
padding: 3px 8px 4px 8px;
}
.ocsegmentedbutton:first-child { border-radius: 8px 0 0 8px; margin-left: 0; }
.ocsegmentedbutton:last-child { border-radius: 0 8px 8px 0; }
.ocsegmentedbuttonoftwo { width: calc(50% - 18px); }
.ocsegmentedbuttonofthree { width: calc(33.33% - 18px); }
.ocsegmentedbuttonoffour { width: calc(25% - 18px); }
.ocsegmentedbuttonofnine { width: calc(11.11% - 18px); }
.destructivebutton, .controller_admin .destructivebutton, .alert, .errors { color: #86110B; border-color: #86110B; background: #b59090; } .destructivebutton:active, .controller_admin .destructivebutton:active { background-color: #86110B; color: #fff; }
.purchasebutton, .controller_admin .purchasebutton { color: #0CC322; border-color: #0CC322; } .purchasebutton:active, .controller_admin .purchasebutton:active { background-color: #0CC322; }
.alternatebutton, .altcolor { color: #0B8D99; border-color: #0B8D99; } .purchasebutton:active { background-color: #0B8D99; color: #fff; }
.vcenter_parent, .feedcell, .episodecell {
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
transform-style: preserve-3d;
}
.vcenter, .feedcell .titlestack, .episodecell .titlestack {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
overflow: hidden;
max-height: 100%;
}
.feedcell, .episodecell {
display: block;
height: 80px;
position: relative;
color: rgba(252, 126, 15, 1);
color: #fc7e0f;
text-decoration: none;
transition: all 0.3s ease-in-out;
}
.feedcell:hover,
.episodecell:hover,
.extendedepisodecell:hover {
/* background-color: rgba(252, 126, 15, 0.5); */
background-color: rgb(88, 88, 88);
}
.extendedepisodecell {
display: block;
color: rgba(252, 126, 15, 1);
text-decoration: none;
padding: 1em;
margin: 0 -1em;
}
.art {
width: calc(100% - 2px);
border: 1px solid #3e3e3e;
background-color: #1c1a1a;
}
.feedcell .art, .episodecell .art {
position: absolute;
width: 80px;
height: 80px;
top: 0;
left: 0;
}
.feedcell .cellcontent, .episodecell .cellcontent {
position: absolute;
left: 96px;
top: 0;
width: calc(100% - 96px);
height: 100%;
}
.extendedepisodecell .title {
}
.centertext {
text-align: center;
color: #bdbdbd;
}
.titlestack div {
margin: 0.075em 0;
}
.fullart_container {
position: relative;
width: 100%;
}
.fullart_container:before {
content: "";
display: block;
padding-top: 100%;
}
.fullart {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
#audioplayer {
width: 100%;
margin: 1em 0 2em 0;
}
.search_container {
position: relative;
}
input.podcastsearchbox {
width: 160px;
font-size: 0.75em !important;
padding: 0.25em 1em !important;
}
#autocomplete_container {
position: absolute;
right: 0;
width: 350px;
}
#autocomplete_results {
display: none;
position: relative;
z-index: 999;
background-color: rgba(252, 126, 15, 1);
color: #fff;
border-radius: 10px;
padding: 20px;
border: 2px solid #ccc;
width: calc(100% - 40px);
}
@media (max-width: 480px) { #autocomplete_container { width: 90vw; } }
@media (max-width: 420px) {
body { padding-top: 0; }
.nav { margin-top: 0; margin-bottom: 1em; padding-top: 0.5em; padding-bottom: 0.25em; }
.notnarrow { display: none; }
.podcastsearchbox { width: 140px; }
}
@media (min-width: 421px) {
.narrow { display: none; }
}
#tinyhomeimg { width: 20px; height: 20px; }
a.autocomplete_result {
position: relative;
display: block;
text-decoration: none;
height: 84px;
color: #a4a4a4;
}
.autocomplete_result img {
width: 64px;
height: 64px;
border: 2px solid #eee;
position: absolute;
left: 0;
top: 10px;
}
.autocomplete_result div {
margin-left: 74px;
}
.autocomplete_result h4 {
color: #f4f4f4;
margin: 0;
}
.ocfeedlistinput .autocomplete_result { float: left; width: 90%; }
.ocfeedlistinput .ocbutton { float: left; padding-top: 1em; }
.ocfeedlistinput .autocomplete_result h4 { color: #222; }
.ocfeedlistinput .wildcard_result { background-color: #ffd; }
.ocfeedlistinput .excluded_result { background-color: #fdd; }
#delete_all_uploads_form {
width: 100%;
}
.uploading_file {
margin-top: 1em;
margin-bottom: 1em;
}
.uploading_file progress {
visibility: hidden;
width: 100%;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
border: none;
color: rgba(252, 126, 15, 1);
display: block;
}
.uploading_file progress::-moz-progress-bar { background-color: rgba(252, 126, 15, 1); }
.uploading_file progress::-webkit-progress-bar { background-color: #eee; }
.uploading_file progress::-webkit-progress-value { background-color: rgba(252, 126, 15, 1); }
progress.upload_complete {
color: #0CC322;
}
progress.upload_complete::-moz-progress-bar { background-color: #0CC322; }
progress.upload_complete::-webkit-progress-bar { background-color: #eee; }
progress.upload_complete::-webkit-progress-value { background-color: #0CC322; }
/* Frontpage */
.featurepromobox h2 { text-align: center; }
.featurepromobox div { padding: 0 1em 1em 1em; }
.logobox img.logo { max-width: 100%; }
.logobox h1 { margin: -12px auto; }
.appstorebadge { width: 135px; height: 40px; }
/* App pages */
.appscreenshot { max-width: 80%; }
/* Playback screen controls and SVG */
.svgcentertext { text-anchor: middle; dominant-baseline: middle; }
#save_episode_button, #delete_episode_button { display: none; }
.existing_episode_for_user #delete_episode_button { display: inline-block; }
.new_episode_for_user #save_episode_button { display: inline-block; }
/* aspect-ratio trick */
#playcontrols_container {
position: relative;
width: 100%;
margin: 2em 0;
}
#playcontrols_container:before {
content: "";
display: block;
padding-top: 15%; /* aspect ratio of playcontrols */
}
#playcontrols { position: absolute; top: 0; left: 0; bottom: 0; right: 0; }
#episode_card_control_container { width: 100%; height: 100%; overflow: hidden; }
body#episode_card #playcontrols_container { margin: 3% 0 0 10%; width: 80%; }
#seekbackbutton, #seekforwardbutton, #playpausebutton { display: block; width: 15%; position: absolute; top: 0; }
#seekbackbutton { left: 12%; }
#seekforwardbutton { right: 12%; }
#playpausebutton { left: 42.5%; }
#seekbackbutton svg, #seekforwardbutton svg, #playpausebutton svg { position: absolute; display: block; max-width: 100%; font-family: concourse_t4; }
svg#playpausebutton_pauseicon { display: none; }
#progressbar { margin-top: 1em; margin-bottom: 0; }
body#episode_card #progressbar { position: absolute; bottom: 1px; width: 100%; }
#progressbar #progressslider { width: 100%; clear: both; }
#progressbar #timeelapsed, #progressbar #timeremaining { width: 15%; display: inline-block; font-size: 0.75em; }
#progressbar #timeremaining { float: right; text-align: right; }
#progressbar #timeelapsed { float: left; }
body#episode_card #progressbar #timeelapsed { padding-left: 0.25em; }
#progressslidercontainer { position: relative; height: 19px; clear: both; overflow: hidden; }
#progresssliderbackground, #progressslider { position: absolute; left: 0; top: 0; width: 100%; height: 20px; }
#progresssliderbackground { -webkit-appearance: none; -moz-appearance: none; appearance: none; height: 20px; width: 100%; z-index: 1; background-color: #3e3e3e; border: none; }
#progresssliderbackground::-webkit-progress-value { border: none; background: rgba(252, 126, 15, 0.5); }
#progresssliderbackground::-moz-progress-bar { border: none; background: rgba(252, 126, 15, 0.5); width: calc(100% - 2px); }
#progresssliderbackground::-webkit-progress-bar { background-color: transparent; }
#progressslider {
-webkit-appearance: none;
cursor: pointer;
z-index: 2;
height: 20px;
border: 0;
background-color: transparent;
}
#progressslider:focus { outline: none; }
#progressslider::-webkit-slider-runnable-track { width: 100%; height: 20px; background-color: transparent; }
#progressslider::-webkit-slider-thumb { -webkit-appearance: none; border: none; margin-top: 1px; height: 18px; width: 8px; background: rgba(252, 126, 15, 1); }
#progressslider::-moz-range-track { width: calc(100% - 2px); height: 20px; background-color: transparent; }
#progressslider::-moz-range-thumb { border: none; height: 20px; width: 8px; background: rgba(252, 126, 15, 1); border-radius: 0; }
@-moz-document url-prefix() {
/* Firefox-only hacks */
#progressbar { margin-bottom: 2px; }
#progresssliderbackground, #progressslider { width: calc(100% - 2px); }
}
.progresssliderloadedrange {
position: absolute;
width: 0;
height: 100%;
background-color: rgba(252, 126, 15, 1);
opacity: 0.15;
}
@media (max-width: 400px) {
body#episode_card #progressbar #timeelapsed, body#episode_card #progressbar #timeremaining { font-size: 0.667em; }
body#episode_card #progressbar #timeelapsed, body#episode_card #progressbar #timeremaining { font-size: 0.667em; }
body#episode_card #seekbackbutton { left: 16%; }
body#episode_card #seekforwardbutton { right: 16%; }
body#episode_card #playpausebutton { left: 42.5%; }
}
#speedcontrolcontainer { width: 100%; }
#speedcontrol { width: 100%; }
#speedcontrolcontainer .speedlabel { display: inline-block; width: 11.11%; text-align: center; }
#speedcontrolcontainer { position: relative; height: 28px; clear: both; }
#speedcontrolbackground, #speedcontrol { position: absolute; left: 0; top: 0; width: 100%; height: 28px; }
#speedcontrolbackground { z-index: 2; pointer-events: none; margin-top: 2px; }
#speedcontrol {
-webkit-appearance: none;
z-index: 1;
cursor: pointer;
height: 28px;
border: 0;
background-color: transparent;
}
#speedcontrol:focus { outline: none; }
#speedcontrol::-webkit-slider-runnable-track { width: 100%; height: 20px; background-color: rgb(210, 226, 226); border-radius: 9px; }
#speedcontrol::-webkit-slider-thumb { -webkit-appearance: none; border: none; height: 20px; width: 11%; border-radius: 14px; background: rgba(252, 126, 15, 1); }
#speedcontrol::-moz-range-track { width: 100%; height: 20px; background-color: rgb(210, 226, 226); border-radius: 9px; border: none; }
#speedcontrol::-moz-range-thumb { border: none; height: 20px; width: 11%; border-radius: 14px; background: rgba(252, 126, 15, 1); }
table.adrates {
background-color: #f8f8f8;
border-collapse: collapse;
font-size: 0.9em;
width: 100%;
}
table.adrates td, table.adrates th {
padding: 0.5em 0.5em;
margin: 0;
border: 1px solid #e0e0e0;
vertical-align: top;
}
table.adrates th {
background-color: #e8e8e8;
border-color: #e0e0e0;
vertical-align: bottom;
}
table.adrates td.altrowcolor {
background-color: #f0f0f0;
}
table.adrates td.slots, table.adrates td.price { width: 60px; text-align: center; }
table.adrates .nodata { font-size: 0.75em; vertical-align: middle; color: #ccc; }
table.adrates .light, table.adrates .nodata { color: #999; }
table.adrates th.estimated, table.adrates td.estimated { text-align: center; }
table.adrates th.estimated { background-color: #888; width: 20%; color: #fff; }
table.adrates td.estimated { width: 20%; }
.estimatefootnote { color: #f77; }
a.estimatefootnote { text-decoration: none; color: #f99; }
.estimatefootnote, a.estimatefootnote { font-size: 2.0em; line-height: 0.5em; vertical-align: bottom; }
#apple-pay-button, #stripe-checkout-button {
width: 49%;
height: 44px;
vertical-align: top;
border-width: 0;
border-radius: 8px;
}
#apple-pay-button {
display: none;
background-color: black;
background-image: -webkit-named-image(apple-pay-logo-white);
background-size: 100% 100%;
background-origin: content-box;
background-repeat: no-repeat;
padding: 9px 0;
margin-right: 1%;
}
#stripe-checkout-button {
background-color: rgba(252, 126, 15, 1);
color: #fff;
}
.adtext {
font-size: 14px;
color: rgba(252, 126, 15, 1);
max-height: 36px;
overflow: hidden;
text-overflow: ellipsis;
}
a.adtitle {
color: #2f5a64;
text-decoration: none;
font-size: 16px;
white-space: nowrap;
overflow: hidden;
}
table.adpreview {
border-collapse: collapse;
border: 1px solid #d0d0d0;
width: 320px;
margin: 0.25em auto;
}
table.adpreview tr {
height: 60px;
}
table.adpreview td {
vertical-align: center;
background-color: #f5f9fa;
}
table.adpreview td img {
width: 60px;
height: 60px;
}
table.adpreview .contentcell { padding: 0 0 0 4px; overflow: hidden; text-overflow: ellipsis; max-height: 60px; max-width: 255px; }
table.adpreview .contentcellnoimage { max-width: 315px; }
table.adpreview td.imagecell { font-size: 0; line-height: 0; padding: 0; vertical-align: top; width: 60px; }
table.adpreview .badge { display: inline-block; font-size: 0.8em; width: 24px; text-align: center; background-color: #2f5a64; color: #fff; border-radius: 5px; padding-bottom: 1px; vertical-align: 5%; }
table.boughtads {
background-color: #f5f9fa;
border-collapse: collapse;
font-size: 0.9em;
width: 100%;
}
table.boughtads td, table.boughtads th {
text-align: left;
padding: 0.25em 0.5em;
margin: 0;
border: 1px solid #f0f0f0;
vertical-align: top;
}
table.boughtads th {
background-color: #2b91ab;
border-color: #206c80;
color: #fff;
}
table.boughtads td .adpreview td { padding: 0; }
table.boughtads td.category { width: 80px; }
table.boughtads td.preview { padding: 0; width: 320px; max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
table.boughtads table.adpreview, table.boughtads table.adpreview td { margin: 0; border: 0 !important; }
table.boughtads td.numvalue, table.boughtads td.expirationdate {
font-size: 0.85em;
}
.adpreview_imgbox {
}
.adpreview_imgbox img { display: block; border: 1px solid #ccc; max-width: 95%; border-radius: 8px; }
.externalbadges { text-align: center; }
.externalbadges img { width: 200px; margin: 0 0.67%; }
.externalbadges_oc {
margin-top: 2em;
margin-bottom: 0.5%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment