diff options
| author | Bobby <[email protected]> | 2022-06-04 13:01:29 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-06-04 13:01:29 +0530 |
| commit | 9da192b8311b004f305f3008572da0a4f8b58902 (patch) | |
| tree | 2ef9cb39bddf8d87288205e954e96fa92adc19e7 | |
| parent | 307fcad3bd93a119db39cd2fadce671102c49e86 (diff) | |
| download | thatcomputerscientist-9da192b8311b004f305f3008572da0a4f8b58902.tar.xz thatcomputerscientist-9da192b8311b004f305f3008572da0a4f8b58902.zip | |
Set fixed size for image
| -rw-r--r-- | public/css/main.css | 1 | ||||
| -rw-r--r-- | views/partials/header.ejs | 2 | ||||
| -rw-r--r-- | views/partials/sidebar.ejs | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/public/css/main.css b/public/css/main.css index 75dd6cc7..42d15011 100644 --- a/public/css/main.css +++ b/public/css/main.css @@ -41,6 +41,7 @@ body { .title > img { width: 10rem; + height: 3.23rem; display: block; margin: 0px auto 10px auto; pointer-events: none; diff --git a/views/partials/header.ejs b/views/partials/header.ejs index 804991cd..caec47c1 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -5,7 +5,7 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>That Computer Scientist - <%= title %></title> - <link rel="stylesheet" href="css/fonts.css"> + <link preload rel="stylesheet" href="css/fonts.css"> <link rel="stylesheet" href="css/main.css"> </head> <body>
\ No newline at end of file diff --git a/views/partials/sidebar.ejs b/views/partials/sidebar.ejs index dedea20b..3c583c6b 100644 --- a/views/partials/sidebar.ejs +++ b/views/partials/sidebar.ejs @@ -1,6 +1,6 @@ <div class="sidebar"> <a href="/" class="title"> - <img src="images/logo.png" alt="That Computer Scientist Logo"> + <img src="images/logo.png" alt="That Computer Scientist Logo" width="10rem" height="3.23rem"> <!-- Login Box --> </a> <% if (locals.username) { %> |
