diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..006c774 Binary files /dev/null and b/.DS_Store differ diff --git a/admin/admin.html b/admin/admin.html index 9acaa8b..28f2c6f 100644 --- a/admin/admin.html +++ b/admin/admin.html @@ -4,6 +4,10 @@ + + + + Create Article
- +
@@ -103,7 +107,7 @@

Create Article

Image Preview
- +
@@ -133,7 +137,7 @@

Update Article

- +
@@ -141,7 +145,7 @@

Update Article

Image Preview
- +
@@ -178,6 +182,8 @@

Update Article

Articles

+ +
@@ -364,7 +370,7 @@

CSS

- + + + \ No newline at end of file diff --git a/styles/article.css b/styles/article.css index ecac94b..fff7f08 100644 --- a/styles/article.css +++ b/styles/article.css @@ -236,9 +236,8 @@ } .comment-btn{ position:absolute; - top:300px; - left:555px; - right:0; + top:320px; + right:110px; padding:10px; text-align:center; width:9vw; @@ -374,6 +373,19 @@ width:95%; padding:0px; } + .comment-btn{ + position:absolute; + top:320px; + right:70px; + padding:10px; + text-align:center; + width:30vw; + font-family: Raleway; + font-weight:600; + border-radius:10px ; + border: 3px solid var(--textColor); + + } .comment-guest{ width:95%; padding:10px; diff --git a/styles/contact.css b/styles/contact.css index bff1e28..100dee1 100644 --- a/styles/contact.css +++ b/styles/contact.css @@ -37,6 +37,31 @@ .contact-content{ width:40%; text-align:center; + position: relative; +} +.popupCreate .success{ + position:absolute; + top:0px; + left:800px; + background-color:green; + padding:20px; + width:200px; + height:40px; + display:flex; + z-index:2; + align-items: center; + justify-content: center; + border-radius: 10px; +} + +.fade-out{ + color:white; + font-family: Raleway; + font-weight: 500; + font-size: 15px; +} +.fadeout{ + display:none; } .contact-title{ position:relative; @@ -319,4 +344,33 @@ margin:10px; font-size: 15px; } + .contact-content{ + width:40%; + text-align:center; + position: relative; + } + .popupCreate .success{ + position:absolute; + top:0px; + left:200px; + background-color:green; + padding:20px; + width:200px; + height:40px; + display:flex; + z-index:2; + align-items: center; + justify-content: center; + border-radius: 10px; + } + + .fade-out{ + color:white; + font-family: Raleway; + font-weight: 500; + font-size: 15px; + } + .fadeout{ + display:none; + } } \ No newline at end of file diff --git a/styles/login.css b/styles/login.css index c913959..8a17801 100644 --- a/styles/login.css +++ b/styles/login.css @@ -25,6 +25,30 @@ background-color: #1B242F; position: relative; } +.popupCreate .success{ + position:absolute; + top:-140px; + left:690px; + background-color:green; + padding:20px; + width:200px; + height:40px; + display:flex; + z-index:2; + align-items: center; + justify-content: center; + border-radius: 10px; +} + +.fade-out{ + color:white; + font-family: Raleway; + font-weight: 500; + font-size: 15px; +} +.fadeout{ + display:none; +} .content{ background: rgba(196, 196, 196, 0.1); display:flex; @@ -70,6 +94,7 @@ margin-top:60px; color:#5A5A5A } + .input.input-error{ border:1px solid red; } @@ -161,4 +186,28 @@ .go-back{ margin-top:40px; } + .popupCreate .success{ + position:absolute; + top:-120px; + left:100px; + background-color:green; + padding:20px; + width:200px; + height:40px; + display:flex; + z-index:2; + align-items: center; + justify-content: center; + border-radius: 10px; + } + + .fade-out{ + color:white; + font-family: Raleway; + font-weight: 500; + font-size: 15px; + } + .fadeout{ + display:none; + } } \ No newline at end of file diff --git a/styles/notification.css b/styles/notification.css new file mode 100644 index 0000000..5bd574f --- /dev/null +++ b/styles/notification.css @@ -0,0 +1,27 @@ +.container{ + position:relative +} +.popupCreate .success{ + position:absolute; + top:70px; + left:1100px; + background-color:green; + padding:20px; + width:300px; + height:40px; + display:flex; + z-index:2; + align-items: center; + justify-content: center; + border-radius: 10px; +} + +.fade-out{ + color:white; + font-family: Raleway; + font-weight: 500; + font-size: 15px; +} +.fadeout{ + display:none; +} \ No newline at end of file diff --git a/styles/register.css b/styles/register.css new file mode 100644 index 0000000..87a9ddc --- /dev/null +++ b/styles/register.css @@ -0,0 +1,239 @@ +@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Nunito:wght@200;300;400;600;700&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,700&display=swap'); + +:root{ + --headerback:#252934; + --navback:#1B242F; + --navborder:#04C2C9; + --textColor:#E31B6D; + --textwhite:#ffff; + --textSecondColor:#5A5A5A; + --skillBackground:#E5E2E2; + --skillanim:#04A4AA; + --titleText:#444649; + --projectback:#f5f5f5; +} + +*{ + padding:0; + margin:0; + font-family: "Relaway" sans-serif; +} + +.container{ + width:100%; + min-height:100vh; + background-color: #1B242F; + position: relative; +} +.popupCreate .success{ + position:absolute; + top:-140px; + left:690px; + background-color:green; + padding:20px; + width:200px; + height:40px; + display:flex; + z-index:2; + align-items: center; + justify-content: center; + border-radius: 10px; +} + +.fade-out{ + color:white; + font-family: Raleway; + font-weight: 500; + font-size: 15px; +} +.fadeout{ + display:none; +} +.back-links{ + display:flex; + justify-content: space-between; + width:100%; +} +.back-to-home, .back-to-login{ + color:white; + font-family: Raleway; + font-weight: 400; + font-size:15px; + padding-right:15px; +} +.content{ + background: rgba(196, 196, 196, 0.1); + display:flex; + flex-direction: column; + width:30vw; + min-height:65vh; + border-radius: 10px; + position:absolute; + top:20%; + right:0; + left:0; + /* justify-content: center; */ + margin:auto; + align-items:center; +} +.title{ + margin-top:30px; + color:white; + font-weight:400; +} +.title span{ + color:var(--textColor); + font-weight:700; +} +.login-content{ + background-color: #252934; + min-height:40vh; + width:26vw; + border-radius: 10px; + display:flex; + margin-top:30px; + flex-direction: column; + text-align:center; + align-items: center; + padding: 12px; +} +#email{ + padding:10px; + width:22vw; + background: #1E242C; + border:none; + border-radius:2px; + margin-top:35px; + color:#5A5A5A +} +#userName{ + padding:10px; + width:22vw; + background: #1E242C; + border:none; + border-radius:2px; + margin-top:60px; + color:#5A5A5A +} +.input.input-error{ + border:1px solid red; +} +#password{ + padding:10px; + width:22vw; + background: #1E242C; + margin-top:35px; + border:none; + border-radius:2px; + color:#5A5A5A +} +.login-btn{ + width:8vw; + background-color: var(#E31B6D); + height:40px; + color:white; + text-align:center; + display:flex; + align-items: center; + justify-content: center; + font-family: Raleway; + font-weight: 500; + border:4px solid var(--textColor); + margin:30px; + margin-left:245px; +} +.login-btn:hover{ + background-color: var(--textColor); + transition:0.4s ease-in-out; + cursor:pointer; +} +.go-back{ + color:var(--navborder); + font-family: Raleway; + font-weight:400; + margin-top: -10px; + text-decoration: none; +} +.hidden{ + display:none; +} +.icon { + width: 24px; + height: 24px; + position: absolute; + top: 32px; + right: 5px; + pointer-events: none; + z-index: 2; +} +.icon.icon-success { + fill: green; +} + +.icon.icon-error { + fill: red; +} +.error-message { + font-size: .85rem; + color: red; + font-family:Raleway; + margin-top:.8rem; +} +@media screen and (max-width:768px){ + .content{ + width:80%; + } + .login-content{ + width:85%; + margin-top:10px; + padding:5px; + } + #email{ + width:80%; + margin-top:30px; + border-radius: 5px; + } + #userName{ + width:80%; + margin-top:30px; + border-radius: 5px; + } + #password{ + width:80%; + margin-top:20px; + border-radius:5px; + } + .login-btn{ + width:25vw; + height:30px; + margin: auto; + margin-top:20px; + } + .go-back{ + margin-top:40px; + } + .popupCreate .success{ + position:absolute; + top:-120px; + left:100px; + background-color:green; + padding:20px; + width:200px; + height:40px; + display:flex; + z-index:2; + align-items: center; + justify-content: center; + border-radius: 10px; + } + + .fade-out{ + color:white; + font-family: Raleway; + font-weight: 500; + font-size: 15px; + } + .fadeout{ + display:none; + } +} \ No newline at end of file