-
Notifications
You must be signed in to change notification settings - Fork 0
/
homeStyle.css
108 lines (108 loc) · 1.75 KB
/
homeStyle.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
.container{
width: 70vw;
margin: 0 auto;
margin-top: 60px;
background: black;
min-height: 100vh;
}
.newPost{
width: 70%;
margin: 10px auto;
background: white;
border-radius: 10px;
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 10px 30px;
}
.savedPost{
width: 70%;
margin: 10px auto;
background: white;
border-radius: 10px;
display: flex;
flex-direction: row;
align-items: flex-start;
padding: 10px 30px;
}
#title{
box-sizing:border-box;
width: 100%;
padding:10px 0;
margin-bottom: 10px;
color:#006A4E;
border:none;
border-bottom:1px solid#386496;
outline:none;
background: transparent;
font-size:20px;
}
form{
width: 100%;
}
#link{
height: 30px;
width: 75%;
margin-right: 10px;
padding-left: 10px;
}
button {
background-color: #386496;
border-radius: 4px;
color: #0f0;
font-size: 1em;
height: 40px;
width: 10%;
margin: 0;
margin-right: 10px;
border: 0px solid;
cursor: pointer;
}
textarea{
width: 100%;
}
#subForm{
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
}
.votes{
width: 10%;
display: flex;
flex-direction: column;
align-items: center;
}
#up{
width: 100%;
}
#down{
width: 100%;
}
#vote{
font-size: 1.5em;
}
.postDetail{
font-size: 2em;
margin: auto auto;
width: 80%;
display: flex;
flex-direction: column;
color: black;
}
.postDetail a{
text-decoration: none;
color: #386496;
transition: color 0.2s ease-out;
font-weight: 600;
}
.postDetail a:hover{
color: #0f0;
}
#titleSpan a{
text-transform: uppercase;
}
#authorLink{
margin-top: 20px;
align-self: flex-end;
}