Move CSS files to /common/css/

Moved all CSS files to their own sub-directory and updated header.php to
reflect this change.
This commit is contained in:
2022-07-06 15:26:18 -04:00
parent 842ea4e411
commit bedc11a4ce
5 changed files with 3 additions and 3 deletions

79
common/css/gallery.css Normal file
View File

@@ -0,0 +1,79 @@
/* 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;
}
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
.gallery_img {
width: 100%;
}
}

158
common/css/jmenu.css Normal file
View File

@@ -0,0 +1,158 @@
/* JMenu 1.0 RC1 | MIT License | https://github.com/jamesjohnson280/JMenu */
/* Menu bar and fonts */
.jmenu {
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, .5);
box-sizing: border-box;
line-height: 1;
}
/* Menu Button */
input.jm-menu-btn {
display: none; /* Hide the checkbox */
}
input[type='checkbox'].jm-menu-btn ~ .jm-collapse {
display: none; /* Hide menu on load */
}
input[type='checkbox']:checked.jm-menu-btn ~ .jm-collapse {
display: block; /* Open when menu button is clicked */
}
label.jm-menu-btn {
cursor: pointer;
display: block;
padding: 16px 32px;
}
label.jm-menu-btn:hover {
color: #4b4f4b;
}
.jm-collapse {
/* Add border between menu and menu button when it's open */
border-top: 1px #000000 solid; /* Light Gray */
}
/* Menu Items */
.jmenu ul,
.jmenu li {
list-style: none;
margin: 0;
padding: 0;
}
/* Links */
.jmenu a {
display: inline-block;
padding: 16px 32px;
text-decoration: none;
}
.jmenu a:hover {
color: #fff; /* White */
}
/* Submenu Items */
.jmenu ul ul {
display: none; /* Hidden by default */
}
/* Dropdowns */
.jm-dropdown:hover ul {
display: block;
}
.jm-dropdown:hover a {
/* Make top-level menu item stay highlighted when hovering over children */
color: #fff;
}
.jm-dropdown ul {
background: #000000; /* White */
padding: 0;
}
.jm-dropdown ul a,
.jm-dropdown:hover ul a {
color: #d35013; /* Orange */
}
.jm-dropdown ul a:hover,
.jm-dropdown:hover ul a:hover {
color: #000; /* Black*/
}
/* Tertiary+ Menu Items */
.jm-dropdown ul ul {
border-bottom: 1px #000 solid; /* Light gray */
border-top: 1px #000 solid;
box-shadow: none;
margin-bottom: 16px;
max-width: 100%;
position: relative;
}
/* Icons */
.jm-icon-dropdown {
border: solid #959595; /* Light gray */
border-width: 0 2px 2px 0;
display: inline-block;
margin: 0 0 3px 8px;
padding: 3px;
transform: rotate(45deg);
}
li:hover .jm-icon-dropdown {
border-color: #fff; /* White */
}
.jm-icon-menu::before {
content: '\2630';
}
@media (min-width: 768px) {
/* Menu items */
.jmenu li {
display: inline-block;
}
.jmenu a {
padding: 16px;
}
/* Dropdowns */
.jm-dropdown {
position: relative;
}
.jm-dropdown li a {
display: block;
padding: 8px 16px;
white-space: nowrap;
}
.jm-dropdown ul {
box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, .5);
padding: 8px 0;
position: absolute;
min-width: 100%;
}
/* Menu Button */
input.jm-menu-btn,
label.jm-menu-btn {
display: none; /* Hide menu button */
}
input[type='checkbox'].jm-menu-btn ~ .jm-collapse,
.jm-collapse {
display: block; /* Show menu */
}
}

1
common/css/print.css Normal file
View File

@@ -0,0 +1 @@

404
common/css/styles.css Normal file
View File

@@ -0,0 +1,404 @@
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;
}
.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%;
}
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;
}
}