initial commit
This commit is contained in:
226
public_html/css/styles.css
Normal file
226
public_html/css/styles.css
Normal file
@@ -0,0 +1,226 @@
|
||||
@charset "utf-8";
|
||||
|
||||
html {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
display: block;
|
||||
background: #dfdfdf;
|
||||
font-size: 1rem;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div,
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6,
|
||||
p,
|
||||
a,
|
||||
ul,
|
||||
ol,
|
||||
li,
|
||||
dl,
|
||||
dt,
|
||||
dd,
|
||||
img,
|
||||
form,
|
||||
fieldset,
|
||||
input,
|
||||
textarea,
|
||||
blockquote,
|
||||
footer {
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
color: #4D4D4D;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding-left: 1.15rem;
|
||||
}
|
||||
|
||||
li {
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
pre {
|
||||
/* Add background, border and scrollbar to <pre> */
|
||||
background: #eee;
|
||||
border: 1px solid #ddd;
|
||||
overflow: auto;
|
||||
clear: both;
|
||||
padding: 0.5rem
|
||||
}
|
||||
|
||||
code {
|
||||
background: #eee;
|
||||
border-radius: 0.2rem;
|
||||
font-size: 0.95rem;
|
||||
}
|
||||
|
||||
pre code {
|
||||
padding-right: 0.5rem;
|
||||
font-size: 0.85rem;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
footer {
|
||||
background-color: #4D4D4D;
|
||||
text-align: center;
|
||||
font-size: 0.8rem;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
footer span {
|
||||
background-color: #4D4D4D;
|
||||
color: #dfdfdf;
|
||||
}
|
||||
|
||||
footer a {
|
||||
color: #afafef;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
nav{
|
||||
background-color: #4D4D4D;
|
||||
color: #dfdfdf;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
nav a {
|
||||
float: left;
|
||||
display: block;
|
||||
color: #dfdfdf;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
text-decoration: none;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
color: #dfcf6f;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
nav a {
|
||||
float: none;
|
||||
display: block;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
header {
|
||||
margin: auto 20px;
|
||||
}
|
||||
|
||||
header img {
|
||||
height: 30vh;
|
||||
width: auto;
|
||||
display: block;
|
||||
margin: 20px auto;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
main {
|
||||
margin: 0 2em;
|
||||
}
|
||||
|
||||
section {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
section.podcast {
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
a.podcast {
|
||||
flex: 0 0 20%;
|
||||
flex-basis: 150px;
|
||||
box-sizing: border-box;
|
||||
border: solid 4px #7eb4be;
|
||||
border-radius: 10px;
|
||||
margin: 2.5%;
|
||||
padding: 1em 1em 0em 1em;
|
||||
}
|
||||
|
||||
.podcast p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.podcast img {
|
||||
filter: invert(60%) sepia(50%) hue-rotate(140deg) saturate(200%);
|
||||
transform: scaleX(0.9);
|
||||
}
|
||||
|
||||
section.project {
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
a.project {
|
||||
flex: 0 0 20%;
|
||||
flex-basis: 150px;
|
||||
box-sizing: border-box;
|
||||
border: solid 4px #7eb4be;
|
||||
border-radius: 10px;
|
||||
margin: 2.5%;
|
||||
padding: 1em 1em 0em 1em;
|
||||
}
|
||||
|
||||
.project p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.project img {
|
||||
filter: invert(60%) sepia(50%) hue-rotate(140deg) saturate(200%);
|
||||
transform: scaleX(0.9);
|
||||
}
|
||||
|
||||
.column-container {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
section.episodes, section.comments {
|
||||
flex: 0 0 50%;
|
||||
}
|
Reference in New Issue
Block a user