1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-27 15:43:23 +00:00

Make the sidebar a little wider

I was going to do something productive tonight, but then this happened.

Whatever, I'm retired, I'm allowed to make my entire existence just
adding 50px to things. Heck, maybe I'll do the same tomorrow too.
This commit is contained in:
Jonathan Coates 2022-09-29 22:21:38 +01:00
parent e7533f2353
commit da5956e943
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06
3 changed files with 10 additions and 7 deletions

View File

@ -14,7 +14,7 @@ thread, not the whole program.
:::tip :::tip
Because sleep internally uses timers, it is a function that yields. This means Because sleep internally uses timers, it is a function that yields. This means
that you can use it to prevent "Too long without yielding" errors, however, as that you can use it to prevent "Too long without yielding" errors. However, as
the minimum sleep time is 0.05 seconds, it will slow your program down. the minimum sleep time is 0.05 seconds, it will slow your program down.
::: :::

View File

@ -749,9 +749,9 @@ suitable for pretty printing.
@usage Demonstrates some of the other options @usage Demonstrates some of the other options
local tbl = { 1, 2, 3 } local tbl = { 1, 2, 3 }
print(textutils.serialize({ tbl, tbl }, { allow_repetitions = true })) print(textutils.serialise({ tbl, tbl }, { allow_repetitions = true }))
print(textutils.serialize(tbl, { compact = true })) print(textutils.serialise(tbl, { compact = true }))
]] ]]
function serialize(t, opts) function serialize(t, opts)
local tTracking = {} local tTracking = {}
@ -770,7 +770,7 @@ serialise = serialize -- GB version
--- Converts a serialised string back into a reassembled Lua object. --- Converts a serialised string back into a reassembled Lua object.
-- --
-- This is mainly used together with @{textutils.serialize}. -- This is mainly used together with @{textutils.serialise}.
-- --
-- @tparam string s The serialised string to deserialise. -- @tparam string s The serialised string to deserialise.
-- @return[1] The deserialised object -- @return[1] The deserialised object
@ -807,10 +807,10 @@ unserialise = unserialize -- GB version
-- @throws If the object contains a value which cannot be -- @throws If the object contains a value which cannot be
-- serialised. This includes functions and tables which appear multiple -- serialised. This includes functions and tables which appear multiple
-- times. -- times.
-- @usage textutils.serializeJSON({ values = { 1, "2", true } }) -- @usage textutils.serialiseJSON({ values = { 1, "2", true } })
-- @since 1.7 -- @since 1.7
-- @see textutils.json_null Use to serialize a JSON `null` value. -- @see textutils.json_null Use to serialise a JSON `null` value.
-- @see textutils.empty_json_array Use to serialize a JSON empty array. -- @see textutils.empty_json_array Use to serialise a JSON empty array.
function serializeJSON(t, bNBTStyle) function serializeJSON(t, bNBTStyle)
expect(1, t, "table", "string", "number", "boolean") expect(1, t, "table", "string", "number", "boolean")
expect(2, bNBTStyle, "boolean", "nil") expect(2, bNBTStyle, "boolean", "nil")

View File

@ -1,3 +1,6 @@
:root {
--nav-width: 250px;
}
/* Some misc styles */ /* Some misc styles */
.big-image { .big-image {