tcp-wiki/assets/main.css

133 lines
1.9 KiB
CSS
Raw Normal View History

2023-04-02 20:06:15 +00:00
/* assets/main.css */
body {
2023-04-02 20:17:56 +00:00
font-family: 'Courier New', Courier, monospace;
2023-04-02 20:06:15 +00:00
line-height: 1.6;
margin: 20px;
background-color: #131313;
color: #14ee00;
}
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
}
a {
color: #059ce2;
text-decoration: none;
}
a:hover {
color: #f700ff;
}
header {
padding: 1em;
2023-04-02 20:17:56 +00:00
background-color: #333;
2023-04-02 20:06:15 +00:00
border-bottom: 1px solid #555;
2023-04-02 20:17:56 +00:00
display: flex;
justify-content: space-between;
align-items: center;
2023-04-02 20:06:15 +00:00
}
header h1 {
margin-right: 1em;
2023-04-02 20:17:56 +00:00
font-size: 1.5em;
2023-04-02 20:06:15 +00:00
}
nav ul {
list-style: none;
padding: 0;
2023-04-02 20:17:56 +00:00
margin: 0;
2023-04-02 20:06:15 +00:00
}
nav ul li {
display: inline;
margin-right: 1em;
2023-04-02 20:17:56 +00:00
font-size: 1.1em;
2023-04-02 20:06:15 +00:00
}
pre {
background-color: #5555;
padding: 1em;
border-radius: 3px;
}
2023-04-15 23:16:27 +00:00
2023-04-02 20:17:56 +00:00
/* Button styles */
nav ul li a {
display: inline-block;
padding: 8px 16px;
border: 1px solid #14ee00;
border-radius: 3px;
background-color: transparent;
font-size: 1.1em;
transition: background-color 0.3s, color 0.3s;
}
2023-04-02 20:06:15 +00:00
2023-04-02 20:17:56 +00:00
nav ul li a:hover {
background-color: #14ee00;
color: #131313;
}
main {
flex-grow: 1;
padding: 20px;
}
section {
margin: 20px 0;
}
section h2 {
font-size: 1.5em;
margin-bottom: 10px;
}
.comment {
background-color: #333;
color: #fff;
padding: 10px;
margin-bottom: 10px;
}
.comment p {
margin: 0;
}
.comment-author {
font-size: 0.8em;
color: #999;
}
2023-04-13 01:35:10 +00:00
2023-04-15 23:16:27 +00:00
.page-info {
font-size: 0.8em;
display: flex;
justify-content: flex-end;
align-items: center;
margin-bottom: 5px;
2023-04-13 01:35:10 +00:00
}
2023-04-15 23:16:27 +00:00
.page-info-text {
margin-right: 5px;
2023-04-13 01:35:10 +00:00
}
2023-04-15 23:16:27 +00:00
.page-info-bar {
flex-grow: 1;
height: 1px;
background-color: #555;
margin-left: 5px;
2023-04-13 01:35:10 +00:00
}
2024-02-10 02:27:04 +00:00
.sidebar-toggle button {
background-color: #333;
color: #14ee00;
border: 1px solid #14ee00;
padding: 5px 10px;
cursor: pointer;
}
.sidebar-toggle button:hover {
background-color: #14ee00;
color: #131313;
}