Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e46503

Browse files
committed
Fixed table width on mobile and dark buttons
1 parent7b849f7 commit6e46503

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

‎html/index.html‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ <h1>{{ .Host }} — What is my IP address?</h1>
7474
<h2>What do we know about this IP address?</h2>
7575
<tableclass="info-table">
7676
<tr>
77-
<thscope="row">IPaddress</th>
77+
<thscope="row">IP&nbsp;address</th>
7878
<td>{{ .IP }}</td>
7979
</tr>
8080
<tr>
81-
<thscope="row">IPaddress (decimal)</th>
81+
<thscope="row">IP&nbsp;address (decimal)</th>
8282
<td>{{ .IPDecimal }}</td>
8383
</tr>
8484
{{ if .Country }}
@@ -103,7 +103,7 @@ <h2>What do we know about this IP address?</h2>
103103
</tr>
104104
{{ end }} {{ if .RegionCode }}
105105
<tr>
106-
<thscope="row">Regioncode</th>
106+
<thscope="row">Region&nbsp;code</th>
107107
<td>{{ .RegionCode }}</td>
108108
</tr>
109109
{{ end }} {{ if .MetroCode }}
@@ -113,7 +113,7 @@ <h2>What do we know about this IP address?</h2>
113113
</tr>
114114
{{ end }} {{ if .PostalCode }}
115115
<tr>
116-
<thscope="row">Postalcode</th>
116+
<thscope="row">Postal&nbsp;code</th>
117117
<td>{{ .PostalCode }}</td>
118118
</tr>
119119
{{ end }} {{ if .City }}
@@ -153,17 +153,17 @@ <h2>What do we know about this IP address?</h2>
153153
</tr>
154154
{{ end }} {{ if .UserAgent }} {{ if .UserAgent.Comment }}
155155
<tr>
156-
<thscope="row">Useragent</th>
156+
<thscope="row">User&nbsp;agent</th>
157157
<td>{{ .UserAgent.Product }}/{{ .UserAgent.Version }}</td>
158158
</tr>
159159
{{ end }} {{ if .UserAgent.Comment }}
160160
<tr>
161-
<thscope="row">Useragent: Comment</th>
161+
<thscope="row">User&nbsp;agent: Comment</th>
162162
<td>{{ .UserAgent.Comment }}</td>
163163
</tr>
164164
{{ end }} {{ if .UserAgent.RawValue }}
165165
<tr>
166-
<thscope="row">Useragent: Raw</th>
166+
<thscope="row">User&nbsp;agent: Raw</th>
167167
<td>{{ .UserAgent.RawValue }}</td>
168168
</tr>
169169
{{ end }} {{ end }}

‎html/styles.html‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@
5353
.info-tableth {
5454
padding:5px;
5555
border:2px solid#ababab;
56+
word-wrap: break-word;
5657
}
5758

5859
.info-tableth[scope="row"] {
5960
background-color:#d5d5d5;
6061
text-align: left;
61-
white-space: nowrap;
6262
}
6363

6464
.widgetbox {
@@ -114,7 +114,6 @@
114114
a {
115115
background-color:#161719;
116116
color:#d8d9da;
117-
/* text-decoration: underline; */
118117
}
119118
.ip {
120119
border:1px solid#313233;
@@ -138,13 +137,13 @@
138137
background-color:#2e2e2e;
139138
color:rgb(220,220,220);
140139
text-align: left;
141-
white-space: nowrap;
142140
}
143141

144-
button {
142+
.pure-button {
145143
background-color:#2e2e2e;
144+
color:rgb(220,220,220);
146145
}
147-
button.selected {
146+
.pure-button.selected {
148147
background-color:rgb(125125125);
149148
}
150149

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp