Lost Waves Wiki:Experiment: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
< | <!DOCTYPE html> | ||
< | <html lang="en"> | ||
< | <head> | ||
< | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
< | <style> | ||
.container { | |||
display: flex; | |||
flex-wrap: wrap; | |||
} | |||
.left, .right { | |||
flex: 1; | |||
padding: 10px; | |||
</ | |||
box-sizing: border-box; | |||
} | |||
.left { | |||
margin-right: 10px; | |||
} | |||
@media (max-width: 768px) { | |||
.left, .right { | |||
flex: 100%; | |||
margin: 0; | |||
padding: 10px 0; | |||
} | |||
} | |||
</style> | |||
</head> | |||
<body> | |||
<nowiki><div class="container"></nowiki> | |||
<nowiki><div class="left"></nowiki> | |||
<nowiki>{{Mainpageleft}}</nowiki> | |||
<nowiki></div></nowiki> | |||
<nowiki><div class="right"></nowiki> | |||
<nowiki>{{Mainpageright}}</nowiki> | |||
<nowiki></div></nowiki> | |||
<nowiki></div></nowiki> | |||
</body> | |||
</html> |
Revision as of 10:24, 3 August 2024
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
.container {
display: flex;
flex-wrap: wrap;
}
.left, .right {
flex: 1;
padding: 10px;
box-sizing: border-box;
}
.left {
margin-right: 10px;
}
@media (max-width: 768px) {
.left, .right {
flex: 100%;
margin: 0;
padding: 10px 0;
}
}
</style>
</head>
<body>
<div class="container">
<div class="left">
{{Mainpageleft}}
</div>
<div class="right">
{{Mainpageright}}
</div>
</div>
</body>
</html>