Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
noblogs-composer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Model registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Noblogs
noblogs-composer
Commits
85e41280
Commit
85e41280
authored
2 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Oops, committed the wrong file
parent
db5e740d
No related branches found
No related tags found
1 merge request
!267
Twenty Ten Responsive patch
Pipeline
#54240
passed
2 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
patches/themes/themes-twentyten-responsive.patch
+334
-35
334 additions, 35 deletions
patches/themes/themes-twentyten-responsive.patch
with
334 additions
and
35 deletions
patches/themes/themes-twentyten-responsive.patch
+
334
−
35
View file @
85e41280
total 132
drwxr-xr-x 2 ale ale 4096 Jun 5 11:01 ./
drwxr-xr-x 6 ale ale 4096 Apr 30 2022 ../
-rw-r--r-- 1 ale ale 788 Feb 16 2021 0056-Patch-theme-azul.patch
-rw-r--r-- 1 ale ale 1142 Feb 23 2021 0057-Patch-theme-carrington-blog.patch
-rw-r--r-- 1 ale ale 820 Feb 23 2021 0058-Patch-theme-classic.patch
-rw-r--r-- 1 ale ale 1244 Feb 16 2021 0062-Patch-theme-default.patch
-rw-r--r-- 1 ale ale 1380 Feb 16 2021 0063-Patch-theme-disconnected.patch
-rw-r--r-- 1 ale ale 694 Feb 23 2021 0064-Patch-theme-elegant-grunge.patch
-rw-r--r-- 1 ale ale 589 Feb 23 2021 0067-Patch-theme-fresh-editorial.patch
-rw-r--r-- 1 ale ale 551 Feb 23 2021 0069-Patch-theme-gone-fishing.patch
-rw-r--r-- 1 ale ale 1780 Feb 16 2021 0071-Patch-theme-inove.patch
-rw-r--r-- 1 ale ale 808 Feb 23 2021 0073-Patch-theme-mnml.patch
-rw-r--r-- 1 ale ale 571 Feb 23 2021 0077-Patch-theme-ocular-professor.patch
-rw-r--r-- 1 ale ale 1258 Feb 23 2021 0078-Patch-theme-plaintxtblog.patch
-rw-r--r-- 1 ale ale 1091 Feb 23 2021 0079-Patch-theme-primepress.patch
-rw-r--r-- 1 ale ale 878 Feb 23 2021 0080-Patch-theme-rusty-grunge.patch
-rw-r--r-- 1 ale ale 865 Feb 23 2021 0081-Patch-theme-sandbox.patch
-rw-r--r-- 1 ale ale 1167 Feb 16 2021 0083-Patch-theme-simplex.patch
-rw-r--r-- 1 ale ale 652 Feb 23 2021 0084-Patch-theme-tanzaku.patch
-rw-r--r-- 1 ale ale 1163 Feb 23 2021 0085-Patch-theme-the-scenery.patch
-rw-r--r-- 1 ale ale 685 Feb 23 2021 0086-Patch-theme-threattocreativity.patch
-rw-r--r-- 1 ale ale 2173 Feb 23 2021 0089-Patch-theme-veryplaintxt.patch
-rw-r--r-- 1 ale ale 1261 Feb 23 2021 0090-Patch-theme-wp-andreas01.patch
-rw-r--r-- 1 ale ale 719 Aug 25 2021 0165-twentyeleven-footer.patch
-rw-r--r-- 1 ale ale 688 Aug 25 2021 0165-twentythirteen-footer.patch
-rw-r--r-- 1 ale ale 720 Aug 25 2021 0165-twentytwelve-footer.patch
-rw-r--r-- 1 ale ale 746 Aug 25 2021 0187-twentyfifteen.patch
-rw-r--r-- 1 ale ale 781 Aug 25 2021 0187-twentyfourteen.patch
-rw-r--r-- 1 ale ale 770 Aug 25 2021 0187-twentyten.patch
-rw-r--r-- 1 ale ale 924 Feb 17 2021 0223-bliss-footer.patch
-rw-r--r-- 1 ale ale 2237 Feb 17 2021 0223-thematic-footer.patch
-rw-r--r-- 1 ale ale 1188 Jun 23 2022 0223-twentysixteen-footer.patch
-rw-r--r-- 1 ale ale 1086 Feb 16 2021 themes-minimalism.patch
-rw-r--r-- 1 ale ale 0 Jun 5 11:01 themes-twentyten-responsive.patch
diff -urN a/wp-content/themes/twentyten/header.php b/wp-content/themes/twentyten/header.php
--- a/wp-content/themes/twentyten/header.php 2023-03-29 19:20:10.000000000 +0100
+++ b/wp-content/themes/twentyten/header.php 2023-06-05 10:59:42.965905528 +0100
@@ -39,7 +39,9 @@
?>
</title>
<link rel="profile" href="https://gmpg.org/xfn/11" />
-<link rel="stylesheet" type="text/css" media="all" href="<?php echo esc_url( get_stylesheet_uri() ); ?>?ver=20230328" />
+<link rel="stylesheet" type="text/css" media="screen and (min-device-width: 481px)" href="<?php echo esc_url( get_stylesheet_uri() ); ?>?ver=20230328" />
+<link rel="stylesheet" type="text/css" media="only screen and (max-device-width: 480px)" href="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/phone_style.css?ver=20230328" />
+<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' ) ); ?>">
<?php
/*
diff -urN a/wp-content/themes/twentyten/phone_style.css b/wp-content/themes/twentyten/phone_style.css
--- a/wp-content/themes/twentyten/phone_style.css 1970-01-01 01:00:00.000000000 +0100
+++ b/wp-content/themes/twentyten/phone_style.css 2023-06-05 10:55:10.787419661 +0100
@@ -0,0 +1,133 @@
+@import url("style.css");
+
+
+/* landscape */
+@media screen and (min-width: 321px) {
+ #wrapper {
+ margin: 0 auto;
+ width: 90%;
+ width: 400px;
+ overflow: auto;
+ }
+
+ #access,
+ #access .menu-header,
+ div.menu,
+ #colophon,
+ #branding,
+ #main,
+ #footer {
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ #branding {
+ overflow:hidden;
+ }
+
+ #site-title,
+ #site-info,
+ #site-description,
+ #site-generator {
+ width: 100%;
+ clear: left;
+ float: left;
+ margin-top: 0;
+ padding-top:0;
+ margin-bottom: 0;
+ padding-bottom:0;
+ }
+
+
+ #container {
+ float: left;
+ width: 100%;
+ overflow: auto;
+ }
+ #content {
+ width: 99%;
+ margin: 0 0px 0 0px;
+ }
+
+ .alignleft, img.alignleft, .alignright, img.alignright {
+ clear: both;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ float: none;
+ }
+
+ #primary,
+ #secondary {
+ clear: both;
+ float: left;
+ overflow: hidden;
+ width: 99%;
+ }
+}
+
+
+/* portrait */
+@media screen and (max-width: 320px) {
+ #wrapper {
+ margin: 0 auto;
+ width: 300px;
+ overflow: auto;
+ }
+
+ #access,
+ #access .menu-header,
+ div.menu,
+ #colophon,
+ #branding,
+ #main,
+ #footer {
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ #branding {
+ overflow:hidden;
+ }
+
+ #site-title,
+ #site-description,
+ #site-info,
+ #site-generator {
+ width: 100%;
+ clear: left;
+ float: left;
+ margin-top: 0;
+ padding-top:0;
+ margin-bottom: 0;
+ padding-bottom:0;
+ }
+
+
+ #container {
+ float: left;
+ width: 100%;
+ overflow: auto;
+ }
+ #content {
+ width: 99%;
+ margin: 0 0px 0 0px;
+ }
+
+ .alignleft, img.alignleft, .alignright, img.alignright {
+ clear: both;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ float: none;
+ }
+
+ #primary,
+ #secondary {
+ clear: both;
+ float: left;
+ overflow: hidden;
+ width: 99%;
+ }
+}
+
diff -urN a/wp-content/themes/twentyten/style.css b/wp-content/themes/twentyten/style.css
--- a/wp-content/themes/twentyten/style.css 2023-03-29 19:20:10.000000000 +0100
+++ b/wp-content/themes/twentyten/style.css 2023-06-05 11:00:29.532277777 +0100
@@ -1454,3 +1454,179 @@
border: none;
}
}
+
+/*
+Theme Name: Responsive TwentyTen
+Theme URI: http://wordpress.org/
+Description: Responsive child theme for TwentyTen.
+Author: Todd Halfpenny
+Version: 0.1
+Template: twentyten
+Tags: black, blue, white, two-columns, fluid, responsive, custom-header, custom-background, theme-options, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
+*/
+
+#wrapper,
+#access,
+#access .menu-header,
+div.menu,
+#colophon,
+#branding,
+#main,
+#footer {
+ width: 940px;
+}
+
+#access {
+ max-width: 940px;
+}
+
+#main {
+ float:left;
+ }
+
+.entry-content img.size-full {
+ border: 1px solid #333;
+ padding: 5px;
+ -moz-box-shadow: 2px 2px 10px #333;
+ -webkit-box-shadow: 2px 2px 10px #333;
+}
+
+iframe, object, embed{
+ max-width: 100%;
+}
+
+.wp-caption {
+ max-width: 100% !important; /* When images are too wide for containing element, force them to fit. */
+ height: auto; /* Override height to match resized width for correct aspect ratio. */
+}
+
+.wp-caption img {
+ height: auto;
+}
+
+@media screen and (max-width: 1024px) {
+ #wrapper {
+ margin: 20px auto;
+ width: 94%;
+ }
+
+ #access,
+ #access .menu-header,
+ div.menu,
+ #colophon,
+ #branding,
+ #main,
+ #footer {
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ #branding {
+ overflow:hidden;
+ }
+
+ /* added extra lines from the next release of twentyten */
+#content img {
+ max-width: 100%;
+ }
+
+ /*
+ LAYOUT: Two columns
+ DESCRIPTION: Responsive.
+ 940 = 720 + 220
+ 100% = 76.5957447% + 23.40425535%
+ */
+
+ #container {
+ float: left;
+ margin: 0 -25.5319149% 0 0;
+ width: 99%;
+ }
+ #content {
+ width: 68.5957447%;
+ /*margin: 0 29.787234% 0 20px;*/
+ margin: 0 29.787234% 0 20px;
+ }
+ #primary,
+ #secondary {
+ overflow: hidden;
+ width: 23.40425535% /* 200px / 940px */
+ }
+
+ #site-title, #site-info {
+ width:74.4680851% /* 700px / 940px */
+ }
+
+ #footer-widget-area .widget-area,
+ #site-generator,
+ #site-description {
+ width: 23.40425535% /* 200px / 940px */
+ }
+
+}
+
+
+@media screen and (max-width: 660px) {
+ #wrapper {
+ margin: 5px auto;
+ width: 90%;
+ padding: 0 3%;
+ }
+
+ #access,
+ #access .menu-header,
+ div.menu,
+ #colophon,
+ #branding,
+ #main,
+ #footer {
+ margin: 0 auto;
+ width: 100%;
+ }
+
+ #branding {
+ overflow:hidden;
+ }
+
+ #site-title {
+ width: 100%;
+ }
+
+ #container {
+ float: left;
+ width: 100%;
+ overflow: auto;
+ }
+
+ #content {
+ width: 93%;
+ margin: 0 0px 0 0px;
+ }
+
+ .alignleft, img.alignleft, #content img.alignleft, .alignright, img.alignright, #content img.alignright {
+ clear: both;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ float: none;
+ }
+
+ #primary,
+ #secondary {
+ float: left;
+ overflow: hidden;
+ width: 99%;
+ }
+ #secondary {
+ clear: left;
+ }
+
+ #site-generator, #site-description, #site-info, #site-title {
+ clear: left;
+ float: left;
+ width: 95%;
+ padding: 0;
+ margin: 0;
+ }
+
+}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment