/* Basic Reset & Body Styling for better rendering in block editor */
body {
margin: 0;
padding: 0;
font-family: ‘B Nazanin’, ‘Arial’, sans-serif;
line-height: 1.8;
color: #333;
font-size: 1.1em;
background-color: #f9f9f9;
}
div {
box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
font-family: ‘B Nazanin’, ‘Arial’, sans-serif;
line-height: 1.4;
margin-top: 1.5em;
margin-bottom: 0.8em;
}
p {
margin-bottom: 1em;
text-align: justify;
}
ul, ol {
margin-bottom: 1em;
padding-left: 2em;
}
li {
margin-bottom: 0.5em;
}
/* Responsive Table */
table {
width: 100%;
border-collapse: collapse;
margin: 1.5em 0;
font-size: 0.95em;
border: 1px solid #CCC;
display: block; /* Make table responsive by default */
overflow-x: auto; /* Enable horizontal scroll on small screens */
white-space: nowrap; /* Prevent content from wrapping in cells */
}
th, td {
padding: 12px 15px;
text-align: right;
border: 1px solid #CCC;
white-space: normal; /* Allow content to wrap within cells */
}
thead {
background-color: #3498DB;
color: white;
}
/* Specific styles for headings for better identification in editors */
h1 {
font-size: 2.5em;
font-weight: bold;
color: #2C3E50;
text-align: center;
margin-bottom: 1em;
}
h2 {
font-size: 1.8em;
font-weight: bold;
color: #1ABC9C;
border-bottom: 2px solid #1ABC9C;
padding-bottom: 0.5em;
margin-top: 2em;
margin-bottom: 1em;
}
h3 {
font-size: 1.4em;
font-weight: bold;
color: #34495E;
margin-top: 1.5em;
margin-bottom: 0.8em;
}
/* Infographic styling */
.infographic-box {
background-color: #ECF0F1;
padding: 20px;
border-radius: 8px;
margin: 2em auto;
max-width: 700px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.infographic-item {
flex: 1 1 45%;
min-width: 250px;
background-color: #FFFFFF;
padding: 15px;
border-radius: 6px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.infographic-item p {
margin-bottom: 0;
text-align: right;
}
.infographic-item .title {
font-weight: bold;
font-size: 1.1em;
margin-bottom: 0.5em;
}
/* Responsive adjustments */
@media (max-width: 768px) {
body {
font-size: 1em;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.2em;
}
.infographic-item {
flex: 1 1 100%; /* Stack infographic items on small screens */
}
table, thead, tbody, th, td, tr {
display: block; /* Make table stackable on small screens */
}
thead tr {
position: absolute;
top: -9999px;
left: -9999px;
}
tr {
border: 1px solid #CCC;
margin-bottom: 0.8em;
}
td {
border: none;
border-bottom: 1px solid #EEE;
position: relative;
padding-left: 50%;
text-align: right;
}
td:before {
position: absolute;
top: 10px;
left: 6px;
width: 45%;
padding-right: 10px;
white-space: nowrap;
text-align: left;
font-weight: bold;
color: #555;
}
/* Label the data cells */
td:nth-of-type(1):before { content: “چالشها”; }
td:nth-of-type(2):before { content: “فرصتها”; }
}
@media (max-width: 480px) {
div {
padding: 0.5em;
}
}
مطالب مرتبط:
- پشتیبانی پایان نامه تخصصی مدیریت بازرگانی
- تحلیل داده پایان نامه با نمونه کار در حوزه ژنتیک
- موضوعات جدید پایان نامه رشته مهندسی شیمی مدل سازی، شبیه سازی و کنترل + 113عنوان بروز
- موضوعات جدید پایان نامه رشته مهندسی ابزار دقیق و اتوماسیون صنایع نفت + 113عنوان بروز
- موضوعات جدید پایان نامه رشته ریاضی کاربردی + 113عنوان بروز
- موضوعات جدید پایان نامه رشته مطالعات آسیای جنوب شرقی + 113عنوان بروز
- موضوعات جدید پایان نامه رشته تکنولوژی آموزشی + 113عنوان بروز


