-
{{ page.title }}
+
+
{{ page.title }}
diff --git a/en/chapters/formspecs.md b/en/chapters/formspecs.md
index 3041852..fc37e8e 100644
--- a/en/chapters/formspecs.md
+++ b/en/chapters/formspecs.md
@@ -229,8 +229,9 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
local context = land_formspec_context[player:get_player_name()]
if context then
- minetest.chat_send_player(player:get_player_name(), "Id " .. context.id .. " is now called " ..
- fields.plot .. " and owned by " .. fields.owner)
+ minetest.chat_send_player(player:get_player_name(), "Id " ..
+ context.id .. " is now called " .. fields.plot ..
+ " and owned by " .. fields.owner)
-- Delete context if it is no longer going to be used
land_formspec_context[player:get_player_name()] = nil
@@ -238,7 +239,8 @@ minetest.register_on_player_receive_fields(function(player, formname, fields)
return true
else
-- Fail gracefully if the context does not exist.
- minetest.chat_send_player(player:get_player_name(), "Something went wrong, try again.")
+ minetest.chat_send_player(player:get_player_name(),
+ "Something went wrong, try again.")
end
end)
{% endhighlight %}
diff --git a/en/chapters/node_drawtypes.md b/en/chapters/node_drawtypes.md
index 5c5b9bf..a1dec66 100644
--- a/en/chapters/node_drawtypes.md
+++ b/en/chapters/node_drawtypes.md
@@ -116,7 +116,8 @@ using the flowing liquid drawtype.
For each liquid node you should also have a flowing liquid node.
{% highlight lua %}
--- Some properties have been removed as they are beyond the scope of this chapter.
+-- Some properties have been removed as they are beyond
+-- the scope of this chapter.
minetest.register_node("default:water_source", {
drawtype = "liquid",
paramtype = "light",
@@ -140,7 +141,8 @@ minetest.register_node("default:water_source", {
-- New-style water source material (mostly unused)
{
name = "default_water_source_animated.png",
- animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 2.0},
+ animation = {type = "vertical_frames", aspect_w = 16,
+ aspect_h = 16, length = 2.0},
backface_culling = false,
}
},
diff --git a/static/style.scss b/static/style.scss
index 5bb3af7..25d0fe8 100644
--- a/static/style.scss
+++ b/static/style.scss
@@ -39,6 +39,13 @@ figure {
padding: 0 0 0 6px;
}
+#container {
+ width: 100%;
+ max-width: 1100px;
+ margin: auto;
+ position: relative;
+}
+
#page {
background: white;
margin: 0;
@@ -50,7 +57,7 @@ figure {
}
#navbar {
- position: fixed;
+ position: absolute;
left: 0;
width: 250px;
top: 0;