Skip to content

Commit 1ad707e

Browse files
committed
Twenty Sixteen: Remove code and checks for obsolete browsers.
Remove IE specific code from Twenty Sixteen. Remove custom IE stylesheet contents, the HTML5 shiv contents (also targeting Safari 4.x and Firefox 3.x), and IE-specific code. Change relevant enqueues to registrations. Props desrosj, sabernhardt, karmatosed, neychok, metodiew, mukesh27, joedolson. See #58836. git-svn-id: https://develop.svn.wordpress.org/trunk@60965 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 895e29e commit 1ad707e

7 files changed

Lines changed: 10 additions & 798 deletions

File tree

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1 @@
1-
/*
2-
Theme Name: Twenty Sixteen
3-
Description: Global Styles for older IE versions (previous to IE10).
4-
*/
5-
6-
.site-header-main:before,
7-
.site-header-main:after,
8-
.site-footer:before,
9-
.site-footer:after {
10-
content: "";
11-
display: table;
12-
}
13-
14-
.site-header-main:after,
15-
.site-footer:after {
16-
clear: both;
17-
}
18-
19-
@media screen and (min-width: 56.875em) {
20-
.site-branding,
21-
.site-info {
22-
float: left;
23-
}
24-
25-
.site-header-menu,
26-
.site-footer .social-navigation {
27-
float: right;
28-
}
29-
30-
.site-footer .social-navigation {
31-
margin-left: 7px;
32-
}
33-
34-
.rtl .site-branding,
35-
.rtl .site-info {
36-
float: right;
37-
}
38-
39-
.rtl .site-header-menu,
40-
.rtl .site-footer .social-navigation {
41-
float: left;
42-
}
43-
44-
.rtl .site-footer .social-navigation {
45-
margin-right: 7px;
46-
margin-left: 0;
47-
}
48-
}
1+
/* This theme does not support Internet Explorer since version 3.7. */
Lines changed: 1 addition & 176 deletions
Original file line numberDiff line numberDiff line change
@@ -1,176 +1 @@
1-
/*
2-
Theme Name: Twenty Sixteen
3-
Description: IE7 specific style.
4-
*/
5-
6-
.site-inner {
7-
max-width: 656px;
8-
}
9-
10-
.post-navigation,
11-
.pagination,
12-
.image-navigation,
13-
.entry-header,
14-
.entry-summary,
15-
.entry-content,
16-
.entry-footer,
17-
.page-header,
18-
.page-content,
19-
.post-thumbnail,
20-
.content-bottom-widgets,
21-
.comments-area {
22-
margin-right: 28px;
23-
margin-left: 28px;
24-
max-width: 100%;
25-
}
26-
27-
.site-header,
28-
.sidebar,
29-
.site-footer,
30-
.widecolumn {
31-
padding-right: 28px;
32-
padding-left: 28px;
33-
}
34-
35-
.search-submit {
36-
height: auto;
37-
margin-top: 28px;
38-
padding: 15px 0 8px;
39-
position: relative;
40-
width: auto;
41-
}
42-
43-
.search-submit .screen-reader-text {
44-
height: auto;
45-
position: relative !important;
46-
width: auto;
47-
}
48-
49-
.image-navigation .nav-previous,
50-
.image-navigation .nav-next,
51-
.comment-navigation .nav-previous,
52-
.comment-navigation .nav-next {
53-
*display: inline;
54-
zoom: 1;
55-
}
56-
57-
.image-navigation .nav-previous + .nav-next,
58-
.comment-navigation .nav-previous + .nav-next {
59-
margin-left: 14px;
60-
}
61-
62-
.pagination .nav-links {
63-
padding: 0;
64-
}
65-
66-
.pagination .page-numbers {
67-
line-height: 1;
68-
margin: -4px 14px 0;
69-
padding: 18px 0;
70-
}
71-
72-
.pagination .prev,
73-
.pagination .next {
74-
display: inline-block;
75-
font-size: 16px;
76-
font-weight: 700;
77-
height: auto;
78-
left: 0;
79-
line-height: 1;
80-
margin: 0;
81-
padding: 18px 14px;
82-
position: relative;
83-
right: 0;
84-
text-transform: none;
85-
width: auto;
86-
}
87-
88-
.dropdown-toggle {
89-
display: none;
90-
}
91-
92-
.main-navigation ul ul {
93-
display: block;
94-
}
95-
96-
.social-navigation {
97-
margin-top: 1.75em;
98-
}
99-
100-
.social-navigation a {
101-
height: auto;
102-
padding: 3px 7px;
103-
width: auto;
104-
}
105-
106-
.social-navigation .screen-reader-text {
107-
height: auto;
108-
position: relative !important;
109-
width: auto;
110-
}
111-
112-
.site-header-main {
113-
overflow : hidden;
114-
zoom : 1;
115-
}
116-
117-
.entry-footer > span {
118-
margin-right: 14px;
119-
}
120-
121-
.site-info .site-title {
122-
font-size: 13px;
123-
margin-right: 14px;
124-
}
125-
126-
.gallery-item {
127-
max-width: 30%;
128-
}
129-
130-
.gallery-columns-1 .gallery-item {
131-
max-width: 100%;
132-
}
133-
134-
.gallery-columns-2 .gallery-item {
135-
max-width: 46%;
136-
}
137-
138-
.gallery-columns-4 .gallery-item {
139-
max-width: 22%;
140-
}
141-
142-
.gallery-columns-5 .gallery-item {
143-
max-width: 17%;
144-
}
145-
146-
.gallery-columns-6 .gallery-item {
147-
max-width: 13.5%;
148-
}
149-
150-
.gallery-columns-7 .gallery-item {
151-
max-width: 11%;
152-
}
153-
154-
.gallery-columns-8 .gallery-item {
155-
max-width: 9.5%;
156-
}
157-
158-
.gallery-columns-9 .gallery-item {
159-
max-width: 8%;
160-
}
161-
162-
.rtl .image-navigation .nav-previous + .nav-next,
163-
.rtl .comment-navigation .nav-previous + .nav-next {
164-
margin-right: 14px;
165-
margin-left: 0;
166-
}
167-
168-
.rtl .entry-footer > span {
169-
margin-right: 14px;
170-
margin-left: 0;
171-
}
172-
173-
.rtl .site-info .site-title {
174-
margin-right: 0;
175-
margin-left: 14px;
176-
}
1+
/* This theme does not support Internet Explorer since version 3.7. */

0 commit comments

Comments
 (0)