diff --git a/css/style.css b/css/style.css index e69de29b..745c3e24 100644 --- a/css/style.css +++ b/css/style.css @@ -0,0 +1,93 @@ +body{ + background-color: wheat; + background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxISEhASEg8VFRUVFxUVFRUXFRUQFRUWFRUWFhUVFxUYHSggGBolHRYVITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OGxAQGyslHSUtLy0tLS0rLS0tLS0tLS0tLS0tLS0wLS8tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIANQA7gMBEQACEQEDEQH/xAAcAAACAgMBAQAAAAAAAAAAAAAAAQQFAgMGBwj/xABOEAACAgEBBQQFBwcIBgsAAAABAgADEQQFEhMhMQZBUWEHInGBsRQjMkJSkaFicpKUorLBQ1NUgrPR0tMWMzRkk/AIFyREY3N0g6TCw//EABsBAQADAQEBAQAAAAAAAAAAAAABAgQDBQYH/8QANBEBAAICAQMACAUDBAMBAAAAAAECAxEEEiExBRMyQVFhcZEigaHR8AYUsSMzQuFicsEV/9oADAMBAAIRAxEAPwD28LAygEBQHAIBAUBwCAoDgEAgJoAFgOAsQDMBwCAQFAcAgKA4BAIGBgZwCAQCAoDgKA4BAIBAWIDgKA4BAIBAICgOAoDgEAgEBQHAUBwCAQCAQAwMd3vgZQCAQNb3qOp/jJisyNLa0dwPwl4xyjbWdcfAfGT6uDbE6xvAfj/fJ9XBsxrT4CR6uDbYutHep+Miccm25L1PQ/wlZrMJbZUEAgIwEBiBlAIBAIBAICxAcAgEAgEBQHAICgabdUBy6mWrSZRtDtvZu/3DlOsUiEbapcEBSA5IICgOBsrvZeh93WVmsSbTKdUDyPIzlNJhO2+UScAgKA4BAICzAYgEBQHAUBwFAcAgJjjmYEHUaonkOQ/EztWmvKNo06IECJtPadOnTiX2rWvixwSfBR1Y+QyZGx5p2h9JV9hKaKvgp/PWAPYfNKui+1s+ydqce9vPaP1ZsnKpXx3lQ7H7Q6xNVp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LE42va3eZdq0rXtEA6Sv8Am19wAI9hHSUWYKdw7jHKtndLc8HvUk9eXT2GB636D9vuzX6Fn30RBbTz3jWu9uWVj8jJQgd2T7kpetyAQETABAcAgKA4BAICgOAQCAswAiAZgY9YGQEBwNdlhHdA0m8yUEbT4wMeIfEwPNvSn2a1Wq1Gltope1VqdG3GpBU76sueK68iM9PCRO/cmNe9xw9Hu0W3sad1CqGw7aYmw8StSibthw261jZbl6mO+Nydmwej7X/0W79PS/5kjdk/hH/V9rv6Ld+npP8AMjdj8Lfsz0cat9RpxbVdXUHJsfe0pKrw3xgBmJJbdHQ9Y7z5O0eHpnZzsfRo7Wurstdyhry5r5KWViAERepVeuekmIiPCJnbo98+J++Sg+KfGAC0+MDalx8M+yQlvgEDWa/yjARp/KMBcL8owHwvyjA2KuO+A4BAIBARMDEDMDIQHAIBARA8IGJrHgIC4K+EBcBfCAcAQDgDzgHAEA4A84D4AgI1L4QBaR4QMwo8BAygEAgEAgLEAgOAQCAQCBiFgZQCAoDgEAgKA4BAUBwCAQE0AAgOAsQDMBwCAQFAcAgKA4BARMAgOAQCAQFAcBQHAIBAICMBwEYDEAgEAgEBCA4CEBwCAQCAoDga++Bsgf/Z'); + background-repeat: no-repeat; + background-size: 350px; + background-position-x: 20px; + background-position-y: 200px; + background-attachment: fixed; +} +#header{ + display:block; + background-image: url("http://i.imgur.com/v9bw6xj.png"); + background-repeat: no-repeat; + background-size: 160px; + background-position-x: right; + background-position-y: center; + background-color: lightblue; + border-radius: 20px; + border: 1px solid black; +} +.messageHeader{ + border-top: 1px solid black; + border-left: 1px solid black; + border-right: 1px solid black; + display: flex; + justify-content: space-between; + background-color: whitesmoke; + font-family: 'Press Start 2P', cursive; + font-size: 20px; + margin-left: 25%; +} +.newHead{ + border-top: 1px solid black; + border-left: 1px solid black; + border-right: 1px solid black; + display: flex; + justify-content: space-between; + background-color: whitesmoke; + font-family: 'Press Start 2P', cursive; + font-size: 20px; + margin-left: 25%; +} +.content{ + border-bottom: 1px solid black; + border-left: 1px solid black; + border-right: 1px solid black; + display: block; + margin-bottom: 10px; + background-color: whitesmoke; + font-family: 'Press Start 2P', cursive; + margin-left: 25%; +} +.newContent{ + border-bottom: 1px solid black; + border-left: 1px solid black; + border-right: 1px solid black; + display: block; + margin-bottom: 10px; + background-color: whitesmoke; + font-family: 'Press Start 2P', cursive; + margin-left: 25%; +} +.messageContent{ + display: none; +} +.newMessageContent{ + display: none; +} +#sideImg{ + position: sticky; + left: 0px; + top: 25%; +} +.date{ + flex:2; + margin-right: 20px; +} +.sender{ + flex:1; +} +.subject{ + flex:1; +} +.newdate{ + flex:2; + margin-right: 20px; +} +.newsend{ + flex:1; +} +.newsub{ + flex:1; +} \ No newline at end of file diff --git a/index.html b/index.html index a8a1aad9..cb36bae5 100644 --- a/index.html +++ b/index.html @@ -2,17 +2,140 @@
- + var inbox = window.geemails; + + function showHide2(){ + var newContentMessage = this.querySelectorAll('.newMessageContent')[0]; + if (newContentMessage.style.display === 'block'){ + newContentMessage.style.display = 'none'; + } else { + newContentMessage.style.display = 'block'; + } + } + + var intervalID = setInterval(newMessage, 3000); + + function newMessage(){ + var incoming = getNewMessage(); + newCount++ + newSub = incoming.subject + newSend = incoming.sender + newBod = incoming.body; + newDate = incoming.date + + var newMessageHeader = document.createElement('div'); + newMessageHeader.className = 'newHead'; + document.body.appendChild(newMessageHeader) + + var newDateElem = document.createElement('div'); + newDateElem.className = 'newDate'; + newDateElem.innerHTML = 'Date: ' + newDate; + newMessageHeader.appendChild(newDateElem); + + var newSendElem = document.createElement('div'); + newSendElem.className = 'newSend'; + newSendElem.innerHTML = 'From: ' + newSend; + newMessageHeader.appendChild(newSendElem); + + var newSubElem = document.createElement('div'); + newSubElem.className = 'newSub'; + newSubElem.innerHTML = 'Subject: ' + newSub; + newMessageHeader.appendChild(newSubElem); + + var newContentButton = document.createElement('div'); + newContentButton.className = 'newContent'; + newContentButton.innerHTML = 'Show'; + newContentButton.addEventListener('click', showHide2) + document.body.appendChild(newContentButton); + + var newMessageElem = document.createElement('div'); + newMessageElem.className = 'newMessageContent'; + newContentButton.appendChild(newMessageElem); + + var newBodyElem = document.createElement('div'); + newBodyElem.className = 'newBody'; + newBodyElem.innerHTML = 'Body: ' + newBod; + newMessageElem.appendChild(newBodyElem); + + inboxCounter.innerHTML = 'Inbox: ' + newCount; + console.log(newCount) + stop(); + } + + var pageTitle = document.createElement('title'); + pageTitle.innerHTML = 'Gee-Mail'; + document.body.appendChild(pageTitle) + + var headerBox = document.createElement('h1'); + headerBox.id = 'header'; + headerBox.innerHTML = 'Gee-Mail'; + document.body.appendChild(headerBox); + + for (i=0;i