google_forms/assets/css/header_styles.css

198 lines
4.4 KiB
CSS
Raw Normal View History

2024-07-19 10:46:18 +00:00
body {
background-color: rgb(240, 235, 248);
2024-07-25 12:54:05 +00:00
margin: 0; /* Remove default margin */
padding: 0; /* Remove default padding */
font-family: Arial, sans-serif; /* Ensure a consistent font */
2024-07-19 10:46:18 +00:00
}
.container {
margin-top: 10px;
2024-07-25 12:54:05 +00:00
padding: 0 10px; /* Add padding for smaller screens */
2024-07-19 10:46:18 +00:00
}
.form-section {
background-color: white;
width: 56%;
2024-07-25 12:54:05 +00:00
max-width: 100%; /* Ensure it doesn't exceed the container width */
2024-07-19 10:46:18 +00:00
margin-bottom: 30px;
2024-07-25 12:54:05 +00:00
margin-left: auto;
margin-right: auto;
2024-07-19 10:46:18 +00:00
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;
2024-07-25 12:54:05 +00:00
margin-left: auto;
margin-right: auto;
2024-07-19 10:46:18 +00:00
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%;
2024-07-25 12:54:05 +00:00
max-width: 100%; /* Ensure it doesn't exceed the container width */
2024-07-19 10:46:18 +00:00
}
.form-section h2 {
text-align: center;
margin-bottom: 30px;
}
.form-section .question-section {
margin-bottom: 20px;
}
2024-07-25 12:54:05 +00:00
2024-07-19 10:46:18 +00:00
/* Navbar custom styles */
.navbar-custom {
background-color: rgb(103, 58, 183);
color: white;
2024-07-25 12:54:05 +00:00
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 */
2024-07-19 10:46:18 +00:00
}
2024-07-25 12:54:05 +00:00
.navbar-custom .navbar-brand,
.navbar-custom .navbar-nav > li > a {
2024-07-19 10:46:18 +00:00
color: white;
font-size: 16px;
transition: color 0.3s ease;
2024-07-25 12:54:05 +00:00
padding: 10px;
text-align: center; /* Center text */
flex: 1; /* Allow items to grow/shrink to fill space */
2024-07-19 10:46:18 +00:00
}
2024-07-25 12:54:05 +00:00
2024-07-19 10:46:18 +00:00
.navbar-custom .navbar-brand:hover,
2024-07-25 12:54:05 +00:00
.navbar-custom .navbar-nav > li > a:hover {
2024-07-19 10:46:18 +00:00
color: white; /* Keep text color white on hover */
text-decoration: none; /* Remove underline if present */
}
2024-07-25 12:54:05 +00:00
.navbar-nav > li > a {
2024-07-19 10:46:18 +00:00
transition: color 0.3s ease;
}
2024-07-25 12:54:05 +00:00
.navbar-nav > li > a:hover {
2024-07-19 10:46:18 +00:00
color: white; /* Explicitly set text color on hover */
}
#submit-btn {
margin-top: 20px;
float: left;
clear: both;
2024-07-25 12:54:05 +00:00
width: 100%; /* Make submit button full width */
}
/* Utility classes */
.text-center {
text-align: center;
}
.margin-bottom-20 {
margin-bottom: 20px;
2024-07-19 10:46:18 +00:00
}
2024-07-25 12:54:05 +00:00
.padding-10 {
padding: 10px;
}
2024-07-11 12:05:44 +00:00
.post-date{
background: #f4f4f4;
padding: 4px;
2024-07-25 12:54:05 +00:00
margin: 3px 0;
2024-07-11 12:05:44 +00:00
display: block;
}
2024-07-25 12:54:05 +00:00
2024-07-11 12:05:44 +00:00
.post-thumb{
width: 100%;
}
2024-07-25 12:54:05 +00:00
2024-07-11 12:05:44 +00:00
.pagination-link{
2024-07-25 12:54:05 +00:00
margin: 30px 0;
2024-07-11 12:05:44 +00:00
}
.pagination-links strong{
padding: 8px 13px;
2024-07-25 12:54:05 +00:00
margin: 5px;
2024-07-11 12:05:44 +00:00
background: #f4f4f4;
border: 1px #ccc solid;
}
a.pagination-link{
padding: 8px 13px;
2024-07-25 12:54:05 +00:00
margin: 5px;
2024-07-11 12:05:44 +00:00
background: #f4f4f4;
border: 1px #ccc solid;
}
2024-07-25 12:54:05 +00:00
2024-07-11 12:05:44 +00:00
.cat-delete{
2024-07-25 12:54:05 +00:00
display: inline;
2024-07-19 10:46:18 +00:00
}
2024-07-25 12:54:05 +00:00
2024-07-19 10:46:18 +00:00
#basetable1 {
border: 1px solid #3333336c; /* Darker border color */
}
#basetable1 th, #basetable1 td {
border: 1px solid #3333336c; /* Darker border color for table cells */
}
2024-07-22 09:49:37 +00:00
2024-07-25 12:54:05 +00:00
/* 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 */
}
}