質問編集履歴
3
修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
---
|
30
30
|
追記CSS
|
31
|
-
(header.
|
31
|
+
(header.scss)
|
32
32
|
```
|
33
33
|
|
34
34
|
#nav-drawer {position: relative;float: right;margin-right: 25px;
|
2
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -28,7 +28,8 @@
|
|
28
28
|
|
29
29
|
---
|
30
30
|
追記CSS
|
31
|
-
|
31
|
+
(header.css)
|
32
|
+
```
|
32
33
|
|
33
34
|
#nav-drawer {position: relative;float: right;margin-right: 25px;
|
34
35
|
.nav-unshown {display:none;}
|
@@ -53,4 +54,69 @@
|
|
53
54
|
#nav-content::-webkit-scrollbar { width: 5px;}
|
54
55
|
#nav-content::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.973); border-radius: 10px;}
|
55
56
|
#nav-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.877);}}}}
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
```
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
```ここに言語を入力
|
66
|
+
<!DOCTYPE html>
|
67
|
+
<html>
|
68
|
+
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# website: http://ogp.me/ns/website#">
|
69
|
+
<title>Volvordnews</title>
|
70
|
+
<style></style>
|
71
|
+
|
72
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
73
|
+
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload', defer: true %>
|
74
|
+
<link href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" rel="stylesheet">
|
75
|
+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
76
|
+
<meta name="theme-color" content="#323a47">
|
77
|
+
<meta name="description" content="/" />
|
78
|
+
<meta property="og:url" content= "https://www.volvordnews.com" />
|
79
|
+
<meta property="og:type" content="website" />
|
80
|
+
<meta property="og:title" content= "volvord" />
|
81
|
+
<meta property="og:description" content= "/" />
|
82
|
+
<meta property="og:site_name" content="volvordnews" />
|
83
|
+
<%# <meta property="og:image" content="<%= asset_url('volvordnews.png')%>
|
84
|
+
<meta property="og:image" content='http://www.volvordnews.com/assets/volvordnews.png' />
|
85
|
+
<meta name="twitter:card" content="summary_large_image"/>
|
86
|
+
<meta name="twitter:site" content="@mbaby__8"/>
|
87
|
+
<meta name="twitter:title" content="volvordnews"/>
|
88
|
+
<meta name="twitter:description" content="View the album on Flickr." />
|
89
|
+
<meta name="twitter:image" content="<%= asset_url('volvordnews.png')%>"/>
|
90
|
+
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1">
|
91
|
+
<meta property="fb:app_id" content="250609959307951" />
|
92
|
+
<meta name="apple-mobile-web-app-title" content="volvordnews">
|
93
|
+
<%# <%= favicon_link_tag '/volvord-logo-3-true.png' %>
|
94
|
+
<%= favicon_link_tag('favicon.ico') %>
|
95
|
+
<link rel="apple-touch-icon" sizes="57x57" href="/assets/favicons/apple-touch-icon57.png">
|
96
|
+
<link rel="apple-touch-icon" sizes="60x60" href="/assets/favicons/apple-touch-icon60.png">
|
97
|
+
<link rel="apple-touch-icon" sizes="72x72" href="/assets/favicons/apple-touch-icon72.png">
|
98
|
+
<link rel="apple-touch-icon" sizes="76x76" href="/assets/favicons/apple-touch-icon76.png">
|
99
|
+
<link rel="apple-touch-icon" sizes="114x114" href="/assets/favicons/apple-touch-icon114.png">
|
100
|
+
<link rel="apple-touch-icon" sizes="120x120" href="/assets/favicons/apple-touch-icon120.png">
|
101
|
+
<link rel="apple-touch-icon" sizes="144x144" href="/assets/favicons/apple-touch-icon144.png">
|
102
|
+
<link rel="apple-touch-icon" sizes="152x152" href="/assets/favicons/apple-touch-icon152.png">
|
103
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicons/apple-touch-icon180.png">
|
104
|
+
|
105
|
+
<%= csrf_meta_tags %>
|
106
|
+
<%= csp_meta_tag %>
|
107
|
+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
|
108
|
+
<%# <script src="https://cdnjs.cloudflare.com/ajax/libs/jscroll/2.4.1/jquery.jscroll.min.js"></script> %>
|
109
|
+
<script data-ad-client="ca-pub-1052638481967815" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
110
|
+
|
111
|
+
</head>
|
112
|
+
<body id="<%= controller.controller_name %>">
|
113
|
+
<div id="container">
|
114
|
+
<header><%= render "shared/header" %></header>
|
115
|
+
<aside><%= render "shared/sidebar" %></aside>
|
116
|
+
<main><%= yield %></main>
|
117
|
+
</div>
|
118
|
+
|
119
|
+
</body>
|
120
|
+
</html>
|
121
|
+
|
56
122
|
```
|
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -23,4 +23,34 @@
|
|
23
23
|
|
24
24
|
などで非同期で読み込めますか?
|
25
25
|
|
26
|
-
教えて
|
26
|
+
教えて頂けると幸いです。
|
27
|
+
|
28
|
+
|
29
|
+
---
|
30
|
+
追記CSS
|
31
|
+
```ここに言語を入力
|
32
|
+
|
33
|
+
#nav-drawer {position: relative;float: right;margin-right: 25px;
|
34
|
+
.nav-unshown {display:none;}
|
35
|
+
#nav-open {display: inline-block;width: 30px;height: 40px;vertical-align: middle;}
|
36
|
+
#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;}
|
37
|
+
#nav-open span:before { bottom: -8px;}
|
38
|
+
#nav-open span:after {bottom: -16px;}
|
39
|
+
#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;}
|
40
|
+
#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%);
|
41
|
+
.footerpolicy{font-weight: bold;border-top: 2px solid rgb(19, 18, 18);}
|
42
|
+
.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;}}
|
43
|
+
.coming-soon{margin: 0;padding:0;
|
44
|
+
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;
|
45
|
+
img{ padding-left:1px;margin-bottom: 3px;}}}
|
46
|
+
p{width: 100%;height: 6em;margin-top: 0;margin-bottom: 0;font-size: 1.5em;line-height: 6em;letter-spacing: 4px;
|
47
|
+
a{color: rgb(43, 41, 41);width: 100%;display: block;padding-left: 2em;}
|
48
|
+
a:hover{background-color:#2b2929; color:white;}
|
49
|
+
img{margin:0;padding:0;vertical-align:middle;}
|
50
|
+
span{ font-weight:bold;vertical-align:middle; padding-left:4%;}}}
|
51
|
+
#nav-input:checked ~ #nav-close {display: block;opacity: .5;}
|
52
|
+
#nav-input:checked ~ #nav-content {-webkit-transform: translateX(0%);transform: translateX(0%);/*中身を表示(右へスライド)*/box-shadow: 2px 2px 23px 3px rgba(68, 66, 66, 0.7);}
|
53
|
+
#nav-content::-webkit-scrollbar { width: 5px;}
|
54
|
+
#nav-content::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.973); border-radius: 10px;}
|
55
|
+
#nav-content::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.877);}}}}
|
56
|
+
```
|