Initial working thingy
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
html {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
}
|
||||
|
||||
.my-epic-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 20em;
|
||||
grid-template-rows: 1fr;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.picture-frame {
|
||||
padding: 1em;
|
||||
background-color: #555;
|
||||
}
|
||||
|
||||
.picture-frame img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.text-frame {
|
||||
padding: 1em;
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: normal;
|
||||
font-size: 1.5em;
|
||||
margin-top: 0;
|
||||
}
|
||||
Reference in New Issue
Block a user