forked from MinhQuan/PresentCorpo
init
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
/* views\newsPage\newsArticle1\newsArticle1.css */
|
||||
/* Reset and Base Styles */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #333;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Ensure visited links don't turn purple */
|
||||
a:visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Optional: Keep hover state consistent */
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* Optional: Keep active state consistent */
|
||||
a:active {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
/* MAIN CONTENT - ARTICLE STYLING */
|
||||
article {
|
||||
max-width: 800px;
|
||||
margin: 40px auto;
|
||||
padding: 30px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 5px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* Main heading styling */
|
||||
article h1 {
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20px;
|
||||
color: #006241;
|
||||
border-bottom: 2px solid #30875f;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Secondary heading styling */
|
||||
article h2 {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 15px;
|
||||
color: #30875f;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* Tertiary heading styling */
|
||||
article h3 {
|
||||
font-size: 20px;
|
||||
font-weight: bold;
|
||||
margin-top: 25px;
|
||||
margin-bottom: 10px;
|
||||
color: #e84e0f;
|
||||
}
|
||||
|
||||
/* Paragraph styling */
|
||||
article p {
|
||||
margin-bottom: 15px;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
/* First paragraph after headings with special styling */
|
||||
article h1 + p,
|
||||
article h2 + p,
|
||||
article h3 + p {
|
||||
font-size: 17px;
|
||||
color: #2c3e50;
|
||||
}
|
||||
/* END OF ARTICLE STYLING */
|
||||
|
||||
/* RESPONSIVE STYLES */
|
||||
@media (max-width: 768px) {
|
||||
/* Article responsiveness */
|
||||
article {
|
||||
padding: 15px;
|
||||
margin: 20px auto;
|
||||
}
|
||||
|
||||
article h1 {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
article h2 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
article h3 {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user