textfiles-politics/docs/CSSstyle.css

327 lines
5.0 KiB
CSS
Raw Normal View History

2023-03-15 13:52:14 -04:00
body {
2023-04-24 15:58:37 -04:00
2023-04-25 14:49:25 -04:00
background-color: #6495ED;
color: white;
2023-03-15 13:52:14 -04:00
font-family: arial, helvetica, sans-serif;
2023-04-25 14:49:25 -04:00
padding:15px;
2023-03-15 13:52:14 -04:00
line-height:2em;
2023-04-26 15:21:51 -04:00
background-image: url('Images/Background4.jpg');
2023-04-24 17:31:03 -04:00
border: 1px solid black
2023-03-15 13:52:14 -04:00
}
a {
2023-04-24 17:31:03 -04:00
color: white;
2023-03-15 13:52:14 -04:00
text-decoration: none;
2023-04-24 17:31:03 -04:00
text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
-webkit-text-stroke: 1px black;
2023-03-15 13:52:14 -04:00
}
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 {
2023-04-25 14:49:25 -04:00
color: #6495ED;
2023-03-15 13:52:14 -04:00
}
/* 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 {
2023-04-25 14:49:25 -04:00
background-color: #6495ED;
2023-03-15 13:52:14 -04:00
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;
2023-03-17 13:01:12 -04:00
color: white;
background-color: gray;
2023-03-15 13:52:14 -04:00
border: none;
border-radius: 15px;
box-shadow: 0 9px #999;
}
2023-04-24 17:31:03 -04:00
.button:hover {background-color: white}
2023-03-15 13:52:14 -04:00
.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;
2023-03-17 13:01:12 -04:00
background-color: #747070
2023-03-15 13:52:14 -04:00
}
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 {
2023-04-25 14:49:25 -04:00
color: #6495ED;
2023-03-15 13:52:14 -04:00
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;
;}