MediaWiki:Common.css: Difference between revisions
m test |
Added flex-grid layout classes for div |
||
(8 intermediate revisions by the same user not shown) | |||
Line 61: | Line 61: | ||
display: inline-block; | display: inline-block; | ||
position: relative; | position: relative; | ||
text-decoration:underline; | |||
text-decoration-style: dotted; | |||
} | } | ||
Line 71: | Line 73: | ||
position:absolute; | position:absolute; | ||
top:-40px; | top:-40px; | ||
width: | left:-40px; | ||
border:1px solid | width:150px; | ||
background-color:# | border:1px solid gray; | ||
background-color:#eef; | |||
padding: | padding:2px 7px 2px 7px; | ||
} | } | ||
/* Modal End */ | |||
/* Flex Grid Layout Start */ | |||
. | div.flex-container { | ||
width:100%; | display: flex; | ||
flex-direction: column; | |||
width: 100%; | |||
align-items: center; | |||
border: 1px solid #aaa; | |||
box-sizing: border-box; | |||
padding: 2px 2px 0 2px; | |||
} | } | ||
. | div.grid-row { | ||
display: grid; | |||
grid-column-gap: 2px; | |||
width: 100%; | |||
margin: 0 0 2px 0; | |||
width: | |||
} | } | ||
. | div.grid-cell { | ||
background: # | background-color: #f8f8f8; | ||
padding: 2px; | |||
} | } | ||
/* | /* Flex Grid Layout End */ | ||
/* Remove the [edit|edit source] links next to each section */ | /* Remove the [edit|edit source] links next to each section */ | ||
.mw-editsection { display:none; } | .mw-editsection { display:none; } |