You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pokercc/news/static/news/css/app.css

380 lines
5.9 KiB

@font-face {
font-family: LibreBaskerville;
src: url("../LibreBaskerville-Regular.otf") format("opentype");
}
@font-face {
font-family: LibreBaskervilleBold;
src: url("../LibreBaskerville-Bold.otf") format("opentype");
}
:root {
--main-bg-color: #FFD540;
--header-bg-color: #FFD540;
}
.container {
background-color: #1a1a1a;
}
/* .imgcontainer img {
max-width: 100%;
} */
iframe {
border: 0;
}
a {
color: var(--main-bg-color);
}
a:hover {
color: #ddd;
}
body {
color: #eee;
background-color: #111;
font-size:18px;
margin: 0px;
padding: 0px;
/* margin-bottom: 100px; */
}
header {
margin-bottom: 20px;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
text-align: center;
width: 100%;
}
@media print, screen and (min-width: 50em) {
header {
width: 400px;
}
}
.title {
border-top: 2px solid var(--header-bg-color);
border-bottom: 2px solid var(--header-bg-color);
/* background-color: var(--header-bg-color); */
}
header h1 {
width: 100%;
margin-bottom: 0px;
font-family: "HelveticaNeue-CondensedBlack", "HelveticaNeueBlackCondensed", "HelveticaNeue-Black-Condensed", "Helvetica Neue Black Condensed", "HelveticaNeueBlack", "HelveticaNeue-Black", "Helvetica Neue Black", "HelveticaNeue", "Helvetica Neue", 'TeXGyreHerosCnBold', "Helvetica", "Tahoma", "Geneva", "Arial Narrow", "Arial", sans-serif;
font-weight:900;
font-stretch:condensed;
text-transform: uppercase;
font-size: 32px;
}
@media print, screen and (min-width: 50em) {
header h1 {
font-size: 48px;
}
}
header h1 a {
padding: 5px 0px;
color: #fff;
}
header h1 a:hover {
color: var(--header-bg-color);
}
header h2 {
margin-top: -10px;
padding: 0;
font-size: 14px;
}
nav {
padding: 4px;
font-size: 13px;
text-transform: uppercase;
/* background-color: #333; */
}
footer {
text-align: center;
font-size: 13px;
padding: 20px;
background-color: #333;
margin-top: 50px;
margin-bottom: 0px;
}
article {
margin-bottom: 20px;
}
@media print, screen and (min-width: 50em) {
article {
padding: 16px;
}
}
a h1 {
font-family: 'LibreBaskervilleBold';
font-size: 18px;
}
@media print, screen and (min-width: 50em) {
a h1 {
font-size: 28px;
}
}
.padding {
padding: 8px;
}
@media print, screen and (min-width: 50em) {
.padding {
padding: 12px;
}
}
.post_padding {
padding: 8px;
}
@media print, screen and (min-width: 50em) {
.post_padding {
padding: 0px;
}
}
.lat_padding {
padding: 0px 8px;
}
.lat_padding_contextual {
padding: 0px 8px;
}
@media print, screen and (min-width: 50em) {
.lat_padding_contextual {
padding: 0px;
}
}
.date {
margin-bottom: 4px;
}
.details {
font-size: 14px;
color: #999;
}
.quote {
padding: 15px;
background-color: #333;
margin-bottom: 8px;
}
@media print, screen and (min-width: 50em) {
.quote {
padding: 25px;
border-radius: 20px;
}
}
.quote h1 a {
line-height: 70%;
}
/* .postcontainer {
} */
.imgcontainer {
position: relative;
color: white;
/* border-bottom: 0px solid #111; */
/* border-top: 20px solid #111; */
}
@media print, screen and (min-width: 50em) {
.imgcontainer {
/* width: 600px; */
/* border-bottom: 10px solid #111; */
/* border-top: 20px solid #111; */
}
}
.imgcontainer h1 {
padding: 0px 8px;
line-height: 120%;
}
.imgcontainer h1 span {
background-color: #000;
}
.inside_image_top {
position: absolute;
top: 0px;
left: 12px;
right: 12px;
}
.inside_image_bottom {
position: absolute;
bottom: 12px;
left: 12px;
}
.post {
padding: 10px 0px;
margin-bottom: 10px;
}
.padded {
padding: 8px;
}
.large_padded {
padding: 16px;
}
.comments {
font-size: 14px;
color: #ccc;
}
.info {
width: 100%;
}
@media print, screen and (min-width: 50em) {
.info {
width: 600px;
}
}
.current {
font-size: 14px;
}
.inline {
display: inline-block;
}
input[type=text] {
padding:0px 5px;
border:2px solid #ccc;
-webkit-border-radius: 5px;
border-radius: 5px;
}
form textarea {
background: #333;
color: #fff;
padding:0px 5px;
border:2px solid #111;
-webkit-border-radius: 5px;
border-radius: 5px;
}
form textarea:active, form textarea:hover, form textarea:visited, form textarea:focus {
background: #444;
color: #fff;
padding:0px 5px;
border:2px solid #111;
-webkit-border-radius: 5px;
border-radius: 5px;
}
/* form textarea:hover {
background: #444;
color: #fff;
padding:0px 5px;
border:2px solid #111;
-webkit-border-radius: 5px;
border-radius: 5px;
} */
form label {
color: #fff;
}
input[type=password] {
padding:0px 5px;
border:2px solid #ccc;
-webkit-border-radius: 5px;
border-radius: 5px;
}
input[type=email] {
padding:0px 5px;
border:2px solid #ccc;
-webkit-border-radius: 5px;
border-radius: 5px;
}
input[type=file] {
font-size: 14px;
padding:10px 15px;
background:#555;
border:0 none;
cursor:pointer;
-webkit-border-radius: 8px;
border-radius: 8px;
}
input[type=file]:hover {
font-size: 14px;
padding:10px 15px;
background:#777;
border:0 none;
cursor:pointer;
-webkit-border-radius: 8px;
border-radius: 8px;
}
form .primary_button {
font-size: 14px;
padding:5px 15px;
background:var(--main-bg-color);
border:0 none;
cursor:pointer;
-webkit-border-radius: 8px;
border-radius: 8px;
}
form .secondary_button {
-webkit-border-radius: 8px;
border-radius: 8px;
}
.secondary_button {
font-size: 14px;
padding:5px 15px;
color: #e8e8e8;
background:#333;
border:0 none;
cursor:pointer;
-webkit-border-radius: 8px;
border-radius: 8px;
}
.reply_form {
margin-top: 8px;
}
.youtube {
width: 95vw;
height: 60vw;
}
/* @media print, screen and (min-width: 50em) {
.youtube {
width: 90vw;
height: 60vw;
}
} */
@media print, screen and (min-width: 50em) {
.youtube {
width: 60vw;
height: 35vw;
}
}
@media print, screen and (min-width: 70em) {
.youtube {
width: 45vw;
height: 25vw;
}
}