textfiles-politics/docs/CSSstyle.css

315 lines
5.0 KiB
CSS

body {
background-color: black;
color: white;
font-family: arial, helvetica, sans-serif;
padding:15px;
line-height:2em;
background-image: url('Images/Background4.jpg');
border: 1px solid black
}
a {
color: white;
text-decoration: none;
text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
}
a:hover {
color: #ffffff;
}
#title-index {
text-align: center;
margin-left: auto;
margin-right: auto;
}
#top {
text-align: center;
margin-left: auto;
margin-right: auto;
padding-top: 40px;
}
#citation-link > a {
color: #000d81;
text-decoration: underline;
}
#citation-link > a:hover {
color: #6495ED;
}
/* Navbar */
#menu {
display: flex;
text-align: center;
align-items: center;
justify-content: center;
}
#menu > a {
text-align: center;
margin-left: 0;
margin-right: 0;
}
div.button {
background-color: #6495ED;
border: double black;
color: black;
padding: 15px 32px;
text-align: center;
text-decoration: none;
font-size: 16px;
font-family: georgia;
cursor: grab;
display: inline;
display: inline-block;
}
.button {
display: inline-block;
padding: 15px 25px;
font-size: 24px;
cursor: pointer;
text-align: center;
text-decoration: none;
outline: none;
color: white;
background-color: gray;
border: none;
border-radius: 15px;
box-shadow: 0 9px #999;
}
.button:hover {background-color: white}
.button:active {
background-color: transparent;
box-shadow: 0 5px #666;
transform: translateY(4px);
}
/* Fulltext page */
#toc {
text-align: center;
margin-left: auto;
margin-right: auto;
}
#fulltext {
text-align: center;
}
#to-top {
display: none;
position: fixed;
bottom: 20px;
right: 30px;
z-index: 99;
font-size: 18px;
border: none;
outline: none;
background-color: white;
color: black;
cursor: pointer;
padding: 15px;
border-radius: 4px;
}
#to-top:hover {
background-color: #555;
}
/* Home page */
#Home {
text-align: center;
margin-left:auto;
margin-right:auto;
padding-top: 30px;
}
#Home > figure > img {
box-shadow: 0 0 8px 8px white inset;
}
#site-desc {
text-align: center;
margin-left:auto;
margin-right:auto;
}
#credit {
text-align: center;
margin-left:auto;
margin-right:auto;
padding-top: 30px;
}
table, th, td {
border: 1px solid;
border-color: #ffffff;
margin-left: auto;
margin-right: auto;
}
/* Gallery page */
section.Index
img.red.JPG {
width: 60%;
max-width:100%;
height:auto;
}
ul {
list-style-type: none;
padding-top:5em;
text-align: center;
line-height: 1.5;
display: inline-block;
vertical-align: middle;
font-size: 30px;
}
/*
section.Gallery figure img:hover {
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}
*/
section.Resume
div {
width: 100%;
display: flex;
padding:5vw;
background-color: #747070
}
section.Gallery {
width: 80%;
display: block;
justify-content:space-around;
padding: 2vw;
column-gap:0;}
section.Gallery figure {
flex:1;
/*background-color: lightgray;*/
padding: 2vw;
width: 100%;
}
section.Gallery p.wider{
flex:2;
background-color:white;
padding:2vw;
margin-left: -5em;
}
section.Gallery p.analysis{
flex:1;
background-color: white;
padding:2vw;
margin-left: -5em;
}
img.dahlia {
max-width: 500px;
width: 60%;
}
#gallery-title {
text-align: center;
padding-top: 30px;
}
.Gallery > h2 {
text-align: center;
}
.Gallery {
margin-left: auto;
margin-right: auto;
}
/* Github repo links page */
#github-links {
display: flex;
flex-direction: column;
align-items: center;
gap: 1px;
line-height: 5px;
}
#github-links > a {
text-decoration: underline;
}
#github-links > a:hover {
color: #6495ED;
display: block;
}
#copyright-centered {
display: flex;
justify-content: center;
align-items: center;
padding-top: 150px;
padding-right: 1500px;
}
/* Biography page */
#bio-gallery {
margin-left: 0px;
}
#bio-title {
text-align: center;
padding-top: 45px;
}
section.Gallery figure img {
display: inline-block;
margin: 25px 10px;
width: 20%;
border: 5px solid #555;
float: left;
padding: 2vw;
}
/* About Us page */
#reflection-title {
text-align: center;
padding-top: 30px;
}
#bio-text {
padding-left: 1000px;
margin-right: 84px;
}
#bio-copyright {
padding-top: 300px;
}
/* This is some CSS code specifically for Text Analysis */
section.textAnalysis {
width:100%;
display: flex;
}
section.textAnalysis figure {flex:1;
background-color: lightgray;
display:flex;
flex-direction:column;
}
section.textAnalysis figure img {flex:5;
width:100%;
max-width:1000px;
}
section.textAnalysis figure figcaption {flex:1;
;}
span{color:orange;}
/* ebb: trying the above line quickly to highlight everything that isn't a person.*/
span.PERSON{
color: red;
}