Skip to content

Commit 6cd4bf3

Browse files
committed
Fix feature button width and positioning
1 parent 2cee95a commit 6cd4bf3

File tree

10 files changed

+15
-12
lines changed

10 files changed

+15
-12
lines changed

_sass/minima/_base.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,12 +451,15 @@ abbr {
451451
* Feature Buttons
452452
*/
453453
.feature_list {
454+
display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
454455
}
455456
.feature_column {
456457
float:left; margin:0; height:auto; width:45%; padding:2.5%;
458+
min-width:250px;
457459
}
458460
.feature_column_triple {
459461
width:30%; padding:1.66%;
462+
min-width:200px;
460463
}
461464
.feature_button {
462465
display:block;

docs.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ header-center: true
1212

1313
{% include docs_feature_button_big.html url="ents" text="Entity List" desc="All changes to all entities." icon="assets/entities/math_counter_advanced.png" bg="../assets/docs/feature_entities_bg.jpg" %}
1414
{% include docs_feature_button_big.html url="vscript" text="VScript" desc="Custom VScript implementation." icon="assets/entities/logic_script.png" bg="../assets/docs/feature_vscript_bg.jpg" %}
15-
<div style="clear: left;"/>
15+
<div style="clear: left;"></div>
1616

1717
</div>
1818

@@ -23,7 +23,7 @@ header-center: true
2323
{% include docs_feature_button.html url="game-scripts" text="Game Scripts" desc="Changes to scripts in the game files." icon="assets/entities/game_menu.png" bg="../assets/dev_measuregeneric_purple01.jpg" %}
2424
{% include docs_feature_wip.html url="visuals" text="Visuals" desc="Visual or rendering features." icon="assets/entities/game_menu.png" bg="../assets/dev_measuregeneric_purple01.jpg" %}
2525
{% include docs_feature_wip.html url="compilers" text="Compile Tools" desc="Changes to the compile tools." icon="assets/entities/game_menu.png" bg="../assets/dev_measuregeneric_purple01.jpg" %}
26-
<div style="clear: left;"/>
26+
<div style="clear: left;"></div>
2727

2828
</div>
2929

docs/game-scripts.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This category covers changes to the game's keyvalue scripts, which are usually l
1515
{% include docs_feature_button.html url="weapon-scripts" text="Weapon Script Changes" desc="Changes to weapon scripts." icon="assets/docs/feature_dc_icon.png" bg="../assets/docs/feature_dc_bg.gif" %}
1616
{% include docs_feature_wip.html url="response-system" text="Response System" desc="Changes to the Response System." icon="assets/entities/game_menu.png" bg="../assets/website_bg.jpg" %}
1717
{% include docs_feature_wip.html url="choreo-sentences" text="Choreo Sentences" desc="New scene-based sentences." icon="assets/entities/game_menu.png" bg="../assets/website_bg.jpg" %}
18-
<div style="clear: left;"/>
18+
<div style="clear: left;"></div>
1919

2020
</div>
2121

docs/hl2.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The following articles show where Mapbase's features can be particularly useful:
2323
{% include docs_feature_button.html url="hl2-settings" text="Mapbase within HL2's settings" desc="Examples of how Mapbase can benefit maps that represent specific parts of HL2." icon="assets/entities/math_counter_advanced.png" bg="../../assets/docs/feature_npcs_bg.jpg" %}
2424
{% include docs_feature_wip.html url="hl2-total-conversion" text="Making one map a total conversion" desc="Examples of how one map can be made drastically different from the game or mod it's a part of." icon="assets/entities/math_counter_advanced.png" bg="../../assets/website_bg.jpg" %}
2525
{% include docs_feature_button.html url="custom-npc" text="Making a custom NPC" desc="A guide explaining how Mapbase can be used to create a custom NPC without code changes." icon="assets/entities/math_counter_advanced.png" bg="../../assets/website_bg.jpg" %}
26-
<div style="clear: left;"/>
26+
<div style="clear: left;"></div>
2727

2828
</div>
2929

@@ -38,7 +38,7 @@ The following articles show where Mapbase's features can be particularly useful:
3838
{% include docs_feature_button.html url="npcs" text="NPC Changes" icon="assets/entities/math_counter_advanced.png" bg="../../assets/docs/feature_npcs_bg.jpg" %}
3939
{% include docs_feature_wip.html url="customweps" text="Custom Weapons" icon="assets/docs/hl2/feature_customweps_icon.png" bg="../../assets/website_bg.jpg" %}
4040
{% include docs_feature_wip.html url="player-anims" text="Player Animations" icon="assets/docs/hl2/feature_customweps_icon.png" bg="../../assets/website_bg.jpg" %}
41-
<div style="clear: left;"/>
41+
<div style="clear: left;"></div>
4242

4343
</div>
4444

docs/hl2/npcs.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ Mapbase makes several changes to NPCs in particular:
1212
{% include docs_feature_button.html url="weapons-and-abilities" text="Weapon & Ability Portability" icon="assets/entities/math_counter_advanced.png" bg="../assets/website_bg.jpg" %}
1313
{% include docs_feature_button.html url="custom-anims" text="Custom Animations" icon="assets/entities/math_counter_advanced.png" bg="../../assets/docs/feature_npcs_bg.jpg" %}
1414
{% include docs_feature_button.html url="expanded-responses" text="Expanded Responses" icon="assets/entities/math_counter_advanced.png" bg="../../assets/website_bg.jpg" %}
15-
<div style="clear: left;"/>
15+
<div style="clear: left;"></div>
1616

1717
</div>

docs/iokv.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ This category covers the different types of new Inputs, Outputs, and KeyValues a
1414
{% include docs_feature_button.html url="gameplay" text="Gameplay I/O/KV" desc="Inputs, outputs, and keyvalues that change how entities behave in-game." icon="assets/entities/game_menu.png" bg="../assets/website_bg.jpg" %}
1515
{% include docs_feature_button.html url="player" text="Player I/O/KV" desc="Inputs, outputs, and keyvalues that affect players." icon="assets/entities/game_menu.png" bg="../assets/website_bg.jpg" %}
1616
{% include docs_feature_button.html url="npc" text="NPC I/O/KV" desc="Inputs, outputs, and keyvalues that affect NPCs." icon="assets/entities/game_menu.png" bg="../assets/website_bg.jpg" %}
17-
<div style="clear: left;"/>
17+
<div style="clear: left;"></div>
1818

1919
</div>

docs/utils.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ This category contains miscellaneous quality-of-life tools which are not added d
1515
{% include docs_feature_button.html url="dev-commentary" text="Commentary Additions" desc="Unique changes and new features for the Developer Commentary System." icon="assets/docs/feature_dc_icon.png" bg="../assets/docs/feature_dc_bg.gif" %}
1616
{% include docs_feature_wip.html url="console-groups" text="Console Groups" desc="Configurable colored console text." icon="assets/entities/game_menu.png" bg="../assets/website_bg.jpg" %}
1717
{% include docs_feature_wip.html url="chapters" text="Chapters" desc="Configurable chapter names." icon="assets/entities/game_menu.png" bg="../assets/website_bg.jpg" %}
18-
<div style="clear: left;"/>
18+
<div style="clear: left;"></div>
1919

2020
</div>

docs/utils/dev-commentary.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,15 +143,15 @@ This includes the following new node types:
143143
</div>
144144
</div>
145145

146-
<div style="clear: left;"/>
146+
<div style="clear: left;"></div>
147147

148148
<p align="center">The images below show Text and Image Nodes in-game. Click on an image to expand it.</p>
149149
<p align="center">
150150
{% include lightbox.html src="assets/docs/utils/preview_text_info_001a.png" style="width:25%;" %}
151151
{% include lightbox.html src="assets/docs/utils/preview_image_info_001a.png" style="width:25%;" %}
152152
</p>
153153

154-
<div style="clear: left;"/>
154+
<div style="clear: left;"></div>
155155

156156
### New I/KV
157157
<code>point_commentary_node</code> now has additional inputs and keyvalues, including the ones mentioned above. This includes the following:

docs/visuals.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ This category covers changes that relate to visuals or shaders in some way.
1212
{% include docs_feature_button.html url="shaders" text="Shader Changes" desc="Changes to projected textures." icon="assets/entities/math_mod.png" bg="../assets/docs/feature_logicalio_bg.jpg" %}
1313
{% include docs_feature_button.html url="projected-textures" text="Projected Textures" desc="Changes to projected textures." icon="assets/entities/math_mod.png" bg="../assets/docs/feature_logicalio_bg.jpg" %}
1414
{% include docs_feature_button.html url="player-rendering" text="Player Rendering" desc="Player rendering through mirrors or legs." icon="assets/entities/game_menu.png" bg="../assets/dev_measuregeneric_purple01.jpg" %}
15-
<div style="clear: left;"/>
15+
<div style="clear: left;"></div>
1616

1717
</div>

docs/vscript.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For using VScript within a Half-Life 2 context, see [HL2 VScript integration](/d
1717
{% include docs_feature_button.html url="script-consts" text="List of Script Constants" desc="Full list of script constants." icon="assets/entities/math_counter_advanced.png" bg="../assets/website_bg.jpg" %}
1818
{% include docs_feature_button.html url="conflicts" text="Conflicts with Valve's VScript" desc="Potential conflicts involving scripts made using official VScript." icon="assets/docs/feature_dc_icon.png" bg="../assets/docs/feature_dc_bg.gif" %}
1919
<!--{% include docs_feature_button.html url="conflicts" text="VScript in VBSP" desc="" icon="assets/docs/feature_dc_icon.png" bg="../assets/docs/feature_dc_bg.gif" %}-->
20-
<div style="clear: left;"/>
20+
<div style="clear: left;"></div>
2121

2222
</div>
2323

0 commit comments

Comments
 (0)