[enh] start to mockup regular page gallery
This commit is contained in:
parent
5f7147f0b6
commit
3840ea4982
26
materialize/css/style-page.css
Normal file
26
materialize/css/style-page.css
Normal file
@ -0,0 +1,26 @@
|
||||
html {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.full-picture {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
min-height: 250px;
|
||||
}
|
||||
|
||||
.bordered-picture {
|
||||
height: 80%;
|
||||
width: 80%;
|
||||
margin-left: 10%;
|
||||
margin-right: 10%;
|
||||
margin-top: 3em;
|
||||
margin-bottom: 5em;
|
||||
}
|
27
templates/page-example.html
Normal file
27
templates/page-example.html
Normal file
@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta charset="UTF-8">
|
||||
<link type="text/css" rel="stylesheet" href="../materialize/css/style-page.css" media="screen,projection"/>
|
||||
|
||||
<!--Let browser know website is optimized for mobile-->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<section class="full-picture" style="background: transparent url('./1.png') no-repeat scroll center top / cover;">
|
||||
</section>
|
||||
|
||||
<p>pouet</p>
|
||||
|
||||
<section class="full-picture" style="background: transparent url('./1.png') no-repeat scroll center top / cover;">
|
||||
</section>
|
||||
|
||||
<p>pouet</p>
|
||||
|
||||
<img class="bordered-picture" src="./1.png">
|
||||
</section>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user