From dd0a983735e404d4f1f41184940f8f91940735e6 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 9 Apr 2012 14:36:24 +0200 Subject: css: limit width of

and

  • to 800px Long lines streching across the entire screen are hard to read on wide screens. 800px should be a good compromise Signed-off-by: Florian Pritz --- application/views/file/delete_form.php | 2 +- application/views/file/deleted.php | 2 +- application/views/file/non_existent.php | 2 +- application/views/file/show_url.php | 2 +- application/views/file/too_big.php | 2 +- application/views/file/upload_error.php | 2 +- application/views/file/upload_form.php | 2 +- data/default.css | 12 ++++++++++++ 8 files changed, 19 insertions(+), 7 deletions(-) diff --git a/application/views/file/delete_form.php b/application/views/file/delete_form.php index 4a5cc0566..9e4562081 100644 --- a/application/views/file/delete_form.php +++ b/application/views/file/delete_form.php @@ -1,4 +1,4 @@ -
    +
    ".$msg."

    "; ?> diff --git a/application/views/file/deleted.php b/application/views/file/deleted.php index 865b5304a..f12433808 100644 --- a/application/views/file/deleted.php +++ b/application/views/file/deleted.php @@ -1,3 +1,3 @@ -
    +

    has been deleted.

    diff --git a/application/views/file/non_existent.php b/application/views/file/non_existent.php index 9f4a79913..13d8c6950 100644 --- a/application/views/file/non_existent.php +++ b/application/views/file/non_existent.php @@ -1,3 +1,3 @@ -
    +

    I'm sorry, but the requested file doesn't exist.

    diff --git a/application/views/file/show_url.php b/application/views/file/show_url.php index e0e3dc8a6..3c08ed952 100644 --- a/application/views/file/show_url.php +++ b/application/views/file/show_url.php @@ -1,4 +1,4 @@ -
    +

    You can get your file here:

    diff --git a/application/views/file/too_big.php b/application/views/file/too_big.php index aa5c42835..5b970a4c8 100644 --- a/application/views/file/too_big.php +++ b/application/views/file/too_big.php @@ -1,3 +1,3 @@ -

    +

    Sorry, the file you uploaded is too big.

    diff --git a/application/views/file/upload_error.php b/application/views/file/upload_error.php index 9df86b8a8..83968eec2 100644 --- a/application/views/file/upload_error.php +++ b/application/views/file/upload_error.php @@ -1,4 +1,4 @@ -
    +

    An error occurred while uploading.
    diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php index 0d9bba998..a0805013d 100644 --- a/application/views/file/upload_form.php +++ b/application/views/file/upload_form.php @@ -1,5 +1,5 @@ -

    +

    File: diff --git a/data/default.css b/data/default.css index 4774a6a29..399ca1410 100644 --- a/data/default.css +++ b/data/default.css @@ -21,6 +21,18 @@ body { padding: 0; } +p, li { + max-width: 800px; +} + +.center { + text-align: center; + margin-top: 100px; +} +.center p { + max-width: 100%; +} + .clearer { clear: both; font-size: 0; -- cgit v1.2.3-24-g4f1b