diff --git a/css/elknernet.css b/css/elknernet.css index 72a2bab..b5d3d31 100644 --- a/css/elknernet.css +++ b/css/elknernet.css @@ -1,87 +1,93 @@ body { color: #000; background-color: #FFF; - margin: 50px; + font-family: 'Ubuntu', sans-serif; } -h1, h2 { - font-family: Arial, sans-serif; -} -a, :visited { +a, a:visited { color: #A70; background-color: #FFF; } img { border: 0; } -p { - text-align: justify; - font-size: 1.2em; -} -blockquote { - margin-top: 40px; - padding: .5em 1em; - border-left: 5px solid #FCE27C; - border-radius: 40px; - background-color: #FAF0D1; - font-size: .8em; -} -blockquote p { - font-style: italic; +header { + display: grid; + grid-template-columns: 25vw auto; + grid-template-rows: auto auto auto auto; */ + margin-left: 5vw; + margin-right: 5vw; +} +header>h1 { + grid-area: 1 / 2 / 2 / 3; + font-size: 3.5vw; + color: #000; + text-shadow: 0.1em 0.1em 0.2em #960; } -blockquote p:first-letter { - float: left; - font-size: 2em; - color: #960; +header>img { + grid-area: 1 / 1 / 3 / 2; + display: block; + width: 20vw; + padding-right: 2vw; +} +header>p { + grid-area: 2 / 2 / 3 / 3; + margin-top: -3vw; + margin-left: 3vw; + margin-right: 3vw; + font-size: 1.4vw; +} +header>div#author { + grid-area: 3 / 2 / 4 / 3; + text-align: right; + margin-right: 9vw; + margin-top: -4vw; + font-weight: bold; + font-style: normal; + font-size: 1.3vw; + color: #630; } -div.split { - clear: both; - width: 100%; +header>nav { + grid-area: 4 / 1 / 5 / 3; + font-size: 1.7vw; + font-weight: bold; + margin-left: 2vw; } -div.left, div.right { - display: table-cell; - width: 50%; - position: relative; +a, a:visited { + text-decoration: none; } -div.left { - float: left; +main { + font-family: 'Ubuntu Condensed', sans-serif; + display: grid; + grid-template-columns: 1fr 1fr; + grid-template-rows: auto; + margin-top: 1vw; } -.author { - font-weight: bold; - font-style: normal; - text-align: right; - margin-top: -5px; - margin-right: 50px; - color: #630; +section { + margin-left: 4vw; } -header { - height: 170px; - width: 100%; - font-family: Arial, sans-serif; +section>h2 { + font-size: 1.6vw; + margin-bottom: 0; } -header h1 { - font-size: 2.5em; - color: #000; - margin-top: 50px; - text-shadow: 0.1em 0.1em 0.2em #960; +section>ul>li { + font-size: 1.1vw; } -header div#logo { - float: right; - margin-left: 50px; +section#papers { + grid-column: span 2; } footer { - margin-top: 50px; - font-size: .6em; + margin-top: 5vw; text-align: center; } -footer p { +footer>p { text-align: center; } -footer a { +footer>a { display: inline; margin-right: 10px; - width: 50px; - padding: 1px; - font-size: 9px; + width: 5vw; + padding: 0.08vw; + font-size: 0.8vw; font-family: Verdana, Geneva, sans-serif; text-decoration: none; text-align: center; @@ -92,18 +98,46 @@ footer a { white-space: nowrap; cursor: pointer; } -footer a strong { +footer>a>strong { font-weight: bold; color: #FFF; background-color: #960; - padding-left: 2px; - margin-right: 5px; + padding-left: 0.2vw; + margin-right: 0.5vw; } -footer a:hover { +footer>a:hover { color: #FFF; background-color: #960; } -footer a:hover strong { +footer a:hover>strong { color: #960; background-color: #DDD; } +p { + text-align: justify; + font-size: 1.2em; +} +blockquote { + margin-top: 40px; + padding: .5em 1em; + border-left: 5px solid #FCE27C; + border-radius: 40px; + background-color: #FAF0D1; + font-size: .8em; +} +blockquote p { + font-style: italic; +} +blockquote p:first-letter { + float: left; + font-size: 2em; + color: #960; +} +.author { + font-weight: bold; + font-style: normal; + text-align: right; + margin-top: -5px; + margin-right: 50px; + color: #630; +} diff --git a/index.html b/index.html index 2fc36db..54f3367 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,9 @@
+ +