ajout de quelques regles generales de css, encore messy
This commit is contained in:
39
styles/global.css
Normal file
39
styles/global.css
Normal file
@@ -0,0 +1,39 @@
|
||||
/*/////////////////////////////////////////////*/
|
||||
/*GLOBAL VARIABLE*/
|
||||
:root {
|
||||
}
|
||||
|
||||
/*elements are flex, vertical, and to the left, by default*/
|
||||
body *:not(script) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin: 20px 0px;
|
||||
}
|
||||
/*default*/
|
||||
.vertical {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.vertical > * {
|
||||
margin: 20px 0px;
|
||||
}
|
||||
.left > * {
|
||||
margin-left: 0px;
|
||||
}
|
||||
/*special*/
|
||||
.horizontal {
|
||||
flex-direction: row;
|
||||
}
|
||||
.horizontal > * {
|
||||
margin: 0px 20px;
|
||||
}
|
||||
.right {
|
||||
margin-right: 0px;
|
||||
margin-left: auto;
|
||||
text-align: right;
|
||||
}
|
||||
.center {
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user