質問編集履歴

3

修正

2020/12/14 05:43

投稿

mbaby__8
mbaby__8

スコア66

test CHANGED
File without changes
test CHANGED
@@ -58,7 +58,7 @@
58
58
 
59
59
  追記CSS
60
60
 
61
- (header.css)
61
+ (header.scss)
62
62
 
63
63
  ```
64
64
 

2

追記

2020/12/14 05:43

投稿

mbaby__8
mbaby__8

スコア66

test CHANGED
File without changes
test CHANGED
@@ -58,7 +58,9 @@
58
58
 
59
59
  追記CSS
60
60
 
61
- ```ここに言語を入力
61
+ (header.css)
62
+
63
+ ```
62
64
 
63
65
 
64
66
 
@@ -108,4 +110,134 @@
108
110
 
109
111
  #nav-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.877);}}}}
110
112
 
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
111
- ```
121
+ ```
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+ ```ここに言語を入力
130
+
131
+ <!DOCTYPE html>
132
+
133
+ <html>
134
+
135
+ <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#">
136
+
137
+ <title>Volvordnews</title>
138
+
139
+ <style></style>
140
+
141
+
142
+
143
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
144
+
145
+ <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload', defer: true %>
146
+
147
+ <link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
148
+
149
+ <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
150
+
151
+ <meta name="theme-color" content="#323a47">
152
+
153
+ <meta name="description" content="/" />
154
+
155
+ <meta property="og:url" content= "https://www.volvordnews.com" />
156
+
157
+ <meta property="og:type" content="website" />
158
+
159
+ <meta property="og:title" content= "volvord" />
160
+
161
+ <meta property="og:description" content= "/" />
162
+
163
+ <meta property="og:site_name" content="volvordnews" />
164
+
165
+ <%# <meta property="og:image" content="<%= asset_url('volvordnews.png')%>
166
+
167
+ <meta property="og:image" content='http://www.volvordnews.com/assets/volvordnews.png' />
168
+
169
+ <meta name="twitter:card" content="summary_large_image"/>
170
+
171
+ <meta name="twitter:site" content="@mbaby__8"/>
172
+
173
+ <meta name="twitter:title" content="volvordnews"/>
174
+
175
+ <meta name="twitter:description" content="View the album on Flickr." />
176
+
177
+ <meta name="twitter:image" content="<%= asset_url('volvordnews.png')%>"/>
178
+
179
+ <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1">
180
+
181
+ <meta property="fb:app_id" content="250609959307951" />
182
+
183
+ <meta name="apple-mobile-web-app-title" content="volvordnews">
184
+
185
+ <%# <%= favicon_link_tag '/volvord-logo-3-true.png' %>
186
+
187
+ <%= favicon_link_tag('favicon.ico') %>
188
+
189
+ <link rel="apple-touch-icon" sizes="57x57" href="/assets/favicons/apple-touch-icon57.png">
190
+
191
+ <link rel="apple-touch-icon" sizes="60x60" href="/assets/favicons/apple-touch-icon60.png">
192
+
193
+ <link rel="apple-touch-icon" sizes="72x72" href="/assets/favicons/apple-touch-icon72.png">
194
+
195
+ <link rel="apple-touch-icon" sizes="76x76" href="/assets/favicons/apple-touch-icon76.png">
196
+
197
+ <link rel="apple-touch-icon" sizes="114x114" href="/assets/favicons/apple-touch-icon114.png">
198
+
199
+ <link rel="apple-touch-icon" sizes="120x120" href="/assets/favicons/apple-touch-icon120.png">
200
+
201
+ <link rel="apple-touch-icon" sizes="144x144" href="/assets/favicons/apple-touch-icon144.png">
202
+
203
+ <link rel="apple-touch-icon" sizes="152x152" href="/assets/favicons/apple-touch-icon152.png">
204
+
205
+ <link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon180.png">
206
+
207
+
208
+
209
+ <%= csrf_meta_tags %>
210
+
211
+ <%= csp_meta_tag %>
212
+
213
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
214
+
215
+ <%# <script src="https://cdnjs.cloudflare.com/ajax/libs/jscroll/2.4.1/jquery.jscroll.min.js"></script> %>
216
+
217
+ <script data-ad-client="ca-pub-1052638481967815" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
218
+
219
+
220
+
221
+ </head>
222
+
223
+ <body id="<%= controller.controller_name %>">
224
+
225
+ <div id="container">
226
+
227
+ <header><%= render "shared/header" %></header>
228
+
229
+ <aside><%= render "shared/sidebar" %></aside>
230
+
231
+ <main><%= yield %></main>
232
+
233
+ </div>
234
+
235
+
236
+
237
+ </body>
238
+
239
+ </html>
240
+
241
+
242
+
243
+ ```

1

追記

2020/12/14 05:43

投稿

mbaby__8
mbaby__8

スコア66

test CHANGED
File without changes
test CHANGED
@@ -48,4 +48,64 @@
48
48
 
49
49
 
50
50
 
51
- 教えていただけると幸いです。
51
+ 教えてけると幸いです。
52
+
53
+
54
+
55
+
56
+
57
+ ---
58
+
59
+ 追記CSS
60
+
61
+ ```ここに言語を入力
62
+
63
+
64
+
65
+ #nav-drawer {position: relative;float: right;margin-right: 25px;
66
+
67
+ .nav-unshown {display:none;}
68
+
69
+ #nav-open {display: inline-block;width: 30px;height: 40px;vertical-align: middle;}
70
+
71
+ #nav-open span, #nav-open span:before, #nav-open span:after {position: absolute;height: 3.1px;width: 3em; border-radius: 3px; background: rgb(255, 255, 255); display: block; content: ''; cursor: pointer; margin-top: 10px;}
72
+
73
+ #nav-open span:before { bottom: -8px;}
74
+
75
+ #nav-open span:after {bottom: -16px;}
76
+
77
+ #nav-close {display: none;position: fixed;z-index: 99;top: 0;left: 0;width: 100%;height: 100%;background: black;opacity: 0;transition: .3s ease-in-out;}
78
+
79
+ #nav-content {overflow: auto;position: fixed; top: 0; left: 0; z-index: 9999;width: 90%;max-width: 430px;height: 100%;background: #fff; transition: .3s ease-in-out;-webkit-transform: translateX(-105%);transform: translateX(-105%);
80
+
81
+ .footerpolicy{font-weight: bold;border-top: 2px solid rgb(19, 18, 18);}
82
+
83
+ .footerlogo{height:300px;background-color: rgb(43, 42, 42);text-align: center; h2{font-size: 20px;padding-top: 19px;line-height:100px;} p{font-size: 6px;}}
84
+
85
+ .coming-soon{margin: 0;padding:0;
86
+
87
+ h4{font-size: 1.8em;margin: 0;width: 100%;display: block;text-align: center;height: 9em;line-height:9em;background-color: rgb(20, 19, 19);color: white;
88
+
89
+ img{ padding-left:1px;margin-bottom: 3px;}}}
90
+
91
+ p{width: 100%;height: 6em;margin-top: 0;margin-bottom: 0;font-size: 1.5em;line-height: 6em;letter-spacing: 4px;
92
+
93
+ a{color: rgb(43, 41, 41);width: 100%;display: block;padding-left: 2em;}
94
+
95
+ a:hover{background-color:#2b2929; color:white;}
96
+
97
+ img{margin:0;padding:0;vertical-align:middle;}
98
+
99
+ span{ font-weight:bold;vertical-align:middle; padding-left:4%;}}}
100
+
101
+ #nav-input:checked ~ #nav-close {display: block;opacity: .5;}
102
+
103
+ #nav-input:checked ~ #nav-content {-webkit-transform: translateX(0%);transform: translateX(0%);/*中身を表示(右へスライド)*/box-shadow: 2px 2px 23px 3px rgba(68, 66, 66, 0.7);}
104
+
105
+ #nav-content::-webkit-scrollbar { width: 5px;}
106
+
107
+ #nav-content::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.973); border-radius: 10px;}
108
+
109
+ #nav-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.877);}}}}
110
+
111
+ ```