49 lines
1.2 KiB
CSS
49 lines
1.2 KiB
CSS
/*
|
|
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
* listed below.
|
|
*
|
|
* Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
|
|
* vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
*
|
|
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
* compiled file so the styles you add here take precedence over styles defined in any other CSS
|
|
* files in this directory. Styles in this file should be added after the last require_* statement.
|
|
* It is generally better to create a new file per style scope.
|
|
*
|
|
*= require_tree .
|
|
*= require_self
|
|
*/
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0 2em;
|
|
}
|
|
|
|
.content-container {
|
|
flex-grow: 1;
|
|
margin: 1em 0;
|
|
min-height: 512px;
|
|
position: relative;
|
|
}
|
|
|
|
.image-container {
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
position: absolute;
|
|
}
|
|
|
|
.image-container .media {
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
max-height: 100%;
|
|
max-width: 100%;
|
|
box-shadow: 0 0 5px 1px black;
|
|
} |