google_forms/assets/css/header_styles.css

138 lines
2.6 KiB
CSS
Raw Permalink Normal View History

2024-08-09 12:04:48 +00:00
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;
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 styles */
.navbar-custom {
2024-08-09 12:04:48 +00:00
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 */
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-08-09 12:04:48 +00:00
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 */
2024-07-19 10:46:18 +00:00
}
2024-07-25 12:54:05 +00:00
2024-07-19 10:46:18 +00:00
#submit-btn {
2024-08-09 12:04:48 +00:00
margin-top: 20px;
float: left;
clear: both;
width: 100%; /* Make submit button full width */
2024-07-25 12:54:05 +00:00
}
/* Utility classes */
.text-center {
2024-08-09 12:04:48 +00:00
text-align: center;
2024-07-25 12:54:05 +00:00
}
.margin-bottom-20 {
2024-08-09 12:04:48 +00:00
margin-bottom: 20px;
2024-07-19 10:46:18 +00:00
}
2024-07-25 12:54:05 +00:00
.padding-10 {
2024-08-09 12:04:48 +00:00
padding: 10px;
2024-07-25 12:54:05 +00:00
}
2024-08-09 12:04:48 +00:00
.post-date {
background: #f4f4f4;
padding: 4px;
margin: 3px 0;
display: block;
2024-07-11 12:05:44 +00:00
}
2024-07-25 12:54:05 +00:00
2024-08-09 12:04:48 +00:00
.post-thumb {
width: 100%;
2024-07-11 12:05:44 +00:00
}
2024-07-25 12:54:05 +00:00
2024-08-09 12:04:48 +00:00
.pagination-link {
margin: 30px 0;
2024-07-11 12:05:44 +00:00
}
2024-08-09 12:04:48 +00:00
.pagination-links strong {
padding: 8px 13px;
margin: 5px;
background: #f4f4f4;
border: 1px #ccc solid;
2024-07-11 12:05:44 +00:00
}
2024-08-09 12:04:48 +00:00
a.pagination-link {
padding: 8px 13px;
margin: 5px;
background: #f4f4f4;
border: 1px #ccc solid;
2024-07-11 12:05:44 +00:00
}
2024-07-25 12:54:05 +00:00
2024-08-09 12:04:48 +00:00
.cat-delete {
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 {
2024-08-09 12:04:48 +00:00
border: 1px solid #3333336c; /* Darker border color */
2024-07-19 10:46:18 +00:00
}
2024-08-09 12:04:48 +00:00
#basetable1 th,
#basetable1 td {
border: 1px solid #3333336c; /* Darker border color for table cells */
2024-07-19 10:46:18 +00:00
}