-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
109 lines (93 loc) · 2.12 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
.post-container {
position: relative;
margin-bottom: 50px;
}
.alert {
padding-top: 40px; /* Add space at the top to ensure text does not overlap with char-count and btn-copy */
}
.char-count {
position: absolute;
top: 4px;
right: 10px;
font-size: 0.9rem;
color: #555;
}
.btn-copy {
position: absolute;
top: 4px !important;
left: -1px !important;
font-size: 0.9rem;
background-color: #007bff;
color: #fff;
border: none;
cursor: pointer;
padding: 5px 10px;
border-radius: 3px;
box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
}
.btn-copy:hover {
background-color: #0056b3;
}
.btn-copy.copied {
background-color: #28a745; /* Bootstrap green color */
border-color: #28a745;
}
h3, textarea { /* Assuming your headlines are h3 elements */
margin-bottom: 15px; /* Adjust the value as needed */
margin-top: 15px; /* Adjust the value as needed */
}
ol { /* Assuming your headlines are h2 elements */
margin-top: 50px; /* Adjust the value as needed */
margin-bottom: 50px; /* Adjust the value as needed */
color: #888;
}
#previewArea a {
color: #007bff; /* Bootstrap's default link color */
text-decoration: underline;
}
#charLimit {
width: 70px;
margin-right: 10px !important;
}
.btn-secondary {
margin-top: -5px;
left: 0;
font-size: 0.9rem;
background-color: #007bff;
color: #fff;
border: none;
cursor: pointer;
padding: 5px 10px;
border-radius: 3px;
box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.subtitle {
animation-name: fadeIn;
animation-duration: 1s;
}
.jumbotron {
padding-top: 10px !important;
padding-bottom: 10px !important;
}
.btn-copy.copied {
background-color: #28a745; /* Bootstrap green color */
border-color: #28a745;
}
.footer {
background-color: rgb(230, 230, 230);
color: #d2d2d2;
position: fixed;
left: 0;
bottom: 0;
width: 100%;
padding-top: 2px !important; /* reduce padding-top to half */
padding-bottom: 2px !important; /* reduce padding-bottom to half */
font-size: 0.9em;
}
.copied-post .alert {
background-color: #e6ffe6; /* This is a very light green tint */
}