質問編集履歴

1

CSSを追記しました。

2020/06/18 23:44

投稿

Karafuru
Karafuru

スコア0

test CHANGED
File without changes
test CHANGED
@@ -76,6 +76,74 @@
76
76
 
77
77
  <?php wp_reset_postdata(); ?>
78
78
 
79
+
80
+
81
+ /* Wp-Pagenavi */
82
+
83
+ .wp-pagenavi {
84
+
85
+ clear: both;
86
+
87
+ text-align:center;
88
+
89
+ }
90
+
91
+ .wp-pagenavi a, .wp-pagenavi span {
92
+
93
+ color: #fff;
94
+
95
+ background-color: #1C181A;
96
+
97
+ border: 1px solid #1C181A;
98
+
99
+ padding: 5px 12px;
100
+
101
+ margin: 0 2px;
102
+
103
+ white-space: nowrap;
104
+
105
+ -moz-border-radius: 3px;
106
+
107
+ -webkit-border-radius: 3px;
108
+
109
+ border-radius: 3px;
110
+
111
+ -webkit-transition: 0.2s ease-in-out;
112
+
113
+ -moz-transition: 0.2s ease-in-out;
114
+
115
+ -o-transition: 0.2s ease-in-out;
116
+
117
+ transition: 0.2s ease-in-out;
118
+
119
+ text-align: center;
120
+
121
+ text-decoration: none;
122
+
123
+ }
124
+
125
+ .wp-pagenavi a:hover{
126
+
127
+ color: #FFF;
128
+
129
+ background-color: #9400d3;
130
+
131
+ border-color: #9400d3;
132
+
133
+ }
134
+
135
+ .wp-pagenavi span.current{
136
+
137
+ color: #777;
138
+
139
+ background-color: #CFD5DA;
140
+
141
+ border-color: #CFD5D;
142
+
143
+ font-weight: bold;
144
+
145
+ }
146
+
79
147
  ```
80
148
 
81
149