-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
118 lines (118 loc) · 2.08 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Roboto", monospace, Verdana, Geneva, Tahoma, sans-serif;
color: black;
}
body {
padding: 10%;
background-color: #e0e0e0;
}
nav {
display: flex;
justify-content: space-between;
font-weight: bolder;
}
nav a {
text-decoration: none;
border: none;
background-color: rgb(83, 124, 124);
color: white;
border-radius: 5%;
padding: 1%;
}
nav a:hover {
box-shadow: 2px 2px 10px black;
cursor: pointer;
}
.search input {
padding: 1% 2%;
width: 50%;
font-weight: bold;
}
.post {
/* background-color: whitesmoke; */
background-color: white;
margin: 2%;
border-radius: 5px;
padding: 5%;
}
.post h2 {
font-weight: bolder;
margin: -1.5%;
}
.post p {
margin: 2% 1%;
font-weight: bolder;
font-display: inherit;
/* border-left: 2px solid red; */
}
.post a {
font-size: large;
font-weight: bold;
color: rgb(139, 201, 47);
}
/* details page */
.details {
font-weight: bold;
line-height: 150%;
color: black;
}
.details h1 {
margin: -1.5% 0;
font-weight: bolder;
text-shadow: 1px 1px 2px black, 0 0 25px rgb(64, 129, 204),
0 0 5px rgb(39, 39, 168);
}
.details p {
margin: 2% 0;
}
.delete {
padding: 1% 2%;
border: none;
border-radius: 5%;
font-weight: bold;
font-size: medium;
color: white;
background-color: rgb(248, 71, 71);
}
.delete:hover {
box-shadow: 2px 2px 10px black;
text-decoration: underline;
}
/* create page */
.create form {
display: flex;
flex-wrap: wrap;
padding: 1%;
}
.create > * {
font-size: large;
font-weight: bold;
}
.create form input[type="text"] {
flex-basis: 70%;
margin: 1% 0;
padding: 1%;
}
.create form textarea {
flex-basis: 100%;
padding: 1%;
margin: 1% 0;
height: 20vh;
}
.create form button {
padding: 1% 3%;
font-size: large;
font-weight: bold;
color: white;
background-color: rgb(28, 91, 163);
border-radius: 5%;
border: none;
}
.create form button:hover {
box-shadow: 2px 2px 10px black;
text-decoration: underline;
}