Ignore:
Timestamp:
Jan 20, 2019, 12:18:49 PM (8 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
46f871f
Parents:
403e4ed
Message:

Improved website layout

Location:
src/webapp/webserver
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/webserver/css/GnuBoat.css

    r403e4ed r9e4d815  
    11/*
    2     Copyright (C) 2016 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     2    Copyright (C) 2016 - 2019 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
    33
    44    This program is free software: you can redistribute it and/or modify
    … …  
    2222}
    2323
    24 .header h1 img {
     24.leaflet-top {
     25        top: 2.5em;
     26}
     27
     28.map-middle {
     29        right: 50%;
     30}
     31
     32#logo {
    2533        height: auto;
    26         width: 2em;
    27         position: fixed;
    28         right: 0;
    29         top: 0;
    30         margin-right: 0.1em;
    31         margin-top: 0.1em;
     34        width: 6em;
    3235}
    3336
    … …  
    4649        width:    -moz-calc(100vw - 3em);
    4750        width:         calc(100vw - 3em);
    48         height: -webkit-calc(100vh - 10em);
    49         height:    -moz-calc(100vh - 10em);
    50         height:         calc(100vh - 10em);
     51        height: -webkit-calc(100vh - 3em);
     52        height:    -moz-calc(100vh - 3em);
     53        height:         calc(100vh - 3em);
    5154}
    5255
    5356#mapViewport {
    5457        border: 1px solid var(--gnuboat-primary-light);
    55         margin-top: 5em;
    56         margin-left: 1em;
     58        margin-top: 1.5em;
     59        margin-left: 1.5em;
    5760        background-color: white;
    5861}
  • src/webapp/webserver/index.html

    r403e4ed r9e4d815  
    11<!--
    2     Copyright (C) 2016 - 2018 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
     2    Copyright (C) 2016 - 2019 EngSaS - Engineering Solutions and Services Langenbach. All rights reserved.
    33
    44    This program is free software: you can redistribute it and/or modify
    … …  
    8787                        </div>
    8888                        <div id="main">
    89                                 <div class="header">
    90                                         <h1><img src="resources/gnuboat-256-256-transparent.png" /></h1>
    91                                 </div>
    9289                                <!--<div class="content">-->
    9390                                        <a name="map"></a>
    94                                         <div id="mapViewport" class="viewportGeometry"></div>
    95                                 <!--</div>-->
     91                                        <div id="mapViewport" class="viewportGeometry">
     92                                                <div class="leaflet-top map-middle">
     93                                                        <div class="leaflet-control">
     94                                                                <img id="logo" src="resources/gnuboat-256-256-transparent.png" />
     95                                                        </div>
     96                                                </div>
     97                                        </div>
     98                                        <!--</div>-->
    9699                        </div>
    97100        </body>
Note: See TracChangeset for help on using the changeset viewer.