added index
This commit is contained in:
168
blog/css/blog.css
Executable file
168
blog/css/blog.css
Executable file
@@ -0,0 +1,168 @@
|
||||
body {
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
margin: 0;
|
||||
color: white;
|
||||
background-color: #111;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.mid {
|
||||
width: 650px;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
.mid {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: left;
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: left;
|
||||
font-size: 2.8rem;
|
||||
}
|
||||
|
||||
hr {
|
||||
width: 650px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
hr {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
/* unvisited link */
|
||||
a:link {
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* visited link */
|
||||
a:visited {
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* mouse over link */
|
||||
a:hover {
|
||||
color: #62bd69;
|
||||
}
|
||||
|
||||
/* selected link */
|
||||
a:active {
|
||||
color: #62bd69;
|
||||
}
|
||||
|
||||
ul {
|
||||
font-size: 1.2rem;
|
||||
text-align: left;
|
||||
list-style-position: outside;
|
||||
}
|
||||
|
||||
.movie-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
width: 674px;
|
||||
margin:20px auto 20px auto;
|
||||
position: relative;
|
||||
background-color: #222;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
.movie-container {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.poster {
|
||||
flex: 0 0 auto;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.poster img {
|
||||
width: 200px;
|
||||
height: 300px;
|
||||
object-fit: cover;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.review {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.review h2 {
|
||||
font-size: 24px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.review p {
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin: auto;
|
||||
width: 650px;
|
||||
background: #222;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
.footer {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.social-links {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 20px;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.social-links a {
|
||||
color: white;
|
||||
margin: 0px 5px 0px 5px;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.social-links p {
|
||||
margin: 0px 5px 0px 5px;
|
||||
}
|
||||
|
||||
.social-links a:nth-child(2):hover {
|
||||
color:#d1479e;
|
||||
}
|
||||
|
||||
.social-links a:nth-child(3):hover {
|
||||
color:#4ba2c4;
|
||||
}
|
||||
|
||||
.social-links a:nth-child(4):hover {
|
||||
color:#1DB954;
|
||||
}
|
||||
|
||||
.social-links a:nth-child(5):hover {
|
||||
color:#d1c649;
|
||||
}
|
||||
273
blog/css/style.css
Executable file
273
blog/css/style.css
Executable file
@@ -0,0 +1,273 @@
|
||||
body {
|
||||
font-family: 'IBM Plex Mono', monospace;
|
||||
font-family: 'IBM Plex Sans', sans-serif;
|
||||
margin: 0;
|
||||
color: white;
|
||||
background-color: #111;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.mid {
|
||||
width: 650px;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
.mid {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
text-align: left;
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
text-align: left;
|
||||
font-size: 2.8rem;
|
||||
}
|
||||
|
||||
hr {
|
||||
width: 650px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
hr {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
/* unvisited link */
|
||||
a:link {
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* visited link */
|
||||
a:visited {
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* mouse over link */
|
||||
a:hover {
|
||||
color: #62bd69;
|
||||
}
|
||||
|
||||
/* selected link */
|
||||
a:active {
|
||||
color: #62bd69;
|
||||
}
|
||||
|
||||
ul {
|
||||
font-size: 1.2rem;
|
||||
text-align: left;
|
||||
list-style-position: outside;
|
||||
}
|
||||
|
||||
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic);
|
||||
blockquote{
|
||||
font-size: 1.4em;
|
||||
width: 650px;
|
||||
margin: 50px auto;
|
||||
font-family: Open Sans;
|
||||
font-style: italic;
|
||||
color: darkgray;
|
||||
padding: 1.2em 30px 1.2em 30px;
|
||||
border-left: 8px solid #62bd69 ;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
background: #222;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
blockquote {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
blockquote::before{
|
||||
font-family: Arial;
|
||||
content: "\201C";
|
||||
color: #62bd69;
|
||||
font-size: 4em;
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: -10px;
|
||||
}
|
||||
|
||||
blockquote::after{
|
||||
content: '';
|
||||
}
|
||||
|
||||
blockquote span{
|
||||
display: block;
|
||||
color: white;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin: auto;
|
||||
width: 650px;
|
||||
background: #222;
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
.footer {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.social-links {
|
||||
text-align: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.social-links a {
|
||||
color: white;
|
||||
margin: 0px 5px 0px 5px;
|
||||
text-decoration: none;
|
||||
transition: color 0.3s ease;
|
||||
}
|
||||
|
||||
.social-links p {
|
||||
font-size: 1.2rem;
|
||||
margin: 0px 5px 0px 5px;
|
||||
}
|
||||
|
||||
.social-links a:nth-child(2):hover {
|
||||
color:#d1479e;
|
||||
}
|
||||
|
||||
.social-links a:nth-child(3):hover {
|
||||
color:#4ba2c4;
|
||||
}
|
||||
|
||||
.social-links a:nth-child(4):hover {
|
||||
color:#1DB954;
|
||||
}
|
||||
|
||||
.social-links a:nth-child(5):hover {
|
||||
color:#d1c649;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Position the image container (needed to position the left and right arrows) */
|
||||
.container {
|
||||
width: 650px;
|
||||
margin: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 650px) {
|
||||
.container {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hide the images by default */
|
||||
.mySlides {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Add a pointer when hovering over the thumbnail images */
|
||||
.cursor {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Next & previous buttons */
|
||||
.prev,
|
||||
.next {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
width: auto;
|
||||
padding: 16px;
|
||||
margin-top: -50px;
|
||||
color: white;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
border-radius: 0 3px 3px 0;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
/* Position the "next/prev button" to the right/left */
|
||||
.prev {
|
||||
left: 0;
|
||||
border-radius: 3px 0 0 3px;
|
||||
}
|
||||
|
||||
.next {
|
||||
right: 0;
|
||||
border-radius: 3px 0 0 3px;
|
||||
}
|
||||
|
||||
/* On hover, add a black background color with a little bit see-through */
|
||||
.prev:hover,
|
||||
.next:hover {
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
/* Number text (1/3 etc) */
|
||||
.numbertext {
|
||||
color: #f2f2f2;
|
||||
font-size: 12px;
|
||||
padding: 8px 12px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/* Container for image text */
|
||||
.caption-container {
|
||||
text-align: center;
|
||||
background-color: #222;
|
||||
padding: 2px 16px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.row:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* 10 columns side by side */
|
||||
.column {
|
||||
float: left;
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
/* Add a transparency effect for thumnbail images */
|
||||
.demo {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.active,
|
||||
.demo:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
Reference in New Issue
Block a user