Skip to content

Commit

Permalink
login style
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhinavMishra32 committed Nov 28, 2023
1 parent 84b6860 commit c32089b
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 72 deletions.
1 change: 1 addition & 0 deletions abhinavs-blog/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
</head>
<body>
<script src = "blog-functionality.js"></script>
<link rel="stylesheet" href="login-style.css">
<!--
Adding blog functionality:-
An "Add" button at the bottom of the page, where after putting the correct
Expand Down
124 changes: 52 additions & 72 deletions abhinavs-blog/login-style.css
Original file line number Diff line number Diff line change
@@ -1,74 +1,54 @@
.login-text{
font-family: monospace;
font-size: 30px;
font-weight: 600;
text-align: center;
margin-bottom: 50px;
}


.center-container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
/* height: 100vh; //Adjust the height as needed */
}

.inputs {
padding: 10px;
width: 200px;
border-radius: 20px;
border-width: 2px;
margin-bottom: 15px;
font-family: monospace;
font-size: 15px;
}

.login-button-css{
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.login-button{
font-family: monospace;
font-size: 14px;
/* Reset default margin and padding */
html, body {
margin: 0;
padding: 0;
}

/* Basic styling for inputs */
.inputs {
margin-bottom: 10px;
padding: 5px;
border-radius: 5px;
border: 1px solid #ccc;
}

/* Styling for the edit button */
#edit-button {
padding: 8px 16px;
border: none;
background-color:rgb(243, 243, 243);
border-radius: 20px;
padding-left: 20px;
padding-right: 20px;
padding-top:10px;
padding-bottom: 10px;
}

.login-button:hover{
background-color: rgb(230, 230, 230);
cursor:pointer;
}

.signup-button{
font-family: monospace;
font-size: 14px;
border-radius: 5px;
background-color: #3498db;
color: white;
cursor: pointer;
}

/* Styling for the blog container */
#blog-div {
margin-top: 20px;
border-top: 1px solid #ccc;
padding-top: 20px;
}

/* Styling for blog headline and content input fields */
#blog-headline,
#blog-content {
width: 100%;
margin-bottom: 10px;
padding: 8px;
border-radius: 5px;
border: 1px solid #ccc;
}

/* Styling for add blog button */
.add-button {
margin-top: 10px;
padding: 8px 16px;
border: none;
background-color:rgb(243, 243, 243);
border-radius: 20px;
padding-left: 20px;
padding-right: 20px;
padding-top:10px;
padding-bottom: 10px;
}

.signup-button:hover{
background-color: rgb(230, 230, 230);
cursor:pointer;
}

.login-box {
background-color: #f9f9f9; /* Change to your desired color */
/* border: 1px solid #ccc; Change to your desired border */
padding: 20px; /* Adjust as needed */
margin: 30px; /* Adjust as needed */
border-radius: 50px; /* Optional: to make the corners rounded */
}
border-radius: 5px;
background-color: #27ae60;
color: white;
cursor: pointer;
}

/* Other styles can be added as needed */

0 comments on commit c32089b

Please sign in to comment.