forked from amrit03b/TravelTales
-
Notifications
You must be signed in to change notification settings - Fork 0
/
write.css
145 lines (116 loc) · 2.85 KB
/
write.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
/* Navbar styles (same as before) */
.navbar {
background-color: #C71585; /* Pink background color for the navbar */
}
.pink-bg {
background-color: #FFC0CB; /* Pink background color for the offcanvas body */
}
.pink-text {
color: #C71585; /* Pink color for the navbar brand text */
}
.nav-link {
font-size: 18px; /* Custom font size */
color: rgb(255, 255, 255); /* Custom link color */
margin-right: 15px; /* Custom margin between the nav items */
transition: all 0.3s; /* Smooth transition for size and color changes */
}
.nav-link:hover {
font-size: 20px; /* Slightly bigger font size on hover */
color: #FF69B4; /* Lighter pink color on hover */
}
.nav-link:active {
font-size: 20px; /* Slightly bigger font size on click */
color: #C71585; /* Darker pink color on click */
}
/* Writing section styles */
.writing-section {
padding: 50px 0;
background-image: url('images/writebg.jpg');
background-size: cover;
background-position: center;
width: 60%;
height: 120vh;
}
.writing-title {
text-align: center;
text-shadow: 0px 0px 5px #C71585;
}
.writing-form {
max-width: 600px;
margin: 0 auto;
padding: 40px;
background-color: #ffffff;
border-radius: 10px;
}
.form-group label {
color: #C71585;
}
.form-control:focus {
border-color: #C71585;
box-shadow: 0 0 5px #C24594;
}
.btn-primary {
background-color: #C71585;
border: none;
}
.btn-primary:hover, .btn-primary:active {
background-color: #B7147B !important;
}
.form-check-input {
margin-right: 10px;
}
.form-check-input:checked {
background-color: #C71585;
border-color: #C71585;
}
.form-check-input:focus {
outline: none !important;
box-shadow: 0 0 5px #C24594 !important;
}
/* Publishing options (same as before) */
.publishing-options {
background-color: #f1f1f1;
width: 40%;
max-height: 120vh;
padding: 70px 0;
overflow-y: scroll;
}
.publish-title {
text-align: center;
color: #C71585;
}
/* Style the journal cards */
.journal-card {
max-width: 24rem;
margin: auto;
}
/* Add these styles to your existing CSS file */
.card-img-top {
max-width: 100%; /* Set the maximum width of the image to 100% */
height: auto; /* Automatically adjust the height to maintain the aspect ratio */
object-fit: cover; /* Use object-fit to ensure the image covers the entire container */
}
@media screen and (max-width: 800px) {
.writing-section {
width: 100%;
}
.publishing-options {
width: 100%;
padding: 40px 0;
}
}
/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}