質問編集履歴
3
sentence
test
CHANGED
File without changes
|
test
CHANGED
@@ -38,7 +38,9 @@
|
|
38
38
|
|
39
39
|
|
40
40
|
|
41
|
+
<span property="itemListElement" typeof="ListItem">
|
42
|
+
|
41
|
-
<
|
43
|
+
<a property="item" typeof="WebPage" title="Go to site名" href="http://localhost:~~" class="home"><span property="name">ホーム</span></a></span>
|
42
44
|
|
43
45
|
|
44
46
|
|
2
sentence
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,9 +26,41 @@
|
|
26
26
|
|
27
27
|
パンくずリスト「お知らせ」部分を検証でみた場合のコード
|
28
28
|
|
29
|
+
|
30
|
+
|
29
31
|
```
|
30
32
|
|
33
|
+
<div class="breadcrumbs">
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
<!-- Breadcrumb NavXT 6.4.0 -->
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
<span property="itemListElement" typeof="ListItem"><a property="item" typeof="WebPage" title="Go to site名" href="http://localhost:~~" class="home"><span property="name">ホーム</span></a></span>
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
>
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
<span property="itemListElement" typeof="ListItem">
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
<a property="item" typeof="WebPage" title="Go to ブログ." href="http://localhost:~~~" class="post-root post post-post"><span property="name">ブログ</span></a>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
<meta property="position" content="2"></span>
|
58
|
+
|
59
|
+
>
|
60
|
+
|
61
|
+
|
62
|
+
|
31
|
-
<span class="archive taxonomy category current-item">
|
63
|
+
<span class="archive taxonomy category current-item">ブログ</span></div>
|
32
64
|
|
33
65
|
```
|
34
66
|
|
1
code
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,6 +24,8 @@
|
|
24
24
|
|
25
25
|
|
26
26
|
|
27
|
+
パンくずリスト「お知らせ」部分を検証でみた場合のコード
|
28
|
+
|
27
29
|
```
|
28
30
|
|
29
31
|
<span class="archive taxonomy category current-item">お知らせ</span>
|
@@ -31,6 +33,88 @@
|
|
31
33
|
```
|
32
34
|
|
33
35
|
|
36
|
+
|
37
|
+
パンくずリスト部分のCssコード(パンくずリスト全体をbreadcrumbsというclass名のdivタグで囲っています)
|
38
|
+
|
39
|
+
```
|
40
|
+
|
41
|
+
.breadcrumbs{
|
42
|
+
|
43
|
+
margin-left: 3em;
|
44
|
+
|
45
|
+
margin-top: 20px;
|
46
|
+
|
47
|
+
}
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
.breadcrumbs span{
|
52
|
+
|
53
|
+
font-size: 14px;
|
54
|
+
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
.breadcrumbs a{
|
60
|
+
|
61
|
+
text-decoration: underline;
|
62
|
+
|
63
|
+
color: #744775;
|
64
|
+
|
65
|
+
}
|
66
|
+
|
67
|
+
```
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
以下の部分は本来ブログカードのカテゴリ部分に当たっているcssなのですが、この部分がパンくずリストのカテゴリ部分にも反映されています。
|
74
|
+
|
75
|
+
```
|
76
|
+
|
77
|
+
.category{
|
78
|
+
|
79
|
+
margin-left: 40px;
|
80
|
+
|
81
|
+
border: solid 2px #F4D03F;
|
82
|
+
|
83
|
+
background-color: #F4D03F;
|
84
|
+
|
85
|
+
width: 75px;
|
86
|
+
|
87
|
+
height: 25px;
|
88
|
+
|
89
|
+
color: white;
|
90
|
+
|
91
|
+
font-size: 18px;
|
92
|
+
|
93
|
+
border-radius: 10px;
|
94
|
+
|
95
|
+
text-align: center;
|
96
|
+
|
97
|
+
display: flex;
|
98
|
+
|
99
|
+
justify-content: center; /*左右中央揃え*/
|
100
|
+
|
101
|
+
align-items: center;
|
102
|
+
|
103
|
+
position: relative;
|
104
|
+
|
105
|
+
z-index: 2;
|
106
|
+
|
107
|
+
}
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
.category a{
|
112
|
+
|
113
|
+
color: white;
|
114
|
+
|
115
|
+
}
|
116
|
+
|
117
|
+
```
|
34
118
|
|
35
119
|
|
36
120
|
|