prelom/django/notesfrombelow/static/css/styles.css

546 lines
8.8 KiB
CSS

@font-face {
font-family: Founders Grotesk Cond Bold;
src: local('FoundersGroteskCondensedBold'), url('FoundersGroteskCondensedBold.otf') format('opentype');
}
@font-face {
font-family: Adobe Caslon Pro;
src: local('ACaslonPro-Regular'), url('ACaslonPro-Regular.otf') format('opentype');
}
.newa {
color: black;
-webkit-transition: color 0.1s ease-out;
-moz-transition: color 0.1s ease-out;
-o-transition: color 0.1s ease-out;
transition: color 0.1s ease-out;
}
.newa:hover {
color: rgba(255,76,125,1);
cursor: pointer;
}
#header {
width: 100%;
color: rgba(255,76,125,1);
background: #ffffff;
position: fixed;
z-index: 10;
}
#header .item {
font-weight: normal;
text-transform: uppercase;
padding-right: 21px;
padding-left: 21px;
color: rgba(255,76,125,1);
}
#header .ui.menu, .nfb-red-column .ui.header {
font-family: Founders Grotesk Cond Bold;
font-weight: normal;
}
#nfb-large-logo img {
padding-top: 20px;
}
.hidden {
display: none;
}
.nfb-article-title {
margin-top: 5px !important;
}
.nfb-article-title .sub.header {
padding-top: 10px !important;
}
.nfb-article-title + .nfb-article-byline {
margin-top: 0;
}
.nfb-article-subtitle {
font-size: 1.15em;
font-style: italic;
padding: 30px 0;
}
.nfb-article-lead {
font-size: 1.1em;
text-align: center;
padding-top: 50px;
padding-bottom: 50px;
}
.nfb-article-metadata {
font-size: 0.8em;
}
.article-content p {
line-height: 1.4em;
}
.article-content hr {
margin: 50px 0;
}
.footnote {
/* For long URLs in article footnotes. */
word-break: break-word;
}
article {
padding-bottom: 50px;
}
hr {
overflow: visible; /* For IE */
padding: 0;
border: none;
border-top: 1px solid #aaa;
color: #777;
text-align: center;
}
.page-content ul, .page-content ol {
line-height: 1.5em;
}
.page-content li {
padding-top: 0.5em;
}
.page-content ol ol ol {
list-style-type: lower-roman;
}
.page-content ol ol {
list-style-type: lower-alpha;
}
.page-content .section {
padding: 0px;
}
#footer {
background: #ffffff;
width: 100%;
padding: 40px 0;
color: #000000;
}
#footer p {
padding-top: 10px;
font-size: 0.9em;
padding-bottom: 0;
}
#footer .input {
}
#footer a {
color: #000000;
font-weight: bold;
}
#footer a:hover {
color: rgba(0, 0, 0, 0.8);
}
.footnote hr {
margin-top: 50px 0;
}
.footnote li {
transition: background 1s ease;
}
.footnote .highlighted {
background-color: #fdd7d3;
}
.page-content {
padding-top: 150px;
padding-bottom: 50px;
}
.nfb-issue-thumb .header {
margin-top: 5px !important;
}
.nfb-footer-issue {
margin-bottom: 0 !important;
}
.nfb-footer-issue +.header {
margin-top: 10px;
}
.nfb-translation-buttons {
text-align: center;
padding-top: 50px;
}
#hamburger {
visibility: hidden;
position: absolute;
right: 10px;
}
@media only screen and (max-width: 1200px) and (min-width: 767px) {
#header .stackable.secondary.menu {
flex-direction: column;
}
#header .mobile-hidden.menu.visible {
display: flex;
}
#header .ui.stackable.mobile-hidden .item {
width: auto!important;
}
}
@media only screen and (max-width: 400px) {
#nfb-mobile-logo img {
max-width: 80%;
}
}
.mobile-only {
display: none;
}
@media only screen and (max-width: 1200px) {
#masthead.screen {
display: none;
}
.mobile-only {
display: block;
}
img.mobile-only {
width: 100%;
}
.non-mobile-only {
display: none;
}
#hamburger-item {
width: 100%;
}
#hamburger {
visibility: visible;
}
#header .mobile-hidden {
display: none;
}
#header .mobile-hidden.visible {
display: flex;
}
#header .mobile-hidden.menu.visible {
display: block;
}
}
.inverted a {
color: rgba(0, 0, 0, 0.9);
}
.inverted a:hover {
color: #000000;
}
.page-content {
font-size: 1.2rem;
}
.print-only {
display: none;
}
#print-banner {
display: none;
}
@media print {
body {
padding: 15mm 10mm !important;
margin: 0 !important;
margin-bottom: 20mm !important;
}
.article-category {
font-size: 0.8em;
}
.article-title {
text-align: left;
}
.inverted a, .ui.inverted.header, .ui.inverted.header .sub.header {
color: #000;
}
.page-content {
font-size: 0.8rem;
padding: 0;
}
.page-content .section {
padding: 0;
}
.print-only {
display: block;
}
.non-mobile-only, iframe {
display: none;
}
.article-lead {
padding: 20px;
}
.article-content {
margin-top: 30px;
column-count: 2;
-webkit-column-count: 2;
-moz-column-count: 2;
column-gap: 25px;
-webkit-column-gap: 25px;
-moz-column-gap: 25px;
}
.article-content h2 {
font-size: 1.2em;
margin-top: 0;
}
.break-after {
page-break-after: always;
}
.print-hide {
display: none;
}
#print-banner {
display: block;
font-size: 0.8em;
}
.interview-quote {
background: none !important;
border: 1px solid #000;
color: #000 !important;
margin-top: -8px;
width: 40px;
height: 40px;
line-height: 40px;
margin-left: 0 !important;
margin-right: 10px;
}
}
blockquote::before {
content: "\201C";
font-weight: bold;
font-size: 60px;
font-family: Georgia, serif;
position: absolute;
left: -25px;
top: 15px;
}
blockquote::after {
content: "";
}
blockquote {
display: block;
position: relative;
padding: 10px;
margin: 0 0 20px;
text-indent: 35px;
color: #666;
}
blockquote cite {
text-align: right;
display: block;
}
blockquote cite::before {
content: "\2014";
}
.author-bio {
font-size: 0.8em;
}
.nfb-image-credit a {
float: right;
font-size: 0.8em;
color: rgba(0, 0, 0, 0.7);
text-decoration: underline;
}
.nfb-image-credit a:hover {
color: #000;
}
@media only screen and (max-width: 767px) {
.nfb-homepage-box {
border-bottom: none !important;
}
.nfb-red-column .header {
padding-left: 15px;
}
/* Otherwise it might be too big and cause overflow */
h2.nfb-article-title.ui.header {
font-size: 1.5rem;
}
h3.nfb-article-title.ui.header {
font-size: 1rem;
}
.page-content {
font-size: 1.1rem;
}
#article-metadata .column {
text-align: center;
}
#footer {
background: #ffffff;
}
#footer h2.ui.header {
font-size: 1.3rem;
}
#footer .column {
text-align: center;
}
.page-content .section {
padding: 25px 10px;
}
.interview-quote {
margin-left: 0 !important;
margin-right: 10px !important;
margin-top: 10px !important;
}
}
.uploaded-image {
text-align: center;
}
.uploaded-image span {
display: block;
font-style: italic;
padding-bottom: 1rem;
}
.uploaded-image img {
max-width: 100%;
}
.uploaded-file {
text-align: center;
padding-bottom: 1rem;
}
.interview-quote {
display: block;
color: white;
width: 50px;
height: 50px;
line-height: 50px;
text-align: center;
border-radius: 25px;
box-sizing: border-box;
margin-top: -10px;
margin-left: -60px;
float: left;
}
.interview-quote.author-5 {
background: #ccc;
color: black;
}
.interview-quote.author-4 {
background: #777;
}
.interview-quote.author-3 {
background: #fff;
color: black;
border: 1px solid #000;
}
.interview-quote.author-2 {
background: #000;
}
.interview-quote.author-1 {
background: #ffffff;
}
.twitter-tweet {
margin: 0 auto;
}
#search-dropdown form {
width: 100%;
}
#search-dropdown {
margin-top: 0;
padding: 10px 0;
display: none;
}
#search-dropdown.visible {
display: block;
}
#top-menu {
margin-top: -10px;
margin-bottom: -10px;
}
.nfb-homepage-box {
border-bottom: 5px solid #ffffff;
margin-bottom: 50px;
}
.nfb-content-box {
border: 2px solid #ffffff;
}
.nfb-category-list {
columns: 2;
-webkit-columns: 2;
-moz-columns: 2;
}
.nfb-divider {
border-top: 1px solid #ffffff;
}
.nfb-red-column {
background-color: #ffffff;
}
.nfb-red-column .ui.header {
border-bottom: 2px solid #fff;
padding-bottom: 10px;
}
/* for better spacing on the homepage */
.nfb-article-thumb img, .nfb-issue-thumb img {
padding-top: 10px;
padding-bottom: 10px;
}
.nfb-image-link:hover {
filter: brightness(110%);
}
.featured-subtitle {
font-size: 1.5em;
}