google_forms/assets/css/header_styles.css

198 lines
4.4 KiB
CSS

body {
background-color: rgb(240, 235, 248);
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
font-family: Arial, sans-serif; /* Ensure a consistent font */
}
.container {
margin-top: 10px;
padding: 0 10px; /* Add padding for smaller screens */
}
.form-section {
background-color: white;
width: 56%;
max-width: 100%; /* Ensure it doesn't exceed the container width */
margin-bottom: 30px;
margin-left: auto;
margin-right: auto;
padding: 20px;
position: relative;
align-items: center;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.form-header {
background-color: white;
padding: 20px;
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
border-radius: 10px 10px 0 0;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: left;
position: relative;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-top: 10px solid rgb(103, 58, 183);
width: 56%;
max-width: 100%; /* Ensure it doesn't exceed the container width */
}
.form-section h2 {
text-align: center;
margin-bottom: 30px;
}
.form-section .question-section {
margin-bottom: 20px;
}
/* Navbar custom styles */
.navbar-custom {
background-color: rgb(103, 58, 183);
color: white;
border-radius: none;
width: 100%; /* Ensure full width */
display: flex;
justify-content: space-between; /* Space items apart */
padding: 10px;
box-sizing: border-box;
flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}
.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav > li > a {
color: white;
font-size: 16px;
transition: color 0.3s ease;
padding: 10px;
text-align: center; /* Center text */
flex: 1; /* Allow items to grow/shrink to fill space */
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-nav > li > a:hover {
color: white; /* Keep text color white on hover */
text-decoration: none; /* Remove underline if present */
}
.navbar-nav > li > a {
transition: color 0.3s ease;
}
.navbar-nav > li > a:hover {
color: white; /* Explicitly set text color on hover */
}
#submit-btn {
margin-top: 20px;
float: left;
clear: both;
width: 100%; /* Make submit button full width */
}
/* Utility classes */
.text-center {
text-align: center;
}
.margin-bottom-20 {
margin-bottom: 20px;
}
.padding-10 {
padding: 10px;
}
.post-date{
background: #f4f4f4;
padding: 4px;
margin: 3px 0;
display: block;
}
.post-thumb{
width: 100%;
}
.pagination-link{
margin: 30px 0;
}
.pagination-links strong{
padding: 8px 13px;
margin: 5px;
background: #f4f4f4;
border: 1px #ccc solid;
}
a.pagination-link{
padding: 8px 13px;
margin: 5px;
background: #f4f4f4;
border: 1px #ccc solid;
}
.cat-delete{
display: inline;
}
#basetable1 {
border: 1px solid #3333336c; /* Darker border color */
}
#basetable1 th, #basetable1 td {
border: 1px solid #3333336c; /* Darker border color for table cells */
}
/* Media query for responsive design */
@media (max-width: 1200px) {
.form-header, .form-section {
width: 75%; /* Adjust width for smaller screens */
}
}
@media (max-width: 768px) {
.form-header, .form-section {
width: 90%; /* Adjust width for smaller screens */
}
.navbar-custom {
flex-direction: column; /* Stack navbar items vertically */
padding: 10px; /* Adjust padding for smaller screens */
}
.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav > li > a {
font-size: 14px; /* Adjust font size for smaller screens */
padding: 10px; /* Adjust padding for smaller screens */
}
#submit-btn {
width: 100%; /* Make submit button full width */
float: none; /* Remove float */
}
}
@media (max-width: 590px) {
.form-header, .form-section {
width: 100%; /* Adjust width for smaller screens */
padding: 10px; /* Reduce padding for smaller screens */
}
.navbar-custom {
flex-direction: column; /* Stack navbar items vertically */
padding: 5px; /* Adjust padding for smaller screens */
}
.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav > li > a {
font-size: 14px; /* Adjust font size for smaller screens */
padding: 10px; /* Adjust padding for smaller screens */
}
}