gutenbergsite/gutenberg/style.css

769 lines
12 KiB
CSS

html,
body {
background-color:#FFFFFF;/* #FFFCD7;*/
color:#000000; /*#A01F13;*/
font-family: "Open Sans", Helvetica, Arial, sans-serif;
font-size: 1em;
line-height: 1.5em;
letter-spacing: 0.01mm;
margin: 0;
max-width: 100vw;
padding: 0;
width: 100%;
height:100%;
}
html {
overflow-y: scroll;
}
/* links */
a:link {
color: currentColor;
text-decoration: none;
}
a:visited {
color: currentColor;
}
a:hover {
color: currentColor;
text-decoration: underline;
}
a:active {
color: currentColor;
}
.no-hover:hover {
text-decoration: none;
}
/* text selection
::-moz-selection {
background-color: #0a0a0a;
color: #ffffff;
}
::selection {
background-color: #0a0a0a;
color: #ffffff;
}*/
.no-select {
user-select: none;
}
/* animations */
.fadein {
animation: fadein 1s;
}
@-moz-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fadeinup {
animation: fadeInUp 1s both ease;
}
@-moz-keyframes fadeInUp {
from {
opacity: 0;
transform: translate3d(0, 40px, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
@-webkit-keyframes fadeInUp {
from {
opacity: 0;
transform: translate3d(0, 40px, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translate3d(0, 50px, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
/* ==================================================
container */
.container {
max-width: 100%;
min-height:75vh;
position: relative;
}
@media screen and (orientation: landscape) {
.container {
min-height: 75vh;
padding: 10vh 5vw;
}
}
@media screen and (orientation: portrait) {
.container {
min-height: 75vh;
padding: 10vh 5vw;
}
}
/*.content h1 {
margin-top:40px;
}*/
.desc {
color: #808080;
font-size: 20px;
font-weight: 200;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
/* ==================================================
library */
.library .latest {
overflow: auto;
white-space: nowrap;
width: 100%;
}
.library .latest::-webkit-scrollbar {
height: 3px;
}
.library .latest::-webkit-scrollbar-track {
background-color: #cccccc
}
.library .latest::-webkit-scrollbar-thumb {
background-color: #333333
}
.library .latest a {
display: inline-block;
margin: 0;
padding: 10px
}
library .latest h1{
/*color: #999999;*/
/*font-size: 30px;
font-weight: bold;*/
color:#A01F13;
margin-top: 15px;
margin-bottom: 15px;
width: 100%;
border-bottom: 2px solid #A01F13;
}
.library .latest a:hover{
background-color: transparent;
}
.bookshelves {
margin: 0 auto;
padding: 0;
width: 100%;
}
.bookshelves ul {
column-count: 3;
column-gap: 0px;
cursor: default;
width: 100%;
/*height: 620px;*/
}
.bookshelves > ul li::before {
content: "\25AA";
color: #A01F13;
display: inline-block;
width: 1em;
margin-left: -1em;
/*font-size: small;*/
}
/*.bookshelves ul li {
color: #808080;
display: inline-block;
margin-bottom: 0px;
padding-right: 10%;
width: 90%;
}*/
.page_content .bookshelves h2{
border-bottom: 0px none #FFFFFF;
}
/*.library .bookshelves h2:hover,
.library .bookshelves ul li:hover {
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-webkit-transition: all 0.2s ease-in-out;
color: #000000;
cursor: pointer;
text-decoration: underline;
transition: all 0.2s ease-in-out;
}
*/
.page_content.library .lib {
margin-bottom: 50px;
}
/*@media only screen and (max-width: 1200px),
only screen and (max-device-width: 1200px) {
.library .bookshelves ul {
-moz-column-count: 2;
-moz-column-gap: 0px;
-webkit-column-count: 2;
-webkit-column-gap: 0px;
column-count: 2;
column-gap: 0px;
}
}
@media only screen and (max-width: 1000px),
only screen and (max-device-width: 1000px) {
.library .bookshelves ul {
-moz-column-count: 1;
-moz-column-gap: 0px;
-webkit-column-count: 1;
-webkit-column-gap: 0px;
column-count: 1;
column-gap: 0px;
}
.library .bookshelves ul li {
padding-right: 0;
width: 100%;
}
}
*/
/* ==================================================
book */
.book-container {
align-items: center;
justify-content: center;
margin: 50px;
max-width: 1000px;
}
@media only screen and (min-width: 1001px) {
.book-container {
display: flex;
}
}
.book.page_content {
background-color: #f5f5f5;
box-shadow: none;
padding: 50px;
transition: box-shadow 0.2s ease-in-out, background-color 0.5s ease-in-out;
}
.book.page_content:hover {
background-color: #ffffff;
box-shadow: 0 25px 75px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.2s ease-in-out, background-color 0.5s ease-in-out;
}
.book .section {
display: table-cell;
padding: 10px;
}
.book .cover img {
box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.1);
max-height: 200px;
max-width: 150px;
vertical-align: top;
}
.book .details .id {
font-family: Consolas, Courier, monospace;
}
.book .bib_rec li h4{
font-size: 15px;
display: inline;
}
.book .bib_rec ul{
list-style: square inside;
}
@media only screen and (min-width: 1001px) {
.book .download {
width: 75px;
}
.book .download{
line-height: 25px;
width:130px;
}
.book .download a li{
display: block;
}
.book .download ul{
list-style: square inside;
}
.book .share {
line-height:25px;
width: 20px;
word-wrap: break-word;
}
.book .share a {
display: block;
margin: 10px 0;
}
}
@media only screen and (max-width: 1000px) {
.book .section {
display: block;
text-align: center;
}
.book h1 {
text-align: center;
}
.book .download a {
display: inline-block;
text-align: center;
width: 20%;
max-width: 75px;
}
.book .share a {
display: inline-block;
margin: 5px;
}
}
.book .share a {
background: #000000;
border-radius: 50%;
color: #ffffff;
font-size: 13px;
height: 20px;
text-align: center;
width: 20px;
}
.share-icon img{
height:20px;
width: 20px;
}
/* ==================================================
about */
.about {
column-count: 2;
column-gap: 0px;
margin: 0 auto;
}
.about p,
.about a {
color: #808080;
display: inline-block;
font-size: 15px;
font-weight: 200;
margin-bottom: 0px;
padding-right: 10%;
width: 90%;
}
.about p.quote {
color: #000000;
font-style: italic;
font-weight: 500;
padding-left: 5%;
width: 85%;
}
.about a {
text-decoration: underline;
}
/*@media only screen and (max-width: 1200px),
only screen and (max-device-width: 1200px) {
.about {
-moz-column-count: 1;
-moz-column-gap: 0px;
-webkit-column-count: 1;
-webkit-column-gap: 0px;
column-count: 1;
column-gap: 0px;
}
.about p {
width: 100%;
padding-right: 0;
}
.about p.quote {
width: 95%;
}
}*/
.page_content{
margin-top: 40px;
padding-bottom: 30px;
}
.page_content figure {
/*border: 3px solid #ddd;*/
border-radius: 5px;
padding: 10px;
max-width: 100%;
height: auto;
float:right;
text-align:center;
}
.page_content figure img{
width:100%;
vertical-align:baseline;
}
/*.thumbnail a{
text-align:center;
}*/
.box_shadow{
/*box-shadow: 10px 10px 8px #F5ECDB;*/
background-color: #F5ECDB;
/*border:2px outset #F5ECDB;*/
border:1px solid #eddab7;
margin-top: 1em;
margin-bottom: 1em;
padding: 1ex 1em;
}
/*.page_content .page_heading {
font-size: 30px;
font-weight: bold;
color:#A01F13;
}*/
.page_content h1::before {
display: block;
content: "";
visibility: hidden;
pointer-events: none;
}
.page_content h1{
font-size: 1.875em;
font-weight: bold;
color:#A01F13;
/*margin-top: 15px;*/
margin-bottom: 15px;
width: 100%;
border-bottom: 2px solid #A01F13;
}
.page_content h2::before {
display: block;
content: "";
margin-top: -120px;
height: 120px;
visibility: hidden;
pointer-events: none;
}
.page_content h2{
font-size: 1.5em;
font-weight:bold;
color:#A01F13;
margin-top:15px;
margin-bottom: 15px;
width:100%;
border-bottom: 2px solid #A01F13;
}
.page_content h3::before {
display: block;
content: "";
margin-top: -120px;
height: 120px;
visibility: hidden;
pointer-events: none;
}
.page_content > ul li::before {
content: "\25AA";
color: #A01F13;
display: inline-block;
width: 1em;
margin-left: -1em;
/*font-size: small;*/
}
@media only screen and (min-width: 750px){
.page_content > ul li::before {
font-size:small;
}
.bookshelves > ul li::before{
font-size:small;
}
}
.page_content ul li{
list-style: none;
padding: 5px;
}
/*.page_content ul{
list-style: square;
}*/
.page_content p{
/*color: #999999;*/
margin-top: 10px;
margin-bottom: 10px;
padding-top:10px;
padding-bottom: 10px;
}
.page_content a:link {
color: #003366;
text-decoration: underline;
}
.page_content a:visited {
color: #3E444D;
}
.page_content a:hover {
color: currentColor;
/*background:#E7E292;*/
text-decoration: underline;
background: #BDAE92;
}
.page_content a:active {
color: brown;
}
.page-body {
padding-top: 1px;
}
.anchor a{
top:-80px;
}
.contents{
background-color: #f9f9f9;
border: 1px solid #a2a9b1;
padding:5px;
display:inline-block;
}
.contents ol .inner_1{
list-style-type: lower-roman;
}
.contents ol .inner_2{
list-style-type: lower-alpha;
}
pre{
border: 1px dashed #2f6fab;
background-color: #f9f9f9;
padding:1em;
}
table {
border-collapse: collapse;
}
table, th, td{
background-color: #f8f9fa;
color: #222;
margin: 1em 0;
border: 1px solid #a2a9b1;
}
/*table > * > tr > th{
border: 1px solid #a2a9b1;
text-align:center;
}*/
.search_category li{
display:inline-block;
}
.search_category a{
font-weight:bold;
}
.footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
text-align: center;
font-size: 0.75em;
height: 30px;
width: 100%;
}
.footer ul li{
display: inline-block;
padding: 10px;
}
.footer img{
vertical-align:baseline;
}
.cover_title h5{
white-space: break-spaces;
overflow: hidden;
height:70px;
text-decoration: none;
text-align: center;
}
.cover_title h5:hover{
overflow-y: visible;
height:auto;
}
.cover_image img {
height: 150px;
width: 100px;
margin-left: auto;
margin-right: auto;
display: block;
}
.cover_image {
height:auto;
width: 100px;
}
/*.cover_image h5 {
white-space: break-spaces;
overflow-y: auto;
height: 100px;
}*/
/*=====CLASS RULES IMPLEMENTED in pg-desktop-one.css========*/
ul.results li::before {
content: unset;
}
@media only screen and (max-width: 750px) {
container {
left: 0;
padding: 10% 10vw;
position: relative;
right: 0;
width: 80vw;
}
/*.content{
margin-top: 180px;
}*/
.library .latest h1{
font-size: 18px;
}
.page_content{
margin-top:60px;
height: auto;
}
.page_content h1{
font-size:1.125em;
text-align: center;
}
.page_content h2{
font-size:1em;
text-align: center;
}
body {
font-size:1em;
}
.bookshelves ul {
column-count: 1;
column-gap: 0px;
cursor: default;
width: 100%;
height: unset;
/*.page_content img{
width: 50%;
height: 50%;
}*/
}
.cover_title h5{
overflow-y: scroll;
height:100px;
}
}
/*New Cover_image rules only applicable to test_index for latest covers from gutenberg1*/
.library .latest a{
vertical-align: top;
}
.library .latest a:link {
text-decoration: none;
}
.library .latest a:hover h5{
overflow-y: visible;
height:auto;
}
/*Old Cover image rules orginally declated in CoverPages.py on autocat3. Keep them so it doesn't break anything if it is used somewhere else on autocat3.*/
.cover-thumb {
display: inline-block;
background-position: center;
background-repeat: no-repeat;
}
.cover-thumb-small {
width: 100px;
height: 150px;
}
.cover-thumb-medium {
width: 210px;
height: 310px;
}