-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
172 lines (167 loc) · 3.91 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
/*Styles to handle full_commenting container*/
.full-commenting-container{
width : 50%;
font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
/*Styles for comment form*/
.comment_form{
width : 100%;
display : inline-flex;
}
/*Styles for div that contains textarea*/
.comment-input-container{
width : 80%;
height : 5rem;
text-align : left;
}
/*Styles for div that contains button*/
.comment-btn-container{
width : 20%;
height : 5rem;
text-align : center;
}
/*Styles that contains textarea*/
.comment-input{
width : 97%;
height : 90%;
text-align : left;
}
/*Styles that contains button*/
.comment-btn{
width : 100%;
height : 98%;
text-transform : uppercase;
font-weight : bolder;
border : none;
background-color : blue;
border : 2px solid gold;
text-align : center;
color : white;
cursor : pointer;
margin : 0% auto;
}
/*Styles for comment button hover and active effect*/
.comment-btn:hover, .comment-btn:active{
background-color : transparent;
color : black;
}
/*Style to handle every comment*/
.each_comment-container{
margin : 50px 2px;
padding-left : 3px;
padding-top : 3px;
box-shadow: 5px 5px rgb(185, 182, 182);
}
/*Style for commenter name*/
.commenter-name{
font-size : 1rem;
width : 50%;
font-weight: bolder;
text-shadow: 1px 1px gray;
}
/*Style for comment*/
.comment-body{
font-size : 1.2rem;
}
/*Style or Comment details container*/
.comment-details{
width : 100%;
display : inline-flex;
}
/*Style for comment date*/
.comment-date{
text-align : center;
width : 50%;
font-size: 0.7rem;
}
/*Style for comment counter*/
.comment_indicator{
margin : 0%;
text-align : center;
font-weight: bolder;
}
/*Style to handle the comment interval*/
.comment-time-ago{
text-align : center;
width : 50%;
font-size: 0.7rem;
}
/*Style to display error*/
.error-handler{
border : red solid 2px;
margin-top : 0%;
border-top : none;
text-align : center;
font-weight : bolder;
}
/*Style to display success message*/
.success-handler{
border : lightgreen solid 2px;
margin-top : 0%;
border-top : none;
text-align : center;
font-weight : bolder;
}
/*Style for div containing next and previous button*/
.next_previous_container{
display : inline-flex;
width : 100%;
}
/*Style for previous and next button*/
.previous_container, .next_container{
width : 50%;
height : 3rem;
}
/*Style to use for error message while trying to fetch comments*/
.big_error_handler{
text-align : center;
padding-top : 30%;
font-weight : bolder;
font-size : 1rem;
}
/*Animation style to display while sending a comment*/
.loading{
height: 2rem;
width: 2rem;
border-radius:50%;
border: solid gold;
border-right:4px solid transparent;
animation-name:rotate;
animation-duration: 0.5s;
animation-iteration-count: infinite;
margin-left : 30%;
}
/*Animation style to display while fetching comments*/
.loading-comment{
height: 4rem;
width: 4rem;
border-radius:50%;
border: solid gold;
border-right:4px solid transparent;
animation-name:rotate;
animation-duration: 0.5s;
animation-iteration-count: infinite;
margin-left : 40%;
margin-top : 10%;
}
/*Keyframes styles for all animations*/
@keyframes rotate{
0%{
transform:rotate(0);
}
50%{
transform:rotate(180deg);
}
100%{
transform:rotate(360deg);
}
}
/*Media query to enable responsiveness*/
@media screen and (max-width : 500px){
.full-commenting-container{
width : 100%;
}
.loading{
margin-left : 25%;
}
}