mirror of
https://github.com/milk-net/milk-net.github.io.git
synced 2025-04-19 17:43:42 -05:00
Create style.css
This commit is contained in:
parent
f0211ce034
commit
fc0efe21c8
1 changed files with 78 additions and 0 deletions
78
forum/style.css
Normal file
78
forum/style.css
Normal file
|
@ -0,0 +1,78 @@
|
|||
body {
|
||||
font-family: sans-serif;
|
||||
background: linear-gradient(to bottom right, #1e3c72, #a9a9a9);
|
||||
color: white;
|
||||
padding: 20px;
|
||||
max-width: 800px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
header {
|
||||
text-align: center;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
header h1 {
|
||||
font-size: 2.5em;
|
||||
margin: 0;
|
||||
color: white;
|
||||
}
|
||||
|
||||
h2, h3 {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#new-thread, .thread, .reply {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
border: 1px solid #ccc;
|
||||
padding: 15px;
|
||||
margin-bottom: 20px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
textarea, input[type="text"] {
|
||||
width: 100%;
|
||||
background: #eee;
|
||||
color: black;
|
||||
padding: 8px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
button {
|
||||
margin-top: 10px;
|
||||
padding: 8px 16px;
|
||||
border: none;
|
||||
background: #0077cc;
|
||||
color: white;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background: #005fa3;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
margin-top: 10px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
input, button {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.emoji-wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.emoji-button {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
bottom: 10px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
font-size: 1.2em;
|
||||
cursor: pointer;
|
||||
}
|
Loading…
Add table
Reference in a new issue