No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
{{#css: | {{#css: | ||
@media (min-width:600px) { | |||
.sidebar { | |||
width: 250px; | |||
} | |||
.content { | |||
margin-left: 250px; | |||
} | |||
} | |||
.navbar { | .navbar { | ||
overflow: hidden; | overflow: hidden; |
Revision as of 05:03, April 21, 2017
{{#css:
@media (min-width:600px) {
.sidebar { width: 250px; } .content { margin-left: 250px; } }
.navbar {
overflow: hidden; background-color: #333; position: fixed; /* Set the navbar to fixed position */ top: 0; /* Position the navbar at the top of the page */ width: 100%; /* Full width */
}
/* Links inside the navbar */ .navbar a {
float: left; display: block; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none;
}
/* Main content */ .main {
margin-top: 30px; /* Add a top margin to avoid content overlay */
} td {
border: 1px solid black;
background-color: lightblue; position: static; } }}
Purpose & Usage
Template used for standardized Mod Information layout in User:Gernash/MODWiki
- Adds floating boxes for Three Fields
- |Description=
- |Installation=
- |Information=
- |Additional=
Examples
Code 1
{{User:Gernash/ModInfo |Description=None1 |Information=None2 |Installation=None3 |Additional=None4}}{{clear}}
Result
Code 2
{{User:Gernash/ModInfo |Description=None1 |Installation=None3}}{{clear}}
Result
Code 3
{{User:Gernash/ModInfo |Description=None1 |Information=None2 |Installation= Can be Complex *With indentations **Greater Depth including text boxes {{fs|1.2em|{{fc|#DC143C|<-- COLORS -->}}}} <u>{{fc|#8DA9C0|Underline}}</u> [[Main_Page|Hyperlinks]] }}{{clear}}
Result