Skip to content

Instantly share code, notes, and snippets.

@atErik
Last active June 10, 2020 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atErik/5e61b27b088d1638210544cbb3f9367a to your computer and use it in GitHub Desktop.
Save atErik/5e61b27b088d1638210544cbb3f9367a to your computer and use it in GitHub Desktop.
atErik.css - Apply/override/change default CSS presentation with this CSS file
/* <style type="text/css"> /* change/override default presentation styles */
.UatErik50 { /* Square */
float: left;
position: relative;
width: 30%;
padding-bottom: 30%;
margin: 1.66%;
overflow: hidden;
}
.UatErik51 { /* Content */
position: absolute;
height: 80%;
width: 90%;
padding: 10% 5%;
}
.UatErik52 { /* Vertical Table */
display: table;
height: 100%;
width: 100%;
}
.UatErik53 { /* Cell in Middle */
display: table-cell;
vertical-align: middle;
height: 100%;
width: 100%;
}
.UatErik70 { /* No Tbl Border */
border-collapse: collapse;
border-spacing: 0px;
width: 100%;
border-width: 0px;
border-style: none;
border: none;
margin: 0px;
padding: 0px;
}
.UatErik81 { /* With Border */
border-width: 1px;
width: 100%;
margin: 0px;
padding: 0px;
}
.UatErik82 { /* Top & Bottom Border Without Sides */
border-width: 1px;
border-width-top: 1px;
border-width-bottom: 1px;
border-width-left: 0px;
border-width-right: 0px;
width: 100%;
}
.UatErik83 { /* Only Bottom Border */
border-width: 1px;
border-width-top: 0px;
border-width-bottom: 1px;
border-width-left: 0px;
border-width-right: 0px;
width: 100%;
}
/* </style> */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment