simple_blog/common/css/styles.css

432 lines
6.9 KiB
CSS

body {
margin-left: 5%;
margin-right: 5%;
background-color: #000000;
color: #00cc00;
font-family: "Courier New", sans-serif;
font-size: medium;
/*dir:"ltr";
*/
}
button {
background-color: #000000;
color: #00cc00;
border: none;
}
input[type=button]{
margin-left: 15px;
border-radius: 25px;
}
#btn_sml{font-size: small;}
#btn_mid{font-size: medium;}
#btn_lrg{font-size: 25px;}
#back_btn{border-bottom:none;}
#date{
display: inline;
border-radius: 25px;
padding: 3px;
background: orange;
color: black;
}
article ul p {
list-style: unset;
list-style-type: circle;
list-style-position: outside;
}
article ol {
list-style: georgian;
}
article ol ol {
list-style: lower-alpha;
}
article ul {
list-style: disc;
}
article dd{
list-style-type: none;
}
article dd:before {
content: '\2014';
position: absolute;
margin-left: -20px;
}
article hr {
color: green;
}
#tag_menu{
list-style: none;
margin-left: 25%;
margin-right: 25%;
}
#search_inputs{
display: none;
}
#tag_sort{
margin-left: 25%;
}
#title_sort {
margin-left: 25%;
}
input{
color: #00cc00;
background-color: inherit;
border-color: #00cc00;
font-size: 20px;
margin-left: auto;
margin-right: auto;
}
pre {
background-color:#1f13d3;
color:antiquewhite;
}
code {
background-color:#1f13d3;
color:antiquewhite;
}
a:link {
background-color: #000000;
color: blue;
}
a:hover {
background-color: #000000;
color: #00cc00;
}
a:visited{
background-color: #000000;
color: green;
}
a:visited:hover{
background-color: #000000;
color: #00cc00;
}
table {
border: ridge;
background: #000000;
max-width:100%;
}
table thead{
border-bottom: ridge;
}
nav.jmenu ul li.jm-dropdown ul li ul a {
margin-left:15px;
list-style:circle;
}
.pmenu ul{
border-bottom: solid;
border-width: 1px;
}
#font_btns{
display: none;
}
img{
height: auto;
max-width: 100%;
}
img.center_align{
vertical-align:middle;
}
img.pfp {
vertical-align: middle;
width: 50px;
height: 50px;
border-radius: 25px;
border-style: solid;
border-width: 1px;
}
img.pfp-small {
vertical-align: middle;
width: 25px;
height: 25px;
border-radius: 25px;
border-style: solid;
border-width: 1px;
}
div.byline {
border-top: solid;
margin-left: 25%;
margin-right: 25%;
}
.top{
max-width: 100vw;
float: left;
margin-left: 25%;
margin-right: 3%;
}
.center {
text-align:center;
margin-left: auto;
margin-right: auto;
}
.centered_img {
max-width:100%;
height:auto;
text-align:center;
}
.centered_img img{
height: auto;
max-width: 100%;
}
.jmenu a:hover{
border-radius: 25px;
}
.pmenu{
text-align:center;
margin-left: auto;
margin-right: auto;
margin-bottom:5px;
background-color: #000000;
}
.pmenu a:link{
background-color: #000000;
}
.pmenu a:hover{
background-color: #4b4f4b;
border-radius: 25px;
}
footer{
background-color: #000000;
clear: both;
padding: 0;
text-align: center;
line-height: normal;
margin: 0;
position: relative;
bottom: 0px;
max-width: 100%;
border-top: solid;
margin-left: 25%;
margin-right: 25%;
}
.header-cont {
width: 100%;
text-align:center;
vertical-align: middle;
position:fixed;
top:0px;
}
.header {
height:50px;
background:black;
border:1px solid ##00cc00;
width:100%;
margin-left: 3%;
}
h1.homepage {
font-size:medium;
}
h1 a:link{
color: green;
text-decoration: none;
}
h2{
border-bottom-color: #00cc00;
border-bottom-style: solid;
}
a:link {
background-color: #000000;
color: #00cc00;
}
a:hover {
background-color: #4b4f4b;
color: #00cc00;
}
a:visited{
color: #777674;
}
a:visited:hover{
background-color: #4b4f4b;
color: #777674;
}
p {
margin-bottom: 0.1in;
line-height: 100%
}
blockquote {
font-style: italic;
font-size: 90%;
color: orange;
border-left: yellowgreen;
border-left-style: outset;
}
blockquote p {
margin-left: 5px;
}
#tags {
margin-left: 25%;
margin-right: 25%;
}
#body_nav {
margin-left: 25%;
margin-right: 25%;
}
/* Style the Image Used to Trigger the Modal */
#myImg {
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
img:hover {opacity: 0.7;}
/* The Modal (background) */
.modal_gal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
/* Modal Content (Image) */
.gallery_img {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
}
/* Caption of Modal Image (Image Text) - Same Width as the Image */
#modal_img_caption {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
text-align: center;
color: #ccc;
padding: 10px 0;
height: 150px;
}
/* Add Animation - Zoom in the Modal */
.gallery_img, #caption {
animation-name: zoom;
animation-duration: 0.6s;
}
@keyframes zoom {
from {transform:scale(0)}
to {transform:scale(1)}
}
/* The Close Button */
.close_modal {
position: absolute;
top: 15px;
right: 35px;
color: #00cc00;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}
.close_modal:hover,
.close_modal:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
@media screen and (min-width: 1280px){
article {
margin-left: 25%;
margin-right: 25%;
}
.footer {
margin-left: 25%;
margin-right: 25%;
}
}
@media screen and (max-width: 800px){
body {
margin-left: unset;
margin-right: 3%;
}
.body{
margin-left: 5%;
margin-right: 5%;
}
div.byline {
border-top: solid;
margin-left: 5%;
margin-right: 5%;
}
h1{
padding-left: 5%;
}
.top{
width: 90vw;
float: left;
margin-left: unset;
}
div.gallery img {
max-width:97%;
}
img {
max-width:90vw;
}
img.sigimg {
max-width:50vw;
}
video{
max-width: 100vw;
}
.button {
padding: 5%;
}
.pmenu {
max-width: 100vw;
}
.footer{
margin-left: 3%;
}
#body_nav {
margin-left: unset;
margin-right: unset;
}
#tag_menu {
margin-left: unset;
margin-right: unset;
}
#tag_sort {
margin-left: unset;
width: 100%;
}
#title_sort {
margin-left: unset;
width: 100%;
}
#search_toggle {
margin-left: unset;
margin-top: 5px;
width: 100%;
}
.gallery_img {
width: 100%;
}
footer {
margin-left: 5%;
margin-right: 5%;
}
#tags {
margin-left: 5%;
margin-right: 5%;
}
}
@media print{
p {font-size: 3px;
background: #0c0}
code {
background-color:#1f13d3;
color:antiquewhite;
}
blockquote {
font-style: italic;
font-size: 90%;
color: black;
border-left: darkgray;
border-left-style: outset;
}
blockquote p {
margin-left: 5px;
}
}