styling the shit out of this crap
This commit is contained in:
parent
85c3c1b324
commit
688334611c
11 changed files with 535 additions and 163 deletions
|
|
@ -1,3 +1,92 @@
|
|||
<style>
|
||||
#gang {
|
||||
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
article {
|
||||
margin:2px;
|
||||
flex: 1 1 300px;
|
||||
|
||||
}
|
||||
h2 {
|
||||
font-size: 24em;
|
||||
/* text-transform: uppercase;*/
|
||||
line-height: 1em;
|
||||
flex: 1 1 100%;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
h2 {
|
||||
font-size: 12em;
|
||||
}
|
||||
}
|
||||
p {
|
||||
flex: 1 1 100%;
|
||||
font-size: 1.5em;
|
||||
line-height: 1em;
|
||||
}
|
||||
|
||||
figure {
|
||||
padding: 4px;
|
||||
margin: auto;
|
||||
|
||||
|
||||
|
||||
border-style: double;
|
||||
border-color: purple;
|
||||
border-width: 10px;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
object-fit: cover;
|
||||
|
||||
max-height: 300px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
figcaption {
|
||||
font-family: Outward, 'Arial', 'Helvetica', sans-serif;
|
||||
font-size: 9em;
|
||||
line-height: 0.3em;
|
||||
|
||||
font-weight: bold;
|
||||
/* font-style: italic;*/
|
||||
background-color: black;
|
||||
color: white;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
|
||||
color: orange;
|
||||
z-index: 100;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
margin-bottom: 4px;
|
||||
text-transform: lowercase;
|
||||
}
|
||||
@media screen and (max-width: 1024px) {
|
||||
figcaption {
|
||||
font-size: 7em;
|
||||
line-height: 0.35em;
|
||||
}
|
||||
}
|
||||
.section-headers {
|
||||
padding: 80px;
|
||||
border-style: double;
|
||||
border-color: purple;
|
||||
border-width: 10px;
|
||||
flex: 1 0 100%;
|
||||
max-width: 100%;
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<section id="gang">
|
||||
<article class="section-headers">
|
||||
<h2>Gung</h2>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue