Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aweymo-ui committed Oct 16, 2023
2 parents e265d5c + 5b0a976 commit 1329abb
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _includes/transcript/player/mp3.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="player" class=""><audio id="audio-player" class="w-100 iframe-player" autostart="false" autoplay="false" controls>
<div id="player" class=""><audio id="audio-player" class="w-100 iframe-player" controls>
<source src="{{page.object_location}}" type="audio/mp3">
Your browser does not support the audio element.
</audio>
Expand Down
5 changes: 1 addition & 4 deletions _sass/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@



.featured {
background-color: #dbf1fd !important;
color: black !important;
}


134 changes: 134 additions & 0 deletions _sass/_ohd.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
/*
SCSS from the Oral History as Data project
*/


.grey {
color: grey;
}

.grey-small {
color: grey;
height: 3px;
line-height: 2px;
overflow: hidden;
}

.line.grey-small {

.timestamp,
.linenum {
display: none;
}

.words {
display: inline;
font-size: 3px;
padding: 0px 5px;
}
}

.iframe-wrapper {
position: fixed;
right: 10px;
height: 200px;
width: 370px;
transition: all 1s linear;

.meta {
display: none;
}

@media screen and (max-width: 576px) {
bottom: 0px;
left: 0px;
height: auto;
width: 300px;

.meta {
display: none;
}

.vizdiv, #colorViz, .title {
display: none;
}
}
}

.anchored-highlight p.words {
background: aquamarine;
}

.featured {

float: none;
clear: both;
}

.linenum {
font-size: 11px;
float: left;
width: auto;
}

.words {
@media screen and (max-width: 576px) {
min-width: 250px;
}
}

.filteroptions,
.searchinput {
font-size: 24px;

@media screen and (max-width: 576px) {
font-size: 18px;
}
}

.toggle_int:hover {
color: pink
}

.toggle_int small {
font-size: 12px;
}

.darklink:hover{
text-decoration: underline;
}

.featured {
background-color: #dbf1fd !important;
color: black !important;
}

.btn-outline-dark:hover {
background-color: #212529 !important;
}


@media print {

html,
body {
height: 100%;
margin: 0 !important;
padding: 0 !important;
overflow: visible;
display: block;
font-size: 1.2rem;
}

.transcript-content {
height: auto;
min-height: 5000px;
overflow: visible;
display: block;
}

}

html {
scroll-padding-top: 130px; /* height of sticky header */
}
2 changes: 1 addition & 1 deletion assets/css/cb.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ $theme-colors: map-merge(
@import "theme-colors", "theme-utilities";
{% endif %}

@import "base", "pages", "custom";
@import "base", "pages", "ohd", "custom";

0 comments on commit 1329abb

Please sign in to comment.