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

Commit3bf01a6

Browse files
committed
Responsive navbar and header, header black box lorem lipsum
1 parentc6ee28f commit3bf01a6

File tree

2 files changed

+39
-4
lines changed

2 files changed

+39
-4
lines changed

‎res/styles/styles.css‎

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ nav ul {
3737
flex-direction: row;
3838
align-items: center;
3939
gap:40px;
40-
margin-right:5%;
40+
margin:0;
4141
}
4242

4343
navullia {
@@ -245,6 +245,7 @@ ol {
245245

246246
#search {
247247
position: relative;
248+
margin-right:60px;
248249
}
249250

250251
#search>svg {
@@ -256,4 +257,38 @@ ol {
256257
#search>input {
257258
padding-left:40px;
258259
border-radius:10px;
260+
width:100%;
261+
}
262+
263+
.header {
264+
color: white;
265+
background-color:rgba(0,0,0,0.404);
266+
padding:10px;
267+
}
268+
269+
.headerp {
270+
text-align: justify;
271+
}
272+
273+
@mediaonly screenand (max-width:1000px) {
274+
nav {
275+
justify-content: center;
276+
align-items: center;
277+
flex-direction: column;
278+
gap:30px;
279+
}
280+
281+
navul {
282+
flex-direction: column;
283+
justify-content: center;
284+
align-items: center;
285+
}
286+
287+
header {
288+
height:100vh;
289+
}
290+
291+
.post_container {
292+
width:80%;
293+
}
259294
}

‎src/components/header.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<header>
22
<?phpinclude("navigation.php")?>
3-
<div>
4-
<h2>Write blog easily</h2>
5-
<p>Modern theme for everyone</p>
3+
<div>
4+
<h2>Lorem lipsum dolor sit amet</h2>
5+
<p>Anim aute ex nulla dolor voluptate nostrud tempor est commodo. Minim veniam incididunt ad mollit non commodo culpa labore est. Commodo laboris qui sit occaecat cillum duis ea voluptate. Dolor eu officia sit consequat eu incididunt cillum eiusmod id elit ea aute.</p>
66
</div>
77
</header>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp