+2
Gemfile
+2
Gemfile
+2
Gemfile.lock
+2
Gemfile.lock
···
218
218
rake (13.2.1)
219
219
rdoc (6.6.3.1)
220
220
psych (>= 4.0.0)
221
+
redcarpet (3.6.0)
221
222
regexp_parser (2.9.0)
222
223
reline (0.5.2)
223
224
io-console (~> 0.5)
···
281
282
pry
282
283
puma (>= 5.0)
283
284
rails (~> 7.1.3, >= 7.1.3.2)
285
+
redcarpet (~> 3.6)
284
286
selenium-webdriver
285
287
sprockets-rails
286
288
sqlite3 (~> 1.4)
+1
app/assets/config/manifest.js
+1
app/assets/config/manifest.js
+16
-6
app/assets/stylesheets/application.css
+16
-6
app/assets/stylesheets/application.css
···
17
17
@font-face {
18
18
font-family: 'Raleway';
19
19
font-weight: 400;
20
-
src: url('Raleway-VariableFont_wght.ttf');
20
+
src: url("Raleway-VariableFont_wght.ttf");
21
21
}
22
22
23
23
@font-face {
24
24
font-family: 'Gudea';
25
-
src: url ('Gudea-Regular.ttf')
25
+
src: url("Gudea-Regular.ttf")
26
26
}
27
27
28
28
body {
29
29
background: url('bg5.jpg') repeat;
30
-
font: 1em 'Raleway', 'courier new';
30
+
font-family: 'Raleway', 'sans-serif';
31
+
font-size: 1.1rem;
31
32
}
32
33
33
34
.main {
···
47
48
48
49
a:link, a:link:active, a:visited, a:visited:active {
49
50
color: #509145;
50
-
font-family: 'Gudea', sans-serif
51
+
font-family: inherit;
51
52
}
52
53
53
54
a:hover {
···
144
145
margin: 1em 0 1em 0;
145
146
}
146
147
147
-
.article_date {
148
+
div.article_date {
148
149
/* color: #4f6599; */
149
150
text-transform: lowercase;
150
151
font-family: 'Gudea', sans-serif;
152
+
margin-top:1em;
153
+
font-size:1.1rem;
151
154
}
152
155
153
156
div.article_date_text {
···
167
170
}
168
171
169
172
.pbody code.inline {
170
-
display: inline-block;
173
+
font-family: 'Gudea', sans-serif;
174
+
display: inline-block;
171
175
}
172
176
173
177
.pbody code {
178
+
font-family: 'Gudea', sans-serif;
174
179
color: #509145;
175
180
padding-left: 2em;
176
181
display: block;
···
179
184
margin-top: 1em;
180
185
}
181
186
187
+
span.tag_link {
188
+
font-family: 'Gudea', sans-serif;
189
+
display: inline-block;
190
+
font-size: 1em;
191
+
}
+7
app/helpers/application_helper.rb
+7
app/helpers/application_helper.rb
+1
app/javascript/application.js
+1
app/javascript/application.js
+3
app/views/action_markdown/contents/_content.html.erb
+3
app/views/action_markdown/contents/_content.html.erb
+1
-1
app/views/articles/_form.html.erb
+1
-1
app/views/articles/_form.html.erb
+4
-2
app/views/articles/show.html.erb
+4
-2
app/views/articles/show.html.erb
···
6
6
<%= image_tag url_for(@article.icon) %>
7
7
<% end %>
8
8
9
-
<p class="article_date"><div class="article_date_text"><%= @article.created_at.strftime('%Y %b %d') %></div> | <%= link_to @article.tag.name, @article.tag %></p>
9
+
<div class="article_date">
10
+
<div class="article_date_text"><%= @article.created_at.strftime('%Y %b %d') %></div> <span class="tag_link">| <%= link_to @article.tag.name, @article.tag %></span>
11
+
</div>
10
12
11
-
<div class="pbody"><%== @article.body %></div>
13
+
<div class="pbody"><%== markdown(@article.body) %></div>
12
14
13
15
<% if user_signed_in? %>
14
16
<p>