User:Anna Aviation/common.css: Difference between revisions
Appearance
Content deleted Content added
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Reverted Mobile edit Mobile web edit |
||
Line 60: | Line 60: | ||
font-weight: bold; |
font-weight: bold; |
||
margin-left: 5px; |
margin-left: 5px; |
||
} |
|||
/* General TOC styling */ |
|||
.toc-container { |
|||
width: 100%; |
|||
max-width: 300px; |
|||
background: #f8f9fa; |
|||
border: 1px solid #ddd; |
|||
padding: 10px; |
|||
border-radius: 5px; |
|||
font-family: Arial, sans-serif; |
|||
} |
|||
/* TOC Title Styling */ |
|||
.toc-title { |
|||
display: block; |
|||
font-size: 18px; |
|||
font-weight: bold; |
|||
cursor: pointer; |
|||
padding: 8px; |
|||
background: #007bff; |
|||
color: white; |
|||
border-radius: 3px; |
|||
text-align: center; |
|||
} |
|||
/* Hide TOC by default */ |
|||
.toc { |
|||
max-height: 0; |
|||
overflow: hidden; |
|||
transition: max-height 0.3s ease-in-out; |
|||
} |
|||
/* Expand TOC when checkbox is checked */ |
|||
#toc-toggle { |
|||
display: none; |
|||
} |
|||
#toc-toggle:checked ~ .toc { |
|||
max-height: 500px; |
|||
} |
|||
/* TOC List Styling */ |
|||
.toc ul { |
|||
list-style: none; |
|||
padding: 0; |
|||
margin: 0; |
|||
} |
|||
.toc ul li { |
|||
padding: 6px 0; |
|||
} |
|||
.toc ul li a { |
|||
text-decoration: none; |
|||
color: #007bff; |
|||
font-size: 16px; |
|||
display: block; |
|||
padding: 5px; |
|||
transition: 0.3s; |
|||
} |
|||
.toc ul li a:hover { |
|||
background: #007bff; |
|||
color: white; |
|||
border-radius: 3px; |
|||
} |
|||
/* Nested List Styling */ |
|||
.toc ul ul { |
|||
padding-left: 15px; |
|||
} |
|||
.toc ul ul li a { |
|||
font-size: 14px; |
|||
color: #0056b3; |
|||
} |
} |
Revision as of 03:30, 24 March 2025
/* CSS will applied here to all skins */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
body {
font-family: 'Ubuntu', sans-serif !important
}
.ns-talk {
font-family: "Ubuntu", sans-serif;
}
/* Set the font properties for body text */
body {
font-family: "Ubuntu", sans-serif;
font-size: 16px;
font-weight: 400;
text-align: left;
}
/* Resizable container */
.resizable-container {
resize: both;
overflow: auto;
width: 300px;
height: 200px;
font-family: 'Ubuntu', sans-serif;
font-size: 16px;
font-weight: 400;
-webkit-font-smoothing: antialiased;
}
blockquote {
font-family: 'Ubuntu', sans-serif;
font-size: 1.2rem;
font-style: italic;
color: #333;
border-left: 4px solid #0073e6;
padding: 10px 20px;
margin: 20px 0;
background: #f9f9f9;
}
blockquote p {
margin: 0;
}
blockquote::before {
content: "“";
font-size: 2rem;
color: #0073e6;
font-weight: bold;
margin-right: 5px;
}
blockquote::after {
content: "“";
font-size: 2rem;
color: #0073e6;
font-weight: bold;
margin-left: 5px;
}
/* General TOC styling */
.toc-container {
width: 100%;
max-width: 300px;
background: #f8f9fa;
border: 1px solid #ddd;
padding: 10px;
border-radius: 5px;
font-family: Arial, sans-serif;
}
/* TOC Title Styling */
.toc-title {
display: block;
font-size: 18px;
font-weight: bold;
cursor: pointer;
padding: 8px;
background: #007bff;
color: white;
border-radius: 3px;
text-align: center;
}
/* Hide TOC by default */
.toc {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-in-out;
}
/* Expand TOC when checkbox is checked */
#toc-toggle {
display: none;
}
#toc-toggle:checked ~ .toc {
max-height: 500px;
}
/* TOC List Styling */
.toc ul {
list-style: none;
padding: 0;
margin: 0;
}
.toc ul li {
padding: 6px 0;
}
.toc ul li a {
text-decoration: none;
color: #007bff;
font-size: 16px;
display: block;
padding: 5px;
transition: 0.3s;
}
.toc ul li a:hover {
background: #007bff;
color: white;
border-radius: 3px;
}
/* Nested List Styling */
.toc ul ul {
padding-left: 15px;
}
.toc ul ul li a {
font-size: 14px;
color: #0056b3;
}