Game_Dev_Blog/src/style.css

81 lines
1.3 KiB
CSS
Raw Normal View History

2025-02-20 16:44:22 +00:00
html, body {
height: 100%;
margin: 0;
padding: 0;
2025-02-23 15:39:29 +00:00
background-color:#4d4d4d;
2025-02-20 16:44:22 +00:00
}
2025-02-20 21:12:57 +00:00
p1{
2025-02-20 16:44:22 +00:00
font-family: "Times New Roman";
font-size: 100%;
2025-02-23 15:39:29 +00:00
color: #FF8C00;
2025-02-20 21:12:57 +00:00
}
p.solid{border-style: solid;}
2025-02-20 21:24:48 +00:00
p2{
font-family: "Times New Roman";
font-size: 100%;
2025-02-23 15:39:29 +00:00
color: #FF8C00;
2025-02-20 21:24:48 +00:00
}
2025-02-20 16:44:22 +00:00
2025-02-13 20:08:24 +00:00
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons that are used to open the tab content */
.tab button {
2025-02-20 16:45:20 +00:00
background-color: darkorange;
2025-02-13 20:08:24 +00:00
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
.tab button:hover {
2025-02-23 15:39:29 +00:00
background-color: #ffffff;
2025-02-13 20:08:24 +00:00
}
/* Create an active/current tablink class */
.tab button.active {
2025-02-23 15:39:29 +00:00
background-color: #00008b;
2025-02-13 20:08:24 +00:00
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
2025-02-13 20:54:10 +00:00
}
2025-02-23 15:39:29 +00:00
2025-02-13 20:54:10 +00:00
.accordion {
2025-02-23 15:39:29 +00:00
background-color: #00008b;
color: #ffffff;
2025-02-13 20:54:10 +00:00
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
transition: 0.4s;
}
.active, .accordion:hover {
background-color: #ccc;
}
.panel {
padding: 0 18px;
display: none;
background-color: white;
overflow: hidden;
2025-02-20 15:00:00 +00:00
}