teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

コード修正

2021/06/23 02:15

投稿

Rchan
Rchan

スコア7

title CHANGED
File without changes
body CHANGED
@@ -43,7 +43,7 @@
43
43
 
44
44
 
45
45
 
46
- css
46
+
47
47
  body {
48
48
  font-family: "Open Sans", sans-serif;
49
49
  color: #444444;

3

<title>OnePage Bootstrap Template - Index</title> の追加

2021/06/23 02:15

投稿

Rchan
Rchan

スコア7

title CHANGED
File without changes
body CHANGED
@@ -10,6 +10,7 @@
10
10
  <meta name=”viewport” content=”width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no”>
11
11
 
12
12
 
13
+ <title>OnePage Bootstrap Template - Index</title>
13
14
  <meta content="" name="description">
14
15
  <meta content="" name="keywords">
15
16
 

2

markdownした

2021/06/23 02:14

投稿

Rchan
Rchan

スコア7

title CHANGED
File without changes
body CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ロゴの位置を変えたく、ディズプレイの大きさによってロゴの位置がずれないよう固定したいです。
4
4
 
5
- <!DOCTYPE html>
5
+ ```<!DOCTYPE html>
6
6
 
7
7
 
8
8
  <head>
@@ -95,5 +95,7 @@
95
95
  #header .logo img {
96
96
  max-height: 40px;
97
97
  }
98
+ コード
99
+ ```
98
100
 
99
101
  一部抜粋です。他必要な情報があれば追記します。

1

不必要なコードを消した。

2021/06/23 02:08

投稿

Rchan
Rchan

スコア7

title CHANGED
File without changes
body CHANGED
@@ -3,33 +3,18 @@
3
3
  ロゴの位置を変えたく、ディズプレイの大きさによってロゴの位置がずれないよう固定したいです。
4
4
 
5
5
  <!DOCTYPE html>
6
- <html lang="en">
7
6
 
7
+
8
8
  <head>
9
9
  <meta charset="utf-8">
10
10
  <meta name=”viewport” content=”width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no”>
11
11
 
12
- <title>OnePage Bootstrap Template - Index</title>
12
+
13
13
  <meta content="" name="description">
14
14
  <meta content="" name="keywords">
15
15
 
16
- <!-- Favicons -->
17
- <link href="assets/img/favicon.png" rel="icon">
18
- <link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
19
16
 
20
- <!-- Google Fonts -->
21
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
22
-
23
- <!-- Vendor CSS Files -->
24
- <link href="assets/vendor/aos/aos.css" rel="stylesheet">
25
- <link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
26
- <link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
27
- <link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
28
- <link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
29
- <link href="assets/vendor/remixicon/remixicon.css" rel="stylesheet">
30
- <link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
31
-
32
- <!-- Template Main CSS File -->
17
+
33
18
  <link href="assets/css/style.css" rel="stylesheet">
34
19
 
35
20
  <!-- =======================================================
@@ -50,17 +35,7 @@
50
35
  <!-- Uncomment below if you prefer to use an image logo -->
51
36
  <!-- <a href="index.html" class="logo"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
52
37
 
53
- <nav id="navbar" class="navbar">
38
+
54
- <ul>
55
- <li><a class="nav-link scrollto active" href="#hero">Home</a></li>
56
- <li><a class="nav-link scrollto" href="#about">About</a></li>
57
- <li><a class="nav-link scrollto" href="#services">Services</a></li>
58
- <li><a class="nav-link scrollto" href="#pricing">Pricing</a></li>
59
- <li><a class="nav-link scrollto" href="#contact">Contact</a></li>
60
- <li><a class="getstarted scrollto" href="#about">Get Started</a></li>
61
- </ul>
62
- <i class="bi bi-list mobile-nav-toggle"></i>
63
- </nav><!-- .navbar -->
64
39
 
65
40
  </div>
66
41
  </header><!-- End Header -->
@@ -88,98 +63,7 @@
88
63
  font-family: "Raleway", sans-serif;
89
64
  }
90
65
 
91
- /*--------------------------------------------------------------
92
- # Back to top button
93
- --------------------------------------------------------------*/
94
- .back-to-top {
95
- position: fixed;
96
- visibility: hidden;
97
- opacity: 0;
98
- right: 15px;
99
- bottom: 15px;
100
- z-index: 996;
101
- background: #f09444;
102
- width: 40px;
103
- height: 40px;
104
- border-radius: 4px;
105
- transition: all 0.4s;
106
- }
107
66
 
108
- .back-to-top i {
109
- font-size: 28px;
110
- color: #fff;
111
- line-height: 0;
112
- }
113
-
114
- .back-to-top:hover {
115
- background: #3e9bdd;
116
- color: #fff;
117
- }
118
-
119
- .back-to-top.active {
120
- visibility: visible;
121
- opacity: 1;
122
- }
123
-
124
- /*--------------------------------------------------------------
125
- # Preloader
126
- --------------------------------------------------------------*/
127
- #preloader {
128
- position: fixed;
129
- top: 0;
130
- left: 0;
131
- right: 0;
132
- bottom: 0;
133
- z-index: 9999;
134
- overflow: hidden;
135
- background: #fff;
136
- }
137
-
138
- #preloader:before {
139
- content: "";
140
- position: fixed;
141
- top: calc(50% - 30px);
142
- left: calc(50% - 30px);
143
- border: 6px solid #f09444;
144
- border-top-color: #fff;
145
- border-bottom-color: #fff;
146
- border-radius: 50%;
147
- width: 60px;
148
- height: 60px;
149
- -webkit-animation: animate-preloader 1s linear infinite;
150
- animation: animate-preloader 1s linear infinite;
151
- }
152
-
153
- @-webkit-keyframes animate-preloader {
154
- 0% {
155
- transform: rotate(0deg);
156
- }
157
- 100% {
158
- transform: rotate(360deg);
159
- }
160
- }
161
-
162
- @keyframes animate-preloader {
163
- 0% {
164
- transform: rotate(0deg);
165
- }
166
- 100% {
167
- transform: rotate(360deg);
168
- }
169
- }
170
-
171
- /*--------------------------------------------------------------
172
- # Disable aos animation delay on mobile devices
173
- --------------------------------------------------------------*/
174
- @media screen and (max-width: 768px) {
175
- [data-aos-delay] {
176
- transition-delay: 0 !important;
177
- }
178
- }
179
-
180
- /*--------------------------------------------------------------
181
- # Header
182
- --------------------------------------------------------------*/
183
67
  #header {
184
68
  transition: all 0.5s;
185
69
  /* 変更 ヘッダーの色を変えた 元fff 現E7E1D7*/
@@ -212,4 +96,4 @@
212
96
  max-height: 40px;
213
97
  }
214
98
 
215
- 一部抜粋です。
99
+ 一部抜粋です。他必要な情報があれば追記します。