Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

working on css of cms #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion client/src/components/Navbar/Navbar.css
Original file line number Diff line number Diff line change
@@ -4,7 +4,20 @@ nav {
display: flex;
align-items: center; /* Align center on Y axis */
justify-content: center; /* Align center on X axis */
gap : 40px;
gap: 5px;
color: white;
background-color: #3D405B;
}

nav a {
padding: 10px 25px;
text-align: center;
text-decoration: underline;
}

nav a:hover {
background-color: #52567a;
color: white;
}

nav > * {
@@ -15,4 +28,5 @@ nav > * {

a {
color: var(--text-primary);
padding: 0px;
}
8 changes: 6 additions & 2 deletions client/src/index.css
Original file line number Diff line number Diff line change
@@ -7,14 +7,18 @@ body {
-moz-osx-font-smoothing: grayscale;
}

h1 {
margin-top: 10px;
margin-bottom: 5px;
}

* {
margin: 0;
padding: 0;

box-sizing: border-box;
}

img {
max-width: 100%;
font-style: italic;
}
}
18 changes: 18 additions & 0 deletions client/src/routes/register/register.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
input[type=text], input[type=email], input[type=password] {
width: 75%;
padding: 12px 20px;
margin: 8px 0px;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
}

#submit_btn {
background-color: #6d72a1;
color: white;
padding: 14px 20px;
margin: 8px 0px;
border: none;
cursor: pointer;
width: 20%;
}