-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
144 lines (119 loc) · 2.23 KB
/
style.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/* Normalize */
* {
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
}
/* Popup And Blanket Style*/
#blanket{
position: absolute;
opacity: .6;
z-index: 100;
width: 100%;
height: 100%;
background-color: black;
padding: 10px;
display: none;
}
#popup {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 20%;
border: 1px solid white;
background-color: white;
border-radius: 10px;
padding: 3px;
z-index: 101;
display: none;
}
#username-container, #password-container {
display: inline-block;
width: 100%;
}
/* Header styles */
header {
height: 146.4px;
background-image: url("../blog/images/bots.svg");
background-position: center;
background-size: auto 122px;
position: relative;
}
header span {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
}
#new-blog-entry {
font-weight: 900;
color: #0000FF;
margin-left: .5em;
}
#new-blog-entry:hover {
color: #99CCFF;
}
.inline-block {
display: inline-block;
}
.hidden {
display: none;
}
header h1 {
font-family: "Courier New", Courier, monospace;
font-weight: 900;
display: inline-block;
}
/* Form Styles */
#form-container {
display: none;
margin: 1em;
width: 40%;
}
label[for="title"], label[for="blog-entry"] {
display: inline-block;
width: 50px;
}
#title-input, #blog-input {
margin-bottom: .25em;
}
#title-input input[type="text"] {
width: 611.733px;
}
textarea {
resize: none;
}
#button-container {
float: right;
}
/* Display Area Style */
#displayArea {
margin-top: 2em;
}
.blog-container {
width: 90%;
margin-left: auto;
margin-right: auto;
margin-bottom: 2em;
position: relative;
}
.blog-container h2 {
font-family: "Courier New", Courier, monospace;
margin-bottom: .5em;
}
.blog-main-entry {
width: 70%;
display: inline-block;
border-left: 1px solid #808080;
padding-left: .5em;
text-align: justify;
}
.blog-date {
display: inline-block;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
font-family: "Courier New", Courier, monospace;
}