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

332 lines
5.2 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: #EAC33B;
}
a {
color: var(--main-bg-color);
}
a:hover {
color: #ddd;
}
body {
color: #eee;
background-color: #222;
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: 40em) {
header {
width: 420px;
}
}
/* header a {
text-decoration: none;
} */
.title {
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; /* font-family: 'LibreBaskervilleBold'; */
/* letter-spacing: -1px; */
text-transform: uppercase;
font-size: 32px;
}
@media print, screen and (min-width: 40em) {
header h1 {
font-size: 48px;
}
}
header h1 a {
padding: 5px 0px;
color: #fff;
}
header h2 {
margin-top: -10px;
padding: 0;
font-size: 14px;
}
nav {
padding: 4px;
/* margin-top: 4px; */
font-size: 14px;
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: 40em) {
article {
padding: 16px;
}
}
a h1 {
font-family: 'LibreBaskervilleBold';
font-size: 18px;
}
@media print, screen and (min-width: 40em) {
a h1 {
font-size: 28px;
}
}
.padding {
padding: 8px;
}
@media print, screen and (min-width: 40em) {
.padding {
padding: 12px;
}
}
.post_padding {
padding: 8px;
}
@media print, screen and (min-width: 40em) {
.post_padding {
padding: 0px;
}
}
/* .post_padding h1 {
line-height: 100%;
}
@media print, screen and (min-width: 40em) {
.post_padding h1 {
line-height: 70%;
}
} */
.lat_padding {
padding: 0px 8px;
}
.inside_image_top {
position: absolute;
top: 12px;
left: 12px;
}
.inside_image_bottom {
position: absolute;
bottom: 12px;
left: 12px;
}
.details {
font-size: 14px;
color: #999;
}
.quote {
padding: 15px;
background-color: #333;
margin-bottom: 8px;
}
@media print, screen and (min-width: 40em) {
.quote {
padding: 25px;
border-radius: 20px;
}
}
.quote h1 a {
line-height: 70%;
}
/* .postcontainer {
} */
.imgcontainer {
position: relative;
color: white;
border-bottom: 10px solid #111;
border-top: 10px solid #111;
}
@media print, screen and (min-width: 40em) {
.imgcontainer {
width: 500px;
border-bottom: 10px solid #111;
border-top: 10px solid #111;
}
}
.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: 40em) {
.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:#e8e8e8;
border:0 none;
cursor:pointer;
-webkit-border-radius: 8px;
border-radius: 8px;
}
input[type=file]:hover {
font-size: 14px;
padding:10px 15px;
background:#fcf;
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;
}