File: /home/bigisxfd/public_html/cowork/style.css
/* Reset some default styles */
body, h1, h2, h3, p, label, input {
margin: 0;
padding: 0;
}
.container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
h2 {
margin-bottom: 20px;
}
form {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 5px;
}
input[type="text"],
input[type="password"],
input[type="email"] {
width: 97%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
input[type="submit"] {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
/* ... Existing CSS rules ... */
/* Adjustments for smaller screens */
@media (max-width: 768px) {
/* ... Other responsive rules ... */
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
font-size: 14px;
}
/* Add more responsive styling as needed */
}
.error {
color: red;
margin-top: 5px;
}
.success {
color: green;
margin-top: 5px;
}
/* ... Existing CSS rules ... */
.logo {
display: block;
margin: 0 auto 20px;
max-width: 100%;
height: auto;
}
/* ... Existing CSS rules ... */
.center-container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500');
*{
padding: 0;
margin: 0;
list-style: none;
text-decoration: none;
}
body {
font-family: 'Roboto', sans-serif;
font-size: 14px;
}
.sidebar {
position: fixed;
left: -250px;
width: 250px;
height: 100%;
background: #0049a8;
transition: all .5s ease;
}
.sidebar header {
font-size: 22px;
color: white;
line-height: 70px;
text-align: center;
background: #00357a;
user-select: none;
}
.sidebar ul a{
display: block;
height: 100%;
width: 100%;
line-height: 50px;
font-size: 16px;
color: white;
padding-left: 40px;
box-sizing: border-box;
border-bottom: 1px solid black;
border-top: 1px solid rgba(255,255,255,.1);
transition: .4s;
}
ul li:hover a{
padding-left: 50px;
}
.sidebar ul a i{
margin-right: 16px;
}
#check{
display: none;
}
label #btn,label #cancel{
position: absolute;
background: #00357a;
border-radius: 3px;
cursor: pointer;
}
label #btn{
left: 40px;
top: 25px;
font-size: 35px;
color: white;
padding: 6px 12px;
transition: all .5s;
}
label #cancel{
z-index: 1111;
left: -195px;
top: 17px;
font-size: 30px;
color: #fff;
padding: 4px 9px;
transition: all .5s ease;
}
#check:checked ~ .sidebar{
left: 0;
}
#check:checked ~ label #btn{
left: 250px;
opacity: 0;
pointer-events: none;
}
#check:checked ~ label #cancel{
left: 249px;
}
#check:checked ~ section{
margin-left: 250px;
}
section{
background-position: center;
background-size: cover;
background-color: #ebe4cd;
height: 100vh;
transition: all .5s;
padding: 100px;
}
/* Style the columns */
.column {
flex: 1;
padding: 20px;
background-color: white;
border: 1px solid #ccc;
margin: 10px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
text-align: center;
}
/* Style the table */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
th, td {
padding: 10px;
border: 1px solid #ccc;
text-align: left;
}
.membership-form {
max-width: 400px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
background-color: #f9f9f9;
}
.form-group {
margin-bottom: 15px;
}
.label {
display: block;
font-weight: bold;
margin-bottom: 5px;
}
input[type="text"],
input[type="number"],
textarea {
width: 97%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 3px;
}
textarea {
resize: vertical;
}
input[type="submit"] {
background-color: #007bff;
color: #fff;
border: none;
padding: 10px 15px;
border-radius: 3px;
cursor: pointer;
}
input[type="submit"]:hover {
background-color: #0056b3;
}
.add-button {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
}
.add-button:hover {
background-color: #45a049;
}
input[type="submit"] {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
}