diff --git a/views/stk_papers.ejs b/views/stk_papers.ejs index b81fe42..9e9176b 100644 --- a/views/stk_papers.ejs +++ b/views/stk_papers.ejs @@ -57,106 +57,137 @@ button:hover { background-color: rgb(18, 102, 133); } + .box { - background-color: white; - padding: 16px; - font-size: 18px; + background-color: white; + padding: 16px; + font-size: 18px; + display: flex; + flex-direction: column; + border-radius: 20px; + border: 3px solid rgb(10, 159, 218); + } + + .box p { + text-align: center; + display: inline; + padding: 8px 8px; + background-color: rgb(240, 237, 237); + border-radius: 10px; + } + + #container { + position: fixed; + top: 10%; + z-index: 2; + left: 35%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + display: none; + } + + #result1 { + margin: 0; + padding: 12px; + background-color: rgb(7, 184, 7); + color: white; + font-size: 24px; + text-align: center; + display: none; + } + + #result3 { + margin: 0; + padding: 12px; + background-color: rgb(7, 184, 7); + color: white; + font-size: 24px; + text-align: center; + display: none; + } + + #result2 { + margin: 0; + padding: 12px; + background-color: rgb(248, 8, 8); + color: white; + font-size: 24px; + text-align: center; + display: none; + } + + @media screen and (max-width: 480px) { + #container { + position: fixed; + top: 2%; + z-index: 2; + left: 2%; display: flex; flex-direction: column; - border-radius: 20px; - border: 3px solid rgb(10, 159, 218); - } - - .box p { - text-align: center; - display: inline; - padding: 8px 8px; - background-color: rgb(240, 237, 237); - border-radius: 10px; - } - - #container { - position: absolute; + justify-content: center; + align-items: center; + display: none; + } + } + + @media screen and (max-width: 1100px) { + #container { + position: fixed; top: 10%; z-index: 2; - left: 40%; + left: 20%; display: flex; flex-direction: column; justify-content: center; align-items: center; display: none; - } - - #result1 { - margin: 0; - padding: 12px; - background-color: rgb(7, 184, 7); - color: white; - font-size: 24px; - text-align: center; - display: none; - } - #result3 { - margin: 0; - padding: 12px; - background-color: rgb(7, 184, 7); - color: white; - font-size: 24px; - text-align: center; - display: none; - } - - #result2 { - margin: 0; - padding: 12px; - background-color: rgb(248, 8, 8); - color: white; - font-size: 24px; - text-align: center; - display: none; - } - + } + } +

Approved! Refreshing

Approval Cancelled

-

An error occured during approval

+

An error occured during + approval

Research Papers

Approved Research Papers

+ +
- PaperId: -

- View: -

- Name: -

- Email: -

- College Name: -

-
- - - -
+ PaperId: +

+ View: +

+ Name: +

+ Email: +

+ College Name: +

+
+ + + +
-
+