vuepress-theme-system
Version:
131 lines (101 loc) • 1.31 kB
CSS
/*
Utils
-------------------------------
*/
/*
http://cssmojo.com/the-very-latest-clearfix-reloaded/
*/
.clearfix::after {
content: '';
display: block;
clear: both;
}
.block {
display: block;
}
.dot {
display: inline-block;
width: var(--unit-s);
height: var(--unit-s);
}
.hide {
display: none;
visibility: hidden;
}
.pointer {
cursor: pointer;
}
.pointer-none {
pointer-events: none;
}
.word-break {
word-break: break-all;
}
.overflow-hidden {
overflow: hidden;
}
.overflow-scroll-x {
overflow-x: auto;
}
.overflow-scroll-y {
overflow-y: auto;
}
.inline-block {
display: inline-block;
}
.flex {
display: flex;
}
.flex-start {
align-items: flex-start;
}
.flex-stretch {
align-items: stretch;
}
.flex-direction-column {
flex-direction: column;
}
.flex-bottom {
margin-top: auto;
}
.flex-full-x {
flex: 1;
}
.left {
float: left;
}
.right {
float: right;
}
.flex-right {
margin-left: auto;
}
.relative {
position: relative;
}
.fixed {
position: fixed;
}
.absolute {
position: absolute;
}
.center {
left: 50%;
transform: translate(-50%, 0);
}
.full {
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.full-x {
width: 100%;
}
.full-y {
height: 100%;
}
.text-ellipsis {
text-overflow: ellipsis;
overflow: hidden;
}